Searched refs:ifreq (Results 1 – 18 of 18) sorted by relevance
/busybox-1.35.0/networking/ |
D | ifplugd.c | 166 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 …]
|
D | ifenslave.c | 155 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 …]
|
D | tunctl.c | 64 struct ifreq ifr; in tunctl_main() 146 struct ifreq ifr; in tunctl_main()
|
D | ether-wake.c | 236 struct ifreq if_hwaddr; in ether_wake_main() 273 struct ifreq ifr; in ether_wake_main()
|
D | nameif.c | 256 struct ifreq ifr; in nameif_main() 265 memset(&ifr, 0, sizeof(struct ifreq)); in nameif_main()
|
D | interface.c | 509 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()
|
D | ifconfig.c | 244 #define ifreq_offsetof(x) offsetof(struct ifreq, x) 320 struct ifreq ifr; in ifconfig_main()
|
D | zcip.c | 234 struct ifreq ifr; in zcip_main()
|
D | arp.c | 228 struct ifreq ifr; in arp_getdevhw()
|
D | arping.c | 83 struct ifreq ifr;
|
D | brctl.c | 670 struct ifreq ifr; in brctl_main()
|
D | route.c | 434 struct ifreq ifr; in INET6_setroute()
|
/busybox-1.35.0/networking/udhcp/ |
D | socket.c | 31 char ifr_buf[sizeof(struct ifreq)]; in udhcp_read_interface() 32 struct ifreq *const ifr = (void *)ifr_buf; in udhcp_read_interface()
|
D | d6_socket.c | 78 struct ifreq ifr; in d6_read_interface()
|
/busybox-1.35.0/networking/libiproute/ |
D | iplink.c | 75 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()
|
D | iptunnel.c | 72 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()
|
D | ipaddress.c | 93 struct ifreq ifr; in print_queuelen()
|
/busybox-1.35.0/libbb/ |
D | xconnect.c | 53 struct ifreq ifr; in setsockopt_bindtodevice()
|