forked from Imagelibrary/rtems
Cherrypick from master 2003-05-27 16:17:31 UTC Ralf Corsepius <ralf.corsepius@rtems.org> '2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>': c/src/tests/samples/pppd/.cvsignore c/src/tests/samples/pppd/Makefile-user c/src/tests/samples/pppd/Makefile.am c/src/tests/samples/pppd/README c/src/tests/samples/pppd/init.c c/src/tests/samples/pppd/netconfig.h c/src/tests/samples/pppd/ppp.conf c/src/tests/samples/pppd/pppd.options c/src/tests/samples/pppd/pppdapp.c c/src/tests/samples/pppd/system.h cpukit/include/rtems/stdint.h
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
|
|
#ifndef NETCONFIG_H_
|
|
#define NETCONFIG_H_
|
|
|
|
#include <bsp.h>
|
|
|
|
/* external function prototypes */
|
|
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 */
|
|
NULL, /* IP address */
|
|
NULL, /* IP net mask */
|
|
NULL, /* Driver supplies hardware address */
|
|
0 /* Use default driver parameters */
|
|
};
|
|
|
|
/* Network configuration */
|
|
struct rtems_bsdnet_config rtems_bsdnet_config = {
|
|
&netdriver_config,
|
|
NULL,
|
|
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) */
|
|
{ 0 }, /* NTP server(s) */
|
|
};
|
|
|
|
#endif
|