Home
last modified time | relevance | path

Searched defs:ifname (Results 1 – 25 of 207) sorted by relevance

123456789

/third_party/ltp/include/
Dtst_netdevice.h11 #define NETDEV_INDEX_BY_NAME(ifname) \ argument
17 #define NETDEV_SET_STATE(ifname, up) \ argument
28 #define NETDEV_ADD_DEVICE(ifname, devtype) \ argument
33 #define NETDEV_REMOVE_DEVICE(ifname) \ argument
39 #define NETDEV_ADD_ADDRESS(ifname, family, address, prefix, addrlen, flags) \ argument
46 #define NETDEV_ADD_ADDRESS_INET(ifname, address, prefix, flags) \ argument
53 #define NETDEV_REMOVE_ADDRESS(ifname, family, address, addrlen) \ argument
59 #define NETDEV_REMOVE_ADDRESS_INET(ifname, address) \ argument
64 #define NETDEV_CHANGE_NS_FD(ifname, nsfd) \ argument
69 #define NETDEV_CHANGE_NS_PID(ifname, nspid) \ argument
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_helpers.c22 static struct wpa_ctrl * wpa_open_ctrl(const char *ifname) in wpa_open_ctrl()
35 int wpa_command(const char *ifname, const char *cmd) in wpa_command()
61 int wpa_command_resp(const char *ifname, const char *cmd, in wpa_command_resp()
83 struct wpa_ctrl * open_wpa_mon(const char *ifname) in open_wpa_mon()
163 int get_wpa_status(const char *ifname, const char *field, char *obuf, in get_wpa_status()
212 int wait_ip_addr(const char *ifname, int timeout) in wait_ip_addr()
240 int add_network(const char *ifname) in add_network()
250 int set_network(const char *ifname, int id, const char *field, in set_network()
259 int set_network_quoted(const char *ifname, int id, const char *field, in set_network_quoted()
269 int add_cred(const char *ifname) in add_cred()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_helpers.c22 static struct wpa_ctrl * wpa_open_ctrl(const char *ifname) in wpa_open_ctrl()
35 int wpa_command(const char *ifname, const char *cmd) in wpa_command()
61 int wpa_command_resp(const char *ifname, const char *cmd, in wpa_command_resp()
83 struct wpa_ctrl * open_wpa_mon(const char *ifname) in open_wpa_mon()
163 int get_wpa_status(const char *ifname, const char *field, char *obuf, in get_wpa_status()
212 int wait_ip_addr(const char *ifname, int timeout) in wait_ip_addr()
240 int add_network(const char *ifname) in add_network()
250 int set_network(const char *ifname, int id, const char *field, in set_network()
259 int set_network_quoted(const char *ifname, int id, const char *field, in set_network_quoted()
269 int add_cred(const char *ifname) in add_cred()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dlinux_ioctl.c19 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags()
59 int linux_iface_up(int sock, const char *ifname) in linux_iface_up()
81 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) in linux_get_ifhwaddr()
104 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) in linux_set_ifhwaddr()
150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if()
175 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if()
197 int linux_br_get(char *brname, const char *ifname) in linux_br_get()
217 int linux_master_get(char *master_ifname, const char *ifname) in linux_master_get()
Ddriver_wired_common.c33 static int driver_wired_get_ifflags(const char *ifname, int *flags) in driver_wired_get_ifflags()
58 static int driver_wired_set_ifflags(const char *ifname, int flags) in driver_wired_set_ifflags()
83 static int driver_wired_multi(const char *ifname, const u8 *addr, int add) in driver_wired_multi()
191 static int driver_wired_get_ifstatus(const char *ifname, int *status) in driver_wired_get_ifstatus()
220 const char *ifname, void *ctx) in driver_wired_init_common()
Ddriver_openbsd.c21 char ifname[IFNAMSIZ + 1]; member
72 wpa_driver_openbsd_set_key(const char *ifname, void *priv, enum wpa_alg alg, in wpa_driver_openbsd_set_key()
95 wpa_driver_openbsd_init(void *ctx, const char *ifname) in wpa_driver_openbsd_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dlinux_ioctl.c19 int linux_set_iface_flags(int sock, const char *ifname, int dev_up) in linux_set_iface_flags()
59 int linux_iface_up(int sock, const char *ifname) in linux_iface_up()
81 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr) in linux_get_ifhwaddr()
104 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr) in linux_set_ifhwaddr()
150 int linux_br_add_if(int sock, const char *brname, const char *ifname) in linux_br_add_if()
175 int linux_br_del_if(int sock, const char *brname, const char *ifname) in linux_br_del_if()
197 int linux_br_get(char *brname, const char *ifname) in linux_br_get()
217 int linux_master_get(char *master_ifname, const char *ifname) in linux_master_get()
Ddriver_wired_common.c33 static int driver_wired_get_ifflags(const char *ifname, int *flags) in driver_wired_get_ifflags()
58 static int driver_wired_set_ifflags(const char *ifname, int flags) in driver_wired_set_ifflags()
83 static int driver_wired_multi(const char *ifname, const u8 *addr, int add) in driver_wired_multi()
191 static int driver_wired_get_ifstatus(const char *ifname, int *status) in driver_wired_get_ifstatus()
220 const char *ifname, void *ctx) in driver_wired_init_common()
/third_party/ltp/lib/
Dtst_netdevice.c41 const char *ifname) in tst_netdev_index_by_name()
65 const char *ifname, int up) in tst_netdev_set_state()
160 const char *ifname, const char *devtype) in tst_netdev_add_device()
204 const char *ifname) in tst_netdev_remove_device()
239 unsigned int action, unsigned int nl_flags, const char *ifname, in modify_address()
289 const char *ifname, unsigned int family, const void *address, in tst_netdev_add_address()
298 const char *ifname, in_addr_t address, unsigned int prefix, in tst_netdev_add_address_inet()
306 const char *ifname, unsigned int family, const void *address, in tst_netdev_remove_address()
314 const char *ifname, in_addr_t address) in tst_netdev_remove_address_inet()
320 static int change_ns(const char *file, const int lineno, const char *ifname, in change_ns()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/binder/
Dsupplicant.cpp21 android::String16 driver, ifname, confname, bridge_ifname; in CreateInterface() local
84 android::binder::Status Supplicant::RemoveInterface(const std::string &ifname) in RemoveInterface()
103 const std::string &ifname, in GetInterface()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/binder/
Dsupplicant.cpp21 android::String16 driver, ifname, confname, bridge_ifname; in CreateInterface() local
84 android::binder::Status Supplicant::RemoveInterface(const std::string &ifname) in RemoveInterface()
103 const std::string &ifname, in GetInterface()
/third_party/lwip/src/include/lwip/
Dif_api.h61 #define if_indextoname(ifindex, ifname) lwip_if_indextoname(ifindex,ifname) argument
62 #define if_nametoindex(ifname) lwip_if_nametoindex(ifname) argument
/third_party/lwip/src/api/
Dif_api.c61 lwip_if_indextoname(unsigned int ifindex, char *ifname) in lwip_if_indextoname()
86 lwip_if_nametoindex(const char *ifname) in lwip_if_nametoindex()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/binder/fi/w1/wpa_supplicant/
DISupplicant.aidl48 void RemoveInterface(in @utf8InCpp String ifname); in RemoveInterface()
58 IIface GetInterface(in @utf8InCpp String ifname); in GetInterface()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/binder/fi/w1/wpa_supplicant/
DISupplicant.aidl48 void RemoveInterface(in @utf8InCpp String ifname); in RemoveInterface()
58 IIface GetInterface(in @utf8InCpp String ifname); in GetInterface()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-sockets.c202 lws_interface_to_sa(int ipv6, const char *ifname, struct sockaddr_in *addr, in lws_interface_to_sa()
287 lws_plat_ifname_to_hwaddr(int fd, const char *ifname, uint8_t *hwaddr, int len) in lws_plat_ifname_to_hwaddr()
304 lws_plat_if_up(const char *ifname, int fd, int up) in lws_plat_if_up()
312 lws_plat_BINDTODEVICE(lws_sockfd_type fd, const char *ifname) in lws_plat_BINDTODEVICE()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/
Dl2_packet_rtos.c18 char ifname[IFNAMSIZ + 1]; member
88 const char *ifname, const u8 *own_addr, unsigned short protocol, in l2_packet_init()
122 const char *br_ifname, const char *ifname, const u8 *own_addr, in l2_packet_init_bridge()
Dl2_packet_none.c19 char ifname[17]; member
68 const char *ifname, const u8 *own_addr, unsigned short protocol, in l2_packet_init()
95 const char *br_ifname, const char *ifname, const u8 *own_addr, in l2_packet_init_bridge()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
Dl2_packet_rtos.c18 char ifname[IFNAMSIZ + 1]; member
88 const char *ifname, const u8 *own_addr, unsigned short protocol, in l2_packet_init()
122 const char *br_ifname, const char *ifname, const u8 *own_addr, in l2_packet_init_bridge()
Dl2_packet_none.c19 char ifname[17]; member
68 const char *ifname, const u8 *own_addr, unsigned short protocol, in l2_packet_init()
95 const char *br_ifname, const char *ifname, const u8 *own_addr, in l2_packet_init_bridge()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_full.c40 char ifname[IFNAMSIZ + 1]; member
50 static void dyn_iface_get(struct hostapd_data *hapd, const char *ifname, in dyn_iface_get()
87 static int dyn_iface_put(struct hostapd_data *hapd, const char *ifname) in dyn_iface_put()
461 void vlan_newlink(const char *ifname, struct hostapd_data *hapd) in vlan_newlink()
564 void vlan_dellink(const char *ifname, struct hostapd_data *hapd) in vlan_dellink()
641 char ifname[IFNAMSIZ + 1]; in vlan_read_ifnames() local
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_full.c40 char ifname[IFNAMSIZ + 1]; member
50 static void dyn_iface_get(struct hostapd_data *hapd, const char *ifname, in dyn_iface_get()
87 static int dyn_iface_put(struct hostapd_data *hapd, const char *ifname) in dyn_iface_put()
461 void vlan_newlink(const char *ifname, struct hostapd_data *hapd) in vlan_newlink()
564 void vlan_dellink(const char *ifname, struct hostapd_data *hapd) in vlan_dellink()
641 char ifname[IFNAMSIZ + 1]; in vlan_read_ifnames() local
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c290 lws_interface_to_sa(int ipv6, const char *ifname, struct sockaddr_in *addr, in lws_interface_to_sa()
402 lws_plat_ifname_to_hwaddr(int fd, const char *ifname, uint8_t *hwaddr, int len) in lws_plat_ifname_to_hwaddr()
464 lws_plat_if_up(const char *ifname, int fd, int up) in lws_plat_if_up()
496 lws_plat_BINDTODEVICE(lws_sockfd_type fd, const char *ifname) in lws_plat_BINDTODEVICE()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Deapol_test.py23 def __init__(self, ifname): argument
75 def run(ifname, count, no_fast_reauth, res): argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Deapol_test.py23 def __init__(self, ifname): argument
75 def run(ifname, count, no_fast_reauth, res, conf): argument

123456789