/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
atmbr2684.h | 57 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 71 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon47379
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/linux/ |
atmbr2684.h | 50 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 61 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon73957
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/linux/ |
atmbr2684.h | 50 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 61 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon75266
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/linux/ |
atmbr2684.h | 50 char ifname[IFNAMSIZ]; member in struct:atm_newif_br2684 61 char ifname[IFNAMSIZ]; member in union:br2684_if_spec::__anon76574
|
/external/android-clat/ |
setif.c | 30 * ifname - name of interface to change 36 int add_address(const char *ifname, int family, const void *address, int prefixlen, const void *broadcast) { 49 if (!(ifa.ifa_index = if_nametoindex(ifname))) { 95 * ifname - interface name to change 98 int if_up(const char *ifname, int mtu) { 104 if (!(ifi.ifi_index = if_nametoindex(ifname))) {
|
/system/core/libnetutils/ |
ifc_utils.c | 357 char ifname[64]; // Currently, IFNAMSIZ = 16. local 366 rawaddrstr, &prefixlen, ifname) == 3) { 368 if (strcmp(name, ifname)) { 387 ret = ifc_del_address(ifname, addrstr, prefixlen); 389 ALOGE("Deleting address %s/%d on %s: %s", addrstr, prefixlen, ifname, 509 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, 519 rt.rt_dev = (void*) ifname; 567 int ifc_enable(const char *ifname) 572 result = ifc_up(ifname); 578 int ifc_disable(const char *ifname) [all...] |
/external/wpa_supplicant_8/src/ap/ |
vlan_init.c | 477 static void vlan_newlink(char *ifname, struct hostapd_data *hapd) 485 wpa_printf(MSG_DEBUG, "VLAN: vlan_newlink(%s)", ifname); 488 if (os_strcmp(ifname, vlan->ifname) == 0) { 531 if (!br_addif(br_name, ifname)) 534 ifconfig_up(ifname); 543 static void vlan_dellink(char *ifname, struct hostapd_data *hapd) 551 wpa_printf(MSG_DEBUG, "VLAN: vlan_dellink(%s)", ifname); 556 if (os_strcmp(ifname, vlan->ifname) == 0) 636 char ifname[IFNAMSIZ + 1]; local 895 char *ifname, *pos; local [all...] |
preauth_auth.c | 36 char *ifname; member in struct:rsn_preauth_interface 51 "from interface '%s'", piface->ifname); 97 static int rsn_preauth_iface_add(struct hostapd_data *hapd, const char *ifname) 101 wpa_printf(MSG_DEBUG, "RSN pre-auth interface '%s'", ifname); 108 piface->ifname = os_strdup(ifname); 109 if (piface->ifname == NULL) { 113 piface->l2 = l2_packet_init(piface->ifname, NULL, ETH_P_PREAUTH, 126 os_free(piface->ifname); 143 os_free(prev->ifname); [all...] |
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet_winpcap.c | 50 char ifname[100]; member in struct:l2_packet_data 168 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); 169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err); 172 fprintf(stderr, "ifname='%s'\n", l2->ifname); 199 const char *ifname, const u8 *own_addr, unsigned short protocol, 210 if (os_strncmp(ifname, "\\Device\\NPF_", 12) == 0) 211 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); [all...] |
l2_packet_freebsd.c | 38 char ifname[100]; member in struct:l2_packet_data 109 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err); 110 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err); 113 fprintf(stderr, "ifname='%s'\n", l2->ifname); 151 __func__, l2->ifname, strerror(errno)); 228 const char *ifname, const u8 *own_addr, unsigned short protocol, 238 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); [all...] |
l2_packet_linux.c | 21 char ifname[IFNAMSIZ + 1]; member in struct:l2_packet_data 92 const char *ifname, const u8 *own_addr, unsigned short protocol, 104 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname)); 118 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name)); 183 os_strlcpy(ifr.ifr_name, l2->ifname, sizeof(ifr.ifr_name));
|
l2_packet.h | 44 * @ifname: Interface name 60 const char *ifname, const u8 *own_addr, unsigned short protocol,
|
/external/wpa_supplicant_8/src/drivers/ |
driver_roboswitch.c | 58 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_roboswitch_data 211 sep = drv->ifname + os_strlen(drv->ifname); 213 drv->l2 = l2_packet_init(drv->ifname, NULL, ETH_P_ALL, 218 __func__, drv->ifname); 234 return drv->ifname; 347 static void * wpa_driver_roboswitch_init(void *ctx, const char *ifname) 358 /* copy ifname and take a pointer to the second to last character */ 359 sep = drv->ifname + 360 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname)) - 2 [all...] |
driver_macsec_qca.c | 58 char ifname[IFNAMSIZ + 1]; member in struct:macsec_qca_data 127 static int macsec_qca_get_ifflags(const char *ifname, int *flags) 139 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 151 static int macsec_qca_set_ifflags(const char *ifname, int flags) 163 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 176 static int macsec_qca_get_ifstatus(const char *ifname, int *status) 188 os_strlcpy(ifmr.ifm_name, ifname, IFNAMSIZ); 203 static int macsec_qca_multi(const char *ifname, const u8 *addr, int add) 219 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ); 304 static void * macsec_qca_init(void *ctx, const char *ifname) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
dbus-listen-preq.py | 15 print "Usage: %s <ifname>" % sys.argv[0] 49 ifname = sys.argv[1] 51 path = wpas.GetInterface(ifname)
|
wpas-dbus-new-getall.py | 20 ifname = sys.argv[1] 23 path = wpas.GetInterface(ifname)
|
wpas-dbus-new.py | 32 ifname = if_obj.Get(WPAS_DBUS_INTERFACES_INTERFACE, 'Ifname', 34 print ifname 120 ifname = sys.argv[1] 125 path = wpas.GetInterface(ifname) 130 path = wpas.CreateInterface({'Ifname': ifname, 'Driver': 'test'})
|
wpas-test.py | 30 ifname = sys.argv[1] 39 path = wpas.getInterface(ifname) 44 path = wpas.addInterface(ifname, {'driver': dbus.Variant('wext')})
|
wpas-dbus-new-wps.py | 43 print "Missing ifname argument" 66 ifname = sys.argv[1] 68 path = wpas.GetInterface(ifname)
|
/external/wpa_supplicant_8/wpa_supplicant/ |
main_winmain.c | 45 iface->ifname = ""; 57 ifaces[i].ifname == NULL) {
|
/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 139 * ifname -- name of interface 147 getHWaddr(int sock, char const *ifname, unsigned char *hwaddr) 173 !strncmp(ifname, ifr->ifr_name, sizeof(ifr->ifr_name))) { 176 sprintf(buffer, "interface %.16s has more than one ethernet address", ifname); 187 sprintf(buffer, "interface %.16s has no ethernet address", ifname); 263 * ifname -- name of interface 275 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) 324 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 330 sprintf(buffer, "Interface %.16s is not up\n", ifname); 338 getHWaddr(sock, ifname, hwaddr) [all...] |
/hardware/libhardware/include/hardware/ |
bt_pan.h | 44 bt_status_t error, const char* ifname);
|
/external/dhcpcd/ |
if-bsd.c | 115 getifssid(const char *ifname, char *ssid) 128 strlcpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 138 strlcpy(ireq.i_name, ifname, sizeof(ireq.i_name)); 315 char ifname[IF_NAMESIZE]; local 366 memset(ifname, 0, sizeof(ifname)); 367 if (!(if_indextoname(ifm->ifm_index, ifname))) 387 handle_carrier(len, ifm->ifm_flags, ifname); 413 if (!if_indextoname(ifam->ifam_index, ifname)) 429 handle_hwaddr(ifname, hwaddr [all...] |
dhcpcd-run-hooks.in | 10 ifname="$interface$ifsuffix" 14 signature="$signature_base $from $ifname" 16 signature_end="$signature_base_end $from $ifname"
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_connect.py | 58 global ifname 78 def __init__(self,ifname,wpas_dbus_interface,addr, 81 self.ifname = ifname 110 self.path = self.wpas.GetInterface(ifname) 118 {'Ifname': ifname, 'Driver': 'test'})
|