diff options
Diffstat (limited to 'cpukit/pppd/example')
-rw-r--r-- | cpukit/pppd/example/netconfig.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/cpukit/pppd/example/netconfig.h b/cpukit/pppd/example/netconfig.h index 6a95cce189..3428288cd2 100644 --- a/cpukit/pppd/example/netconfig.h +++ b/cpukit/pppd/example/netconfig.h @@ -5,16 +5,15 @@ #include <bsp.h> /* external function prototypes */ -extern int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, - int attaching); +extern int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching); /* Default network interface */ static struct rtems_bsdnet_ifconfig netdriver_config = { "ppp0", /* name */ rtems_ppp_driver_attach, /* attach function */ NULL, /* No more interfaces */ - "192.168.2.123", /* IP address */ - "255.255.255.0", /* IP net mask */ + NULL, /* IP address */ + NULL, /* IP net mask */ NULL, /* Driver supplies hardware address */ 0 /* Use default driver parameters */ }; @@ -23,11 +22,11 @@ static struct rtems_bsdnet_ifconfig netdriver_config = { struct rtems_bsdnet_config rtems_bsdnet_config = { &netdriver_config, NULL, - 0, /* Default network task priority */ - 0, /* Default mbuf capacity */ - 0, /* Default mbuf cluster capacity */ - "rtems", /* Host name */ - "xxxyyy.com", /* Domain name */ + 30, /* Default network task priority */ + (256*1024), /* Default mbuf capacity */ + (512*1024), /* Default mbuf cluster capacity */ + 0, /* Host name */ + 0, /* Domain name */ 0, /* Gateway */ 0, /* Log host */ { 0 }, /* Name server(s) */ |