Changeset b9f308a in network-demos
- Timestamp:
- 11/10/99 20:54:17 (24 years ago)
- Branches:
- 4.11, 57a009d5b89e72f488ab655184e6a33bb0fe6b7f, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
- Children:
- 3d7557e
- Parents:
- 2536fb0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
networkconfig.h
r2536fb0 rb9f308a 39 39 #endif 40 40 41 #ifdef RTEMS_USE_LOOPBACK 42 /* 43 * Loopback interface 44 */ 45 extern void rtems_bsdnet_loopattach(); 46 static struct rtems_bsdnet_ifconfig loopback_config = { 47 "lo0", /* name */ 48 rtems_bsdnet_loopattach, /* attach function */ 49 50 NULL, /* link to next interface */ 51 52 "127.0.0.1", /* IP address */ 53 "255.0.0.0", /* IP net mask */ 54 }; 55 #endif 56 41 57 /* 42 58 * Default network interface … … 46 62 RTEMS_BSP_NETWORK_DRIVER_ATTACH, /* attach function */ 47 63 48 NULL, /* link to next interface */ 64 #ifdef RTEMS_USE_LOOPBACK 65 &loopback_config, /* link to next interface */ 66 #else 67 NULL, /* No more interfaces */ 68 #endif 49 69 50 70 #if (defined (RTEMS_USE_BOOTP)) … … 86 106 "XXX.YYY.ZZZ.1", /* Log host */ 87 107 {"XXX.YYY.ZZZ.1" }, /* Name server(s) */ 108 {"XXX.YYY.ZZZ.1" }, /* NTP server(s) */ 88 109 89 110 /* … … 97 118 "192.168.1.2", /* Log host */ 98 119 {"192.168.1.2" }, /* Name server(s) */ 120 {"192.168.1.2" }, /* NTP server(s) */ 99 121 #endif 100 122 #endif /* !RTEMS_USE_BOOTP */
Note: See TracChangeset
for help on using the changeset viewer.