4.115
Last change
on this file since 3a9d9e1 was
eee3bc1,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/29/09 at 06:36:40
|
Add UL suffix to long constants to avoid
implicit integer overflows on 16bit targets.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | |
---|
2 | #ifndef NETCONFIG_H_ |
---|
3 | #define NETCONFIG_H_ |
---|
4 | |
---|
5 | #include <bsp.h> |
---|
6 | |
---|
7 | /* external function prototypes */ |
---|
8 | extern int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching); |
---|
9 | |
---|
10 | /* Default network interface */ |
---|
11 | static struct rtems_bsdnet_ifconfig netdriver_config = { |
---|
12 | "ppp0", /* name */ |
---|
13 | rtems_ppp_driver_attach, /* attach function */ |
---|
14 | NULL, /* No more interfaces */ |
---|
15 | NULL, /* IP address */ |
---|
16 | NULL, /* IP net mask */ |
---|
17 | NULL, /* Driver supplies hardware address */ |
---|
18 | 0 /* Use default driver parameters */ |
---|
19 | }; |
---|
20 | |
---|
21 | /* Network configuration */ |
---|
22 | struct rtems_bsdnet_config rtems_bsdnet_config = { |
---|
23 | &netdriver_config, |
---|
24 | NULL, |
---|
25 | 30, /* Default network task priority */ |
---|
26 | (256UL *1024UL), /* Default mbuf capacity */ |
---|
27 | (512UL *1024UL), /* Default mbuf cluster capacity */ |
---|
28 | 0, /* Host name */ |
---|
29 | 0, /* Domain name */ |
---|
30 | 0, /* Gateway */ |
---|
31 | 0, /* Log host */ |
---|
32 | { 0 }, /* Name server(s) */ |
---|
33 | { 0 }, /* NTP server(s) */ |
---|
34 | }; |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.