Searched defs:ifname (Results 1 - 25 of 178) sorted by relevance

12345678

/external/android-clat/
H A Dmtu.c30 * ifname - interface name
32 int getifmtu(const char *ifname) { argument
40 strncpy(if_mtu.ifr_name, ifname, IFNAMSIZ);
H A Dsetif.c33 * 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 Dif_indextoname.cc14 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 Drfkill.h16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
H A Ddriver_none.c53 static void * none_driver_init(void *ctx, const char *ifname) argument
H A Ddriver_ndis.h15 const char *ifname,
28 char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */ member in struct:wpa_driver_ndis_data
H A Ddriver_openbsd.c21 char ifname[IFNAMSIZ + 1]; member in struct:openbsd_driver_data
36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name));
52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name));
71 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name));
94 wpa_driver_openbsd_init(void *ctx, const char *ifname) argument
107 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname));
H A Ddriver_wext.h19 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_wext_data
55 int wpa_driver_wext_set_key(const char *ifname, void *priv, enum wpa_alg alg,
65 const char *ifname);
67 void * wpa_driver_wext_init(void *ctx, const char *ifname);
H A Dlinux_ioctl.c18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) argument
27 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
32 ifname, strerror(errno));
50 ifname, dev_up ? "UP" : "DOWN", strerror(errno));
58 int linux_iface_up(int sock, const char *ifname) argument
67 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
72 ifname, strerror(errno));
80 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) argument
85 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
88 ifname, strerro
103 linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) argument
160 linux_br_add_if(int sock, const char *brname, const char *ifname) argument
182 linux_br_del_if(int sock, const char *brname, const char *ifname) argument
204 linux_br_get(char *brname, const char *ifname) argument
[all...]
/external/wpa_supplicant_8/src/drivers/
H A Drfkill.h16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
H A Ddriver_none.c53 static void * none_driver_init(void *ctx, const char *ifname) argument
H A Ddriver_ndis.h15 const char *ifname,
28 char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */ member in struct:wpa_driver_ndis_data
H A Ddriver_openbsd.c21 char ifname[IFNAMSIZ + 1]; member in struct:openbsd_driver_data
36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name));
52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name));
71 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name));
94 wpa_driver_openbsd_init(void *ctx, const char *ifname) argument
107 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname));
H A Ddriver_wext.h19 char ifname[IFNAMSIZ + 1]; member in struct:wpa_driver_wext_data
55 int wpa_driver_wext_set_key(const char *ifname, void *priv, enum wpa_alg alg,
65 const char *ifname);
67 void * wpa_driver_wext_init(void *ctx, const char *ifname);
H A Dlinux_ioctl.c18 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) argument
27 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
32 ifname, strerror(errno));
50 ifname, dev_up ? "UP" : "DOWN", strerror(errno));
58 int linux_iface_up(int sock, const char *ifname) argument
67 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
72 ifname, strerror(errno));
80 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) argument
85 os_strlcpy(ifr.ifr_name, ifname, IFNAMSIZ);
88 ifname, strerro
103 linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) argument
160 linux_br_add_if(int sock, const char *brname, const char *ifname) argument
182 linux_br_del_if(int sock, const char *brname, const char *ifname) argument
204 linux_br_get(char *brname, const char *ifname) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Drfkill.h16 char ifname[IFNAMSIZ]; member in struct:rfkill_config
H A Ddriver_none.c53 static void * none_driver_init(void *ctx, const char *ifname) argument
H A Ddriver_ndis.h15 const char *ifname,
28 char ifname[100]; /* GUID: {7EE3EFE5-C165-472F-986D-F6FBEDFE8C8D} */ member in struct:wpa_driver_ndis_data
H A Ddriver_openbsd.c21 char ifname[IFNAMSIZ + 1]; member in struct:openbsd_driver_data
36 os_strlcpy(ifr.ifr_name, drv->ifname, sizeof(ifr.ifr_name));
52 os_strlcpy(id.i_name, drv->ifname, sizeof(id.i_name));
71 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, argument
82 os_strlcpy(keyavail.i_name, drv->ifname, sizeof(keyavail.i_name));
94 wpa_driver_openbsd_init(void *ctx, const char *ifname) argument
107 os_strlcpy(drv->ifname, ifname, sizeof(drv->ifname));
/external/dhcpcd/
H A Dif-linux-wireless.c62 int getifssid(const char *ifname, char *ssid);
65 getifssid(const char *ifname, char *ssid) argument
74 strlcpy(iwr.ifr_name, ifname, sizeof(iwr.ifr_name));
87 ifname = ssid;
H A Dplatform-bsd.c71 check_ipv6(const char *ifname) argument
75 if (ifname)
H A Dplatform-linux.c127 check_ipv6(const char *ifname) argument
132 if (ifname == NULL)
133 ifname = "all";
135 snprintf(path, sizeof(path), "%s/%s/accept_ra", prefix, ifname);
139 "%s: not configured to accept IPv6 RAs", ifname);
145 prefix, ifname);
148 "%s: configured as a router, not a host", ifname);
/external/bluetooth/bluedroid/test/suite/support/
H A Dpan.c58 void pan_control_state_changed(btpan_control_state_t state, bt_status_t error, int local_role, const char *ifname) { argument
64 pan_ifname = strdup(ifname);
/external/wpa_supplicant_8/hostapd/src/l2_packet/
H A Dl2_packet_none.c19 char ifname[17]; member in struct:l2_packet_data
68 const char *ifname, const u8 *own_addr, unsigned short protocol,
78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
67 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument
/external/wpa_supplicant_8/src/l2_packet/
H A Dl2_packet_none.c19 char ifname[17]; member in struct:l2_packet_data
68 const char *ifname, const u8 *own_addr, unsigned short protocol,
78 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
67 l2_packet_init( const char *ifname, const u8 *own_addr, unsigned short protocol, void (*rx_callback)(void *ctx, const u8 *src_addr, const u8 *buf, size_t len), void *rx_callback_ctx, int l2_hdr) argument

Completed in 327 milliseconds

12345678