Changeset 04a64b1 in rtems-libbsd
- Timestamp:
- 10/08/14 09:48:02 (9 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- 70fa95a
- Parents:
- 263c947
- git-author:
- Sebastian Huber <sebastian.huber@…> (10/08/14 09:48:02)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (10/08/14 12:59:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuite/include/rtems/bsd/test/default-network-init.h
r263c947 r04a64b1 100 100 } 101 101 102 #ifdef DEFAULT_NETWORK_NO_INTERFACE_0 102 103 static void 103 104 default_network_ifconfig_hwif0(char *ifname) … … 151 152 #endif 152 153 } 154 #endif 153 155 154 156 #ifdef DEFAULT_NETWORK_DHCPCD_ENABLE … … 221 223 { 222 224 rtems_status_code sc; 225 #ifdef DEFAULT_NETWORK_NO_INTERFACE_0 223 226 #ifdef DEFAULT_NETWORK_NO_STATIC_IFCONFIG 224 227 char ifnamebuf[IF_NAMESIZE]; 225 228 #endif 226 229 char *ifname; 230 #endif 227 231 228 232 puts("*** " TEST_NAME " TEST ***"); … … 248 252 rtems_bsd_initialize(); 249 253 254 #ifdef DEFAULT_NETWORK_NO_INTERFACE_0 250 255 #ifdef DEFAULT_NETWORK_NO_STATIC_IFCONFIG 251 256 ifname = if_indextoname(1, &ifnamebuf[0]); … … 254 259 ifname = NET_CFG_INTERFACE_0; 255 260 #endif 261 #endif 256 262 257 263 /* Let the callout timer allocate its resources */ … … 260 266 261 267 default_network_ifconfig_lo0(); 268 #ifdef DEFAULT_NETWORK_NO_INTERFACE_0 262 269 default_network_ifconfig_hwif0(ifname); 263 270 default_network_route_hwif0(ifname); 271 #endif 264 272 default_network_dhcpcd(); 265 273
Note: See TracChangeset
for help on using the changeset viewer.