Home
last modified time | relevance | path

Searched refs:ifreq (Results 1 – 18 of 18) sorted by relevance

/busybox-1.35.0/networking/
Difplugd.c166 static void set_ifreq_to_ifname(struct ifreq *ifreq) in set_ifreq_to_ifname() argument
168 memset(ifreq, 0, sizeof(struct ifreq)); in set_ifreq_to_ifname()
169 strncpy_IFNAMSIZ(ifreq->ifr_name, G.iface); in set_ifreq_to_ifname()
185 char buf[sizeof(struct ifreq)]; in detect_link_mii()
186 struct ifreq *const ifreq = (void *)buf; in detect_link_mii() local
188 struct mii_ioctl_data *mii = (void *)&ifreq->ifr_data; in detect_link_mii()
190 set_ifreq_to_ifname(ifreq); in detect_link_mii()
192 if (network_ioctl(SIOCGMIIPHY, ifreq, "SIOCGMIIPHY") < 0) { in detect_link_mii()
198 if (network_ioctl(SIOCGMIIREG, ifreq, "SIOCGMIIREG") < 0) { in detect_link_mii()
208 char buf[sizeof(struct ifreq)]; in detect_link_priv()
[all …]
Difenslave.c155 struct ifreq mtu, flags, hwaddr;
178 static int ioctl_on_skfd(unsigned request, struct ifreq *ifr) in ioctl_on_skfd()
183 static int set_ifrname_and_do_ioctl(unsigned request, struct ifreq *ifr, const char *ifname) in set_ifrname_and_do_ioctl()
207 struct ifreq ifr; in set_hwaddr()
215 struct ifreq ifr; in set_mtu()
223 struct ifreq ifr; in set_if_flags()
247 struct ifreq ifr; in clear_if_addr()
274 struct ifreq ifr; in set_if_addr()
296 struct ifreq ifr; in change_active()
315 struct ifreq ifr; in enslave()
[all …]
Dtunctl.c64 struct ifreq ifr; in tunctl_main()
146 struct ifreq ifr; in tunctl_main()
Dether-wake.c236 struct ifreq if_hwaddr; in ether_wake_main()
273 struct ifreq ifr; in ether_wake_main()
Dnameif.c256 struct ifreq ifr; in nameif_main()
265 memset(&ifr, 0, sizeof(struct ifreq)); in nameif_main()
Dinterface.c509 struct ifreq *ifr; in if_readconf()
520 ifc.ifc_len = sizeof(struct ifreq) * numreqs; in if_readconf()
524 if (ifc.ifc_len == (int)(sizeof(struct ifreq) * numreqs)) { in if_readconf()
533 for (n = 0; n < ifc.ifc_len; n += sizeof(struct ifreq)) { in if_readconf()
587 struct ifreq ifr; in if_fetch()
Difconfig.c244 #define ifreq_offsetof(x) offsetof(struct ifreq, x)
320 struct ifreq ifr; in ifconfig_main()
Dzcip.c234 struct ifreq ifr; in zcip_main()
Darp.c228 struct ifreq ifr; in arp_getdevhw()
Darping.c83 struct ifreq ifr;
Dbrctl.c670 struct ifreq ifr; in brctl_main()
Droute.c434 struct ifreq ifr; in INET6_setroute()
/busybox-1.35.0/networking/udhcp/
Dsocket.c31 char ifr_buf[sizeof(struct ifreq)]; in udhcp_read_interface()
32 struct ifreq *const ifr = (void *)ifr_buf; in udhcp_read_interface()
Dd6_socket.c78 struct ifreq ifr; in d6_read_interface()
/busybox-1.35.0/networking/libiproute/
Diplink.c75 struct ifreq ifr; in do_chflags()
92 struct ifreq ifr; in do_changename()
105 struct ifreq ifr; in set_qlen()
119 struct ifreq ifr; in set_mtu()
182 struct ifreq ifr; in get_address()
207 static void parse_address(char *dev, int hatype, int halen, char *lla, struct ifreq *ifr) in parse_address()
225 static void set_address(struct ifreq *ifr, int brd) in set_address()
256 struct ifreq ifr0, ifr1; in do_set()
Diptunnel.c72 struct ifreq ifr; in do_ioctl_get_ifindex()
84 struct ifreq ifr; in do_ioctl_get_iftype()
97 struct ifreq ifr; in do_ioctl_get_ifname()
110 struct ifreq ifr; in do_get_ioctl()
125 struct ifreq ifr; in do_add_ioctl()
151 struct ifreq ifr; in do_del_ioctl()
Dipaddress.c93 struct ifreq ifr; in print_queuelen()
/busybox-1.35.0/libbb/
Dxconnect.c53 struct ifreq ifr; in setsockopt_bindtodevice()