/busybox-1.35.0/examples/udhcp/ |
D | simple.script | 19 echo "Clearing IP addresses on $interface, upping it" 21 ip -4 addr flush dev $interface 22 ip link set dev $interface up 24 ifconfig $interface 0.0.0.0 29 echo "Setting IP address $ip on $interface" 31 ip addr add $ip$NETMASK $BROADCAST dev $interface 33 ifconfig $interface $ip $NETMASK $BROADCAST 38 while route del default gw 0.0.0.0 dev $interface ; do 50 ip route add $i dev $interface 52 route add default gw $i dev $interface metric $((metric++))
|
D | sample.bound | 9 ifconfig $interface $ip $BROADCAST $NETMASK 14 while route del default gw 0.0.0.0 dev $interface 26 ip route add $i dev $interface 28 route add default gw $i dev $interface metric $((metric++))
|
D | sample.renew | 9 ifconfig $interface $ip $BROADCAST $NETMASK 14 while route del default gw 0.0.0.0 dev $interface 26 ip route add $i dev $interface 28 route add default gw $i dev $interface metric $((metric++))
|
D | sample.deconfig | 4 ifconfig $interface 0.0.0.0
|
D | udhcpd.conf | 9 interface eth0
|
/busybox-1.35.0/examples/ |
D | zcip.script | 4 if [ "x$interface" = x ] 23 if [ "x$ip" != x -a -w "$ip.$interface" ] 25 echo $ip > "$ip.$interface" 27 exec ip address add dev $interface \ 35 exec ip address del dev $interface local $ip
|
/busybox-1.35.0/examples/var_service/zcip_if/ |
D | convert2ipconf | 16 test "$interface" || exit 1 21 test "$interface" && echo "if[\$cfg]='$interface'"
|
/busybox-1.35.0/examples/var_service/dhcp_if/ |
D | convert2ipconf | 26 test "$interface" || exit 1 55 test "$interface" && echo "if[\$cfg]='$interface'"
|
D | convert2ntpconf | 26 test "$interface" || exit 1
|
D | run | 21 --interface="$if" \
|
/busybox-1.35.0/networking/udhcp/ |
D | socket.c | 28 int FAST_FUNC udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *mac) in udhcp_read_interface() argument 41 strncpy_IFNAMSIZ(ifr->ifr_name, interface); in udhcp_read_interface() 44 "is interface %s up and configured?", interface) in udhcp_read_interface()
|
D | d6_socket.c | 14 const char *interface, in d6_read_interface() argument 26 if (!ifa->ifa_addr || (strcmp(ifa->ifa_name, interface) != 0)) in d6_read_interface() 82 strncpy_IFNAMSIZ(ifr.ifr_name, interface); in d6_read_interface()
|
D | dhcpc.h | 17 const char *interface; /* The name of the interface to use */ member
|
D | arpping.c | 41 const char *interface, in arpping() argument 82 safe_strncpy(addr.sa_data, interface, sizeof(addr.sa_data)); in arpping()
|
D | dhcpd.h | 21 char *interface; /* interface to use */ member
|
D | Config.src | 58 and forwards these requests to a different interface or DHCP 108 string "Default interface name" 112 The interface that will be used if no other interface is
|
D | d6_common.h | 149 const char *interface,
|
D | common.h | 373 int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *mac) FAST_FUN… 382 const char *interface,
|
D | dhcpc.c | 484 putenvp(xasprintf("interface=%s", client_data.interface)); in fill_envp() 716 client_data.interface); in bcast_or_ucast() 1110 client_data.sockfd = udhcp_listen_socket(/*INADDR_ANY,*/ CLIENT_PORT, client_data.interface); in change_listen_mode() 1235 client_data.interface = CONFIG_UDHCPC_DEFAULT_INTERFACE; in udhcpc_main() 1255 , &client_data.interface, &client_data.pidfile /* i,p */ in udhcpc_main() 1344 if (udhcp_read_interface(client_data.interface, in udhcpc_main() 1433 if (udhcp_read_interface(client_data.interface, in udhcpc_main() 1764 client_data.interface, in udhcpc_main()
|
/busybox-1.35.0/examples/var_service/dhcpd_if/ |
D | udhcpd.conf | 23 interface if
|
/busybox-1.35.0/examples/var_service/dnsmasq/ |
D | dnsmasq.conf | 12 interface=lo
|
/busybox-1.35.0/networking/ |
D | interface.c | 316 struct interface { struct 317 struct interface *next, *prev; argument 345 struct interface *int_list, *int_last; argument 377 static struct interface *add_interface(struct iface_list *ilist, char *name) in add_interface() 379 struct interface *ife, **nextp, *new; in add_interface() 462 static void get_dev_fields(char *bp, struct interface *ife, int procnetdev_vsn) in get_dev_fields() 546 struct interface *ife; in if_readlist_proc() 585 static int if_fetch(struct interface *ife) in if_fetch() 603 offsetof(struct interface, LAST_TO_ZERO) in if_fetch() 604 - offsetof(struct interface, FIRST_TO_ZERO) in if_fetch() [all …]
|
/busybox-1.35.0/examples/var_service/ |
D | README | 102 address on interface named "if". Copy/rename this directory as needed to run 104 of the parent directory as interface name). 113 the interface. This is useful when ifplugd detects that the the link is dead 115 addresses on the interface would make kernel still try to use it. 119 Zeroconf IP service: assigns a 169.254.x.y/16 address to interface "if". 125 Watches link status of interface "if". Downs and ups /var/service/dhcp_if 139 interface "if". 199 850 0:00 udhcpc -vv --foreground --interface=eth0 217 802 0:00 udhcpc -vv -C -o -V --foreground --interface=wlan0
|
/busybox-1.35.0/klibc-utils/ |
D | ipconfig.c.txt | 215 * Heuristic for if this is a reasonable boot interface. 239 //usage: "\n"" -o Stop after one interface is configured" 247 //usage: "\n"" IFACE - configure this interface" 298 //write_option("DEVICE", dev->name); interface=eth0
|
/busybox-1.35.0/docs/ |
D | unit-tests.txt | 18 Unit testing interface can be found in include/bbunit.h.
|