Lines Matching refs:addattr_l
212 addattr_l(&req->n, sizeof(*req), IFLA_VF_MAC, &ivm, sizeof(ivm)); in iplink_parse_vf()
233 addattr_l(&req->n, sizeof(*req), IFLA_VF_VLAN, &ivv, sizeof(ivv)); in iplink_parse_vf()
241 addattr_l(&req->n, sizeof(*req), IFLA_VF_TX_RATE, &ivt, sizeof(ivt)); in iplink_parse_vf()
253 addattr_l(&req->n, sizeof(*req), IFLA_VF_SPOOFCHK, &ivs, sizeof(ivs)); in iplink_parse_vf()
304 addattr_l(&req->n, sizeof(*req), IFLA_ADDRESS, abuf, len); in iplink_parse()
311 addattr_l(&req->n, sizeof(*req), IFLA_BROADCAST, abuf, len); in iplink_parse()
320 addattr_l(&req->n, sizeof(*req), IFLA_TXQLEN, &qlen, 4); in iplink_parse()
327 addattr_l(&req->n, sizeof(*req), IFLA_MTU, &mtu, 4); in iplink_parse()
333 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_FD, &netns, 4); in iplink_parse()
335 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_PID, &netns, 4); in iplink_parse()
401 addattr_l(&req->n, sizeof(*req), IFLA_MASTER, in iplink_parse()
405 addattr_l(&req->n, sizeof(*req), IFLA_MASTER, in iplink_parse()
423 addattr_l(&req->n, sizeof(*req), IFLA_IFALIAS, in iplink_parse()
492 addattr_l(&req.n, sizeof(req), IFLA_GROUP, in iplink_modify()
543 addattr_l(&req.n, sizeof(req), IFLA_LINK, &ifindex, 4); in iplink_modify()
553 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, name, len); in iplink_modify()
558 addattr_l(&req.n, sizeof(req), IFLA_LINKINFO, NULL, 0); in iplink_modify()
559 addattr_l(&req.n, sizeof(req), IFLA_INFO_KIND, type, in iplink_modify()
565 addattr_l(&req.n, sizeof(req), IFLA_INFO_DATA, NULL, 0); in iplink_modify()