Home | History | Annotate | Download | only in ip

Lines Matching defs:vf

226 	struct rtattr *vf[IFLA_VF_MAX+1];
235 parse_rtattr_nested(vf, IFLA_VF_MAX, vfinfo);
237 vf_mac = RTA_DATA(vf[IFLA_VF_MAC]);
238 vf_vlan = RTA_DATA(vf[IFLA_VF_VLAN]);
239 vf_tx_rate = RTA_DATA(vf[IFLA_VF_TX_RATE]);
241 /* Check if the spoof checking vf info type is supported by
244 tmp = (struct rtattr *)((char *)vf[IFLA_VF_TX_RATE] +
245 vf[IFLA_VF_TX_RATE]->rta_len);
250 vf_spoofchk = RTA_DATA(vf[IFLA_VF_SPOOFCHK]);
252 fprintf(fp, "\n vf %d MAC %s", vf_mac->vf,