Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 34) sorted by relevance

12

/busybox-1.35.0/examples/udhcp/
Dsimple.script19 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++))
Dsample.bound9 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++))
Dsample.renew9 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++))
Dsample.deconfig4 ifconfig $interface 0.0.0.0
Dudhcpd.conf9 interface eth0
/busybox-1.35.0/examples/
Dzcip.script4 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/
Dconvert2ipconf16 test "$interface" || exit 1
21 test "$interface" && echo "if[\$cfg]='$interface'"
/busybox-1.35.0/examples/var_service/dhcp_if/
Dconvert2ipconf26 test "$interface" || exit 1
55 test "$interface" && echo "if[\$cfg]='$interface'"
Dconvert2ntpconf26 test "$interface" || exit 1
Drun21 --interface="$if" \
/busybox-1.35.0/networking/udhcp/
Dsocket.c28 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()
Dd6_socket.c14 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()
Ddhcpc.h17 const char *interface; /* The name of the interface to use */ member
Darpping.c41 const char *interface, in arpping() argument
82 safe_strncpy(addr.sa_data, interface, sizeof(addr.sa_data)); in arpping()
Ddhcpd.h21 char *interface; /* interface to use */ member
DConfig.src58 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
Dd6_common.h149 const char *interface,
Dcommon.h373 int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *nip, uint8_t *mac) FAST_FUN…
382 const char *interface,
Ddhcpc.c484 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/
Dudhcpd.conf23 interface if
/busybox-1.35.0/examples/var_service/dnsmasq/
Ddnsmasq.conf12 interface=lo
/busybox-1.35.0/networking/
Dinterface.c316 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/
DREADME102 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/
Dipconfig.c.txt215 * 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/
Dunit-tests.txt18 Unit testing interface can be found in include/bbunit.h.

12