Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 7 of 7) sorted by relevance

/busybox-1.35.0/networking/
Difupdown.c198 char *iface; member
282 return ifd->iface; in get_var()
285 return ifd->iface; in get_var()
507 if (!if_nametoindex(ifd->iface)) in static_down6()
605 if (!if_nametoindex(ifd->iface)) in static_down()
974 currif->iface = xstrdup(iface_name); in read_interfaces()
999 if ((strcmp(tmp->iface, currif->iface) == 0) in read_interfaces()
1002 bb_error_msg_and_die("duplicate interface \"%s\"", tmp->iface); in read_interfaces()
1008 debug_noise("iface %s %s %s\n", currif->iface, address_family_name, method_name); in read_interfaces()
1121 static void set_environ(struct interface_defn_t *iface, const char *mode, const char *opt) in set_environ() argument
[all …]
Difplugd.c146 const char *iface; member
158 G.iface = "eth0"; \
169 strncpy_IFNAMSIZ(ifreq->ifr_name, G.iface); in set_ifreq_to_ifname()
274 strncpy_IFNAMSIZ(iwrequest.ifr_ifrn.ifrn_name, G.iface); in detect_link_wlan()
328 bb_info_msg("executing '%s %s %s'", G.script_name, G.iface, action); in run_script()
331 argv[1] = (char*) G.iface; in run_script()
417 G.iface, buf, driver_info.driver, driver_info.version); in maybe_up_new_iface()
484 iface_len = strlen(G.iface); in check_existence_through_netlink()
524 && strncmp(G.iface, RTA_DATA(attr), len) == 0 in check_existence_through_netlink()
575 &G.iface, &G.script_name, &G.poll_time, &G.delay_up, in ifplugd_main()
[all …]
Droute.c568 char iface[16], flags[16]; in INET6_displayroutes() local
582 &metric, &refcnt, &use, &iflags, iface); in INET6_displayroutes()
632 addr6, naddr6, flags, metric, refcnt, use, iface); in INET6_displayroutes()
/busybox-1.35.0/examples/var_service/fw/
Drun92 for iface in $devs; do
93 doit ip a f dev "$iface"
94 doit ip r f dev "$iface" root 0/0
/busybox-1.35.0/libbb/
Dxconnect.c50 int FAST_FUNC setsockopt_bindtodevice(int fd, const char *iface) in setsockopt_bindtodevice() argument
54 strncpy_IFNAMSIZ(ifr.ifr_name, iface); in setsockopt_bindtodevice()
62 bb_perror_msg("can't bind to interface %s", iface); in setsockopt_bindtodevice()
67 const char *iface UNUSED_PARAM) in setsockopt_bindtodevice()
/busybox-1.35.0/docs/
Difupdown_design.txt31 "`cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", ifd, exec);
/busybox-1.35.0/include/
Dlibbb.h738 int setsockopt_bindtodevice(int fd, const char *iface) FAST_FUNC;