source: rtems/c/src/tests/samples/pppd/netconfig.h @ d17d9c81

Last change on this file since d17d9c81 was d17d9c81, checked in by cvs2git <rtems-devel@…>, on May 27, 2003 at 4:17:32 PM

This commit was manufactured by cvs2svn to create branch 'rtems-4-6-branch'.

Cherrypick from master 2003-05-27 16:17:31 UTC Ralf Corsepius <ralf.corsepius@…> '2003-05-27 Ralf Corsepius <corsepiu@…>':

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

  • 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 */
8extern int rtems_ppp_driver_attach(struct rtems_bsdnet_ifconfig *config, int attaching);
9
10/* Default network interface */
11static 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 */
22struct rtems_bsdnet_config rtems_bsdnet_config = {
23  &netdriver_config,
24  NULL,
25  30,                 /* Default network task priority */
26  (256*1024),         /* Default mbuf capacity */
27  (512*1024),         /* 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.