source: rtems/testsuites/samples/pppd/netconfig.h @ 456eab7d

4.115
Last change on this file since 456eab7d was 805360b, checked in by Sebastian Huber <sebastian.huber@…>, on 09/23/14 at 12:20:35

pppd: Fix warnings

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#ifndef NETCONFIG_H_
2#define NETCONFIG_H_
3
4#include <bsp.h>
5#include <rtems/rtemspppd.h>
6
7/* Default network interface */
8static 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 */
19struct 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.