Home
last modified time | relevance | path

Searched refs:vf_mac (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/testsuite/tools/
Dgenerate_nlmsg.c22 struct ifla_vf_mac vf_mac = { in fill_vf_rate_test() local
64 ATTR_L(IFLA_ADDRESS, vf_mac.mac, ETH_ALEN); in fill_vf_rate_test()
71 ATTR_L(IFLA_VF_MAC, &vf_mac, sizeof(vf_mac)); in fill_vf_rate_test()
78 vf_mac.vf = vf_vlan.vf = vf_tx_rate.vf = 1; in fill_vf_rate_test()
82 ATTR_L(IFLA_VF_MAC, &vf_mac, sizeof(vf_mac)); in fill_vf_rate_test()
/external/libnl/lib/route/link/
Dsriov.c376 struct ifla_vf_mac vf_mac; in sriov_fill_vfinfo() local
393 vf_mac.vf = vf_data->vf_index; in sriov_fill_vfinfo()
394 memset(vf_mac.mac, 0, sizeof(vf_mac.mac)); in sriov_fill_vfinfo()
395 memcpy(vf_mac.mac, nl_addr_get_binary_addr(vf_data->vf_lladdr), in sriov_fill_vfinfo()
397 NLA_PUT(msg, IFLA_VF_MAC, sizeof(vf_mac), &vf_mac); in sriov_fill_vfinfo()
/external/iproute2/ip/
Dipaddress.c353 struct ifla_vf_mac *vf_mac; in print_vfinfo() local
366 vf_mac = RTA_DATA(vf[IFLA_VF_MAC]); in print_vfinfo()
370 print_int(PRINT_ANY, "vf", "vf %d ", vf_mac->vf); in print_vfinfo()
372 ll_addr_n2a((unsigned char *) &vf_mac->mac, in print_vfinfo()