4.115
Line | |
---|
1 | #ifndef NETCONFIG_H_ |
---|
2 | #define NETCONFIG_H_ |
---|
3 | |
---|
4 | #include <bsp.h> |
---|
5 | #include <rtems/rtemspppd.h> |
---|
6 | |
---|
7 | /* Default network interface */ |
---|
8 | static struct rtems_bsdnet_ifconfig netdriver_config = { |
---|
9 | "ppp0", /* name */ |
---|
10 | rtems_ppp_driver_attach, /* attach function */ |
---|
11 | NULL, /* No more interfaces */ |
---|
12 | NULL, /* IP address */ |
---|
13 | NULL, /* IP net mask */ |
---|
14 | NULL, /* Driver supplies hardware address */ |
---|
15 | 0 /* Use default driver parameters */ |
---|
16 | }; |
---|
17 | |
---|
18 | /* Network configuration */ |
---|
19 | struct rtems_bsdnet_config rtems_bsdnet_config = { |
---|
20 | &netdriver_config, |
---|
21 | NULL, |
---|
22 | 30, /* Default network task priority */ |
---|
23 | (256UL *1024UL), /* Default mbuf capacity */ |
---|
24 | (512UL *1024UL), /* Default mbuf cluster capacity */ |
---|
25 | 0, /* Host name */ |
---|
26 | 0, /* Domain name */ |
---|
27 | 0, /* Gateway */ |
---|
28 | 0, /* Log host */ |
---|
29 | { 0 }, /* Name server(s) */ |
---|
30 | { 0 }, /* NTP server(s) */ |
---|
31 | }; |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.