Searched refs:ifname2 (Results 1 – 5 of 5) sorted by relevance
/third_party/ltp/include/ |
D | tst_netdevice.h | 22 const char *ifname1, const char *ifname2); 23 #define CREATE_VETH_PAIR(ifname1, ifname2) \ argument 24 tst_create_veth_pair(__FILE__, __LINE__, (ifname1), (ifname2))
|
/third_party/ltp/lib/ |
D | tst_netdevice.c | 101 const char *ifname1, const char *ifname2) in tst_create_veth_pair() argument 107 {IFLA_IFNAME, ifname2, strlen(ifname2) + 1, NULL}, in tst_create_veth_pair() 130 if (strlen(ifname2) >= IFNAMSIZ) { in tst_create_veth_pair() 132 "Network device name \"%s\" too long", ifname2); in tst_create_veth_pair() 153 ifname2, tst_strerrno(tst_rtnl_errno)); in tst_create_veth_pair()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_wext.c | 960 char ifname2[IFNAMSIZ + 1]; in wext_check_hostap() local 961 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wext_check_hostap() 962 os_memcpy(ifname2, "wifi", 4); in wext_check_hostap() 963 wpa_driver_wext_alternative_ifindex(drv, ifname2); in wext_check_hostap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_wext.c | 960 char ifname2[IFNAMSIZ + 1]; in wext_check_hostap() local 961 os_strlcpy(ifname2, drv->ifname, sizeof(ifname2)); in wext_check_hostap() 962 os_memcpy(ifname2, "wifi", 4); in wext_check_hostap() 963 wpa_driver_wext_alternative_ifindex(drv, ifname2); in wext_check_hostap()
|
/third_party/ltp/doc/ |
D | network-c-api.txt | 160 - +int CREATE_VETH_PAIR(const char *ifname1, const char *ifname2)+ – Creates a
|