/external/android-clat/ |
H A D | mtu.c | 30 * ifname - interface name 32 int getifmtu(const char *ifname) { argument 40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
|
H A D | setif.c | 33 * ifname - name of interface to change 39 int add_address(const char *ifname, int family, const void *address, int prefixlen, const void *broadcast) { argument 52 if (!(ifa.ifa_index = if_nametoindex(ifname))) { 98 * ifname - interface name to change 101 int if_up(const char *ifname, int mtu) { argument 107 if (!(ifi.ifi_index = if_nametoindex(ifname))) { 159 * ifname - name of interface to add the address to 161 int add_anycast_address(int sock, struct in6_addr *addr, const char *ifname) { argument 164 ifindex = if_nametoindex(ifname); 166 logmsg(ANDROID_LOG_ERROR, "%s: unknown ifindex for interface %s", __func__, ifname); [all...] |
/external/compiler-rt/test/msan/ |
H A D | if_indextoname.cc | 14 char ifname[IF_NAMESIZE + 1]; local 15 assert(0 == __msan_test_shadow(ifname, sizeof(ifname))); 16 if (!if_indextoname(1, ifname)) { 21 assert(strlen(ifname) + 1 <= __msan_test_shadow(ifname, sizeof(ifname)));
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | rfkill.h | 16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
|
H A D | driver_none.c | 53 static void * none_driver_init(void *ctx, const char *ifname) argument
|
H A D | driver_ndis.h | 15 const char *ifname, 28 char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */ member in struct:wpa_driver_ndis_data
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | rfkill.h | 16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
|
H A D | driver_none.c | 53 static void * none_driver_init(void *ctx, const char *ifname) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | rfkill.h | 16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
|
H A D | driver_none.c | 53 static void * none_driver_init(void *ctx, const char *ifname) argument
|
/external/dhcpcd-6.8.2/ |
H A D | if-linux-wext.c | 62 int if_getssid_wext(const char *ifname, uint8_t *ssid); 65 if_getssid_wext(const char *ifname, uint8_t *ssid) argument 74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name)); 87 ifname = ssid;
|
H A D | dev.c | 40 dev_initialized(struct dhcpcd_ctx *ctx, const char *ifname) argument 45 return ctx->dev->initialized(ifname);
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | vlan_ifconfig.c | 66 int iface_exists(const char *ifname) argument 68 return if_nametoindex(ifname);
|
H A D | vlan_init.c | 32 vlan->ifname); 36 if (!iface_exists(vlan->ifname)) 37 ret = hostapd_vlan_if_add(hapd, vlan->ifname); 46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */ 57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname); 60 if (hostapd_vlan_if_remove(hapd, vlan->ifname)) 61 wpa_printf(MSG_ERROR, "Removal of %s failed", vlan->ifname); 77 return hostapd_vlan_if_remove(hapd, vlan->ifname); 89 vlan->ifname, strerror(errno)); 93 vlan_newlink(vlan->ifname, hap 179 char ifname[IFNAMSIZ + 1], *pos; local [all...] |
/external/wpa_supplicant_8/src/ap/ |
H A D | vlan_ifconfig.c | 66 int iface_exists(const char *ifname) argument 68 return if_nametoindex(ifname);
|
H A D | vlan_init.c | 32 vlan->ifname); 36 if (!iface_exists(vlan->ifname)) 37 ret = hostapd_vlan_if_add(hapd, vlan->ifname); 46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */ 57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname); 60 if (hostapd_vlan_if_remove(hapd, vlan->ifname)) 61 wpa_printf(MSG_ERROR, "Removal of %s failed", vlan->ifname); 77 return hostapd_vlan_if_remove(hapd, vlan->ifname); 89 vlan->ifname, strerror(errno)); 93 vlan_newlink(vlan->ifname, hap 179 char ifname[IFNAMSIZ + 1], *pos; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | vlan_ifconfig.c | 66 int iface_exists(const char *ifname) argument 68 return if_nametoindex(ifname);
|
H A D | vlan_init.c | 32 vlan->ifname); 36 if (!iface_exists(vlan->ifname)) 37 ret = hostapd_vlan_if_add(hapd, vlan->ifname); 46 ifconfig_up(vlan->ifname); /* else wpa group will fail fatal */ 57 wpa_printf(MSG_ERROR, "WPA deinit of %s failed", vlan->ifname); 60 if (hostapd_vlan_if_remove(hapd, vlan->ifname)) 61 wpa_printf(MSG_ERROR, "Removal of %s failed", vlan->ifname); 77 return hostapd_vlan_if_remove(hapd, vlan->ifname); 89 vlan->ifname, strerror(errno)); 93 vlan_newlink(vlan->ifname, hap 179 char ifname[IFNAMSIZ + 1], *pos; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/binder/ |
H A D | supplicant.cpp | 25 android::String16 driver, ifname, confname, bridge_ifname; local 28 if (!params.getString(android::String16("Ifname"), &ifname)) 42 android::String8(ifname).string()) != NULL) 53 iface.ifname = os_strdup(android::String8(ifname).string()); 78 os_free((void *) iface.ifname); 85 android::binder::Status Supplicant::RemoveInterface(const std::string &ifname) argument 89 wpa_s = wpa_supplicant_get_iface(wpa_global_, ifname.c_str()); 103 const std::string &ifname, 108 wpa_s = wpa_supplicant_get_iface(wpa_global_, ifname 102 GetInterface( const std::string &ifname, android::sp<fi::w1::wpa_supplicant::IIface> *aidl_return) argument [all...] |
/external/dhcpcd-6.8.2/dev/ |
H A D | udev.c | 57 udev_initialized(const char *ifname) argument 62 device = udev_device_new_from_subsystem_sysname(udev, "net", ifname); 79 const char *subsystem, *ifname, *action; local 88 ifname = udev_device_get_sysname(device); 93 syslog(LOG_DEBUG, "%s: libudev: %s", ifname, action); 95 dhcpcd.handle_interface(ctx, 1, ifname); 97 dhcpcd.handle_interface(ctx, -1, ifname);
|
/external/strace/ |
H A D | sock.c | 60 print_ifname(const char *ifname) argument 62 print_quoted_string(ifname, IFNAMSIZ + 1, QUOTE_0_TERMINATED);
|
/external/wpa_supplicant_8/hostapd/src/fst/ |
H A D | fst_iface.c | 15 struct fst_iface * fst_iface_create(struct fst_group *g, const char *ifname, argument 25 ifname); 32 os_strlcpy(i->ifname, ifname, sizeof(i->ifname));
|
/external/wpa_supplicant_8/src/fst/ |
H A D | fst_iface.c | 15 struct fst_iface * fst_iface_create(struct fst_group *g, const char *ifname, argument 25 ifname); 32 os_strlcpy(i->ifname, ifname, sizeof(i->ifname));
|
/external/wpa_supplicant_8/wpa_supplicant/src/fst/ |
H A D | fst_iface.c | 15 struct fst_iface * fst_iface_create(struct fst_group *g, const char *ifname, argument 25 ifname); 32 os_strlcpy(i->ifname, ifname, sizeof(i->ifname));
|
/external/ppp/pppd/plugins/rp-pppoe/ |
H A D | if.c | 87 * ifname -- name of interface 96 openInterface(char const *ifname, UINT16_t type, unsigned char *hwaddr) argument 136 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 138 error("Can't get hardware address for %s: %m", ifname); 145 warn("Interface %.16s is not Ethernet", ifname); 150 ifname); 155 strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); 157 error("Can't get MTU for %s: %m", ifname); 160 ifname, ifr.ifr_mtu, ETH_DATA_LEN); 169 strncpy(ifr.ifr_name, ifname, sizeo [all...] |