/external/libpcap/ |
D | fad-gifc.c | 211 strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name)); in scan_proc_net_dev() 217 (int)sizeof(ifrflags.ifr_name), in scan_proc_net_dev() 218 ifrflags.ifr_name, in scan_proc_net_dev() 326 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs() 346 n = SA_LEN(&ifrp->ifr_addr) + sizeof(ifrp->ifr_name); in pcap_findalldevs() 363 if (!(*ifrp->ifr_name)) in pcap_findalldevs() 371 if (strncmp(ifrp->ifr_name, "dummy", 5) == 0) in pcap_findalldevs() 378 strncpy(ifrflags.ifr_name, ifrp->ifr_name, in pcap_findalldevs() 379 sizeof(ifrflags.ifr_name)); in pcap_findalldevs() 385 (int)sizeof(ifrflags.ifr_name), in pcap_findalldevs() [all …]
|
D | pcap-snit.c | 334 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); in pcap_open_live() 335 ifr.ifr_name[sizeof(ifr.ifr_name) - 1] = '\0'; in pcap_open_live() 341 ifr.ifr_name, pcap_strerror(errno)); in pcap_open_live()
|
D | pcap-linux.c | 1614 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); in iface_get_id() 1716 strncpy(ifr.ifr_name, handle->md.device, sizeof(ifr.ifr_name)); in pcap_close_linux() 1832 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); in live_open_old() 1949 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); in iface_get_mtu() 1969 strncpy(ifr.ifr_name, device, sizeof(ifr.ifr_name)); in iface_get_arptype()
|
/external/iproute2/ip/ |
D | tunnel.c | 72 strncpy(ifr.ifr_name, dev, IFNAMSIZ); in tnl_ioctl_get_ifindex() 89 strncpy(ifr.ifr_name, dev, IFNAMSIZ); in tnl_ioctl_get_iftype() 115 return ifr.ifr_name; in tnl_ioctl_get_ifname() 124 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); in tnl_get_ioctl() 141 strncpy(ifr.ifr_name, name, IFNAMSIZ); in tnl_add_ioctl() 143 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); in tnl_add_ioctl() 160 strncpy(ifr.ifr_name, name, IFNAMSIZ); in tnl_del_ioctl() 162 strncpy(ifr.ifr_name, basedev, IFNAMSIZ); in tnl_del_ioctl() 178 strncpy(ifr.ifr_name, name, IFNAMSIZ); in tnl_gen_ioctl()
|
D | iptuntap.c | 173 strncpy(ifr->ifr_name, *argv, IFNAMSIZ-1); in parse_args() 179 if (ifr->ifr_name[0]) in parse_args() 181 strncpy(ifr->ifr_name, *argv, IFNAMSIZ); in parse_args()
|
/external/dhcpcd/ |
D | net.c | 191 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in init_interface() 211 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in init_interface() 260 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in carrier_status() 263 if ((p = strchr(ifr.ifr_name, ':'))) in carrier_status() 294 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in up_interface() 297 if ((p = strchr(ifr.ifr_name, ':'))) in up_interface() 556 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in do_mtu() 595 strlcpy(ifr.ifr_name, iface->name, sizeof(ifr.ifr_name)); in open_udp_socket() 597 p = strchr(ifr.ifr_name, ':'); in open_udp_socket()
|
D | if-linux-wireless.c | 73 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name)); in getifssid()
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 32 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_iface_flags() 65 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_get_ifhwaddr() 88 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in linux_set_ifhwaddr() 150 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_add_if() 172 os_strlcpy(ifr.ifr_name, brname, IFNAMSIZ); in linux_br_del_if()
|
D | driver_wired.c | 227 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 253 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name)); in wired_init_sockets() 427 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifflags() 451 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_set_ifflags() 479 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_multi()
|
D | driver_wext.c | 61 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 91 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 116 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() 145 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_ssid() 187 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_ssid() 229 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_freq() 1026 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_scan() 1081 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_giwscan() 1542 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_range() 1618 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_psk() [all …]
|
/external/ppp/pppd/ |
D | sys-linux.c | 1163 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_set_mtu() 1179 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in netif_get_mtu() 1774 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name)); in get_ether_addr() 1807 strlcpy(name, bestifreq.ifr_name, namelen); in get_ether_addr() 1820 error("SIOCGIFHWADDR(%s): %m", bestifreq.ifr_name); in get_ether_addr() 1845 strlcpy(ifreq.ifr_name, name, sizeof(ifreq.ifr_name)); in get_if_hwaddr() 1915 strlcpy(ifreq.ifr_name, ifr->ifr_name, sizeof(ifreq.ifr_name)); in GetMask() 2065 strlcpy (ifr.ifr_name, "ppp0", sizeof (ifr.ifr_name)); in ppp_available() 2074 strlcpy (ifr.ifr_name, "ppp0", sizeof (ifr.ifr_name)); in ppp_available() 2247 strlcpy(ifr.ifr_name, ifname, sizeof (ifr.ifr_name)); in sifup() [all …]
|
D | sys-solaris.c | 433 if (strchr(pifreq->ifr_name, ':') != NULL) in get_first_ethernet() 437 strncpy(ifr.ifr_name, pifreq->ifr_name, sizeof(ifr.ifr_name)); in get_first_ethernet() 457 strncpy(first_ether_name, ifr.ifr_name, sizeof(first_ether_name)); in get_first_ethernet() 702 sprintf(ifr.ifr_name, "%s", ifname); in sys_init() 758 slprintf(ifr.ifr_name, sizeof(ifr.ifr_name), PPP_DRV_NAME "%d", ifunit); in sys_init() 761 fatal("Can't set interface name %s: %m", ifr.ifr_name); in sys_init() 798 sprintf(ifr.ifr_name, "%s", ifname); in sys_cleanup() 1512 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 1515 error("Couldn't set IP MTU (%s): %m", ifr.ifr_name); 1528 error("Couldn't set IPv6 MTU (%s): %m", ifr.ifr_name); [all …]
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 162 ifreq.ifr_name[0] = '\0'; in getHWaddr() 165 i += sizeof(ifr->ifr_name) + in getHWaddr() 173 !strncmp(ifname, ifr->ifr_name, sizeof(ifr->ifr_name))) { in getHWaddr() 324 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface() 343 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface() 388 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface() 456 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface() 478 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface() 494 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in openInterface()
|
D | plugin.c | 202 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in PPPOESendConfig() 301 strncpy(ifr.ifr_name, cmd, sizeof(ifr.ifr_name)); in PPPoEDevnameHook()
|
/external/strace/ |
D | sock.c | 154 tprintf(", {ifr_name=\"%s\", ???}", ifr.ifr_name); 157 ifr.ifr_ifindex, ifr.ifr_name); 159 tprintf(", {ifr_name=\"%s\", ", ifr.ifr_name); 229 ifra[i].ifr_name);
|
/external/wpa_supplicant/ |
D | l2_packet_linux.c | 118 os_strncpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init() 178 os_strncpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr()
|
D | driver_wired.c | 69 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifflags() 93 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_set_ifflags() 117 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_multi()
|
D | driver_wext.c | 160 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 190 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 215 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() 244 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_ssid() 286 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_ssid() 328 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_freq() 905 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wext_get_ifflags_ifname() 933 os_strncpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wext_set_ifflags_ifname() 1143 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 1267 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/l2_packet/ |
D | l2_packet_linux.c | 119 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init() 180 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_linux.c | 124 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_init() 189 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); in l2_packet_get_ip_addr()
|
/external/ppp/pppd/include/net/ |
D | if_ppp.h | 102 char ifr_name[IFNAMSIZ]; member 107 char ifr_name[IFNAMSIZ]; member
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 55 os_strlcpy(ifr.ifr_name, if_name, IFNAMSIZ); in ifconfig_helper() 137 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_delif() 188 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_addif() 277 os_strlcpy(ifr.ifr_name, br_name, IFNAMSIZ); in br_addbr() 316 os_strlcpy(ifr.ifr_name, br_name, sizeof(ifr.ifr_name)); in br_getnumports()
|
/external/bluetooth/bluez/network/ |
D | common.c | 198 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1); in bnep_if_up() 223 strncpy(ifr.ifr_name, devname, IF_NAMESIZE - 1); in bnep_if_down() 254 strncpy(ifr.ifr_name, bridge, IFNAMSIZ - 1); in bnep_add_to_bridge()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_wext.c | 112 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_auth_param() 142 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_bssid() 167 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_bssid() 196 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_get_ssid() 238 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_ssid() 280 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); in wpa_driver_wext_set_freq() 869 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wext_get_ifflags_ifname() 897 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wext_set_ifflags_ifname() 1153 os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); 1253 os_strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); [all …]
|
D | driver_wired.c | 68 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_get_ifflags() 92 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_set_ifflags() 116 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); in wpa_driver_wired_multi()
|