source: rtems/testsuites/samples/pppd/netconfig.h @ 9b4422a2

4.11
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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