Home
last modified time | relevance | path

Searched refs:addattr_nest (Results 1 – 15 of 15) sorted by relevance

/external/iproute2/ip/
Diptoken.c162 afs = addattr_nest(&req.n, sizeof(req), IFLA_AF_SPEC); in iptoken_set()
163 afs6 = addattr_nest(&req.n, sizeof(req), AF_INET6); in iptoken_set()
Diplink.c334 vfinfo = addattr_nest(&req->n, sizeof(*req), IFLA_VF_INFO); in iplink_parse_vf()
390 vfvlanlist = addattr_nest(&req->n, sizeof(*req), in iplink_parse_vf()
713 vflist = addattr_nest(&req->n, sizeof(*req), in iplink_parse()
818 afs = addattr_nest(&req->n, sizeof(*req), IFLA_AF_SPEC); in iplink_parse()
819 afs6 = addattr_nest(&req->n, sizeof(*req), AF_INET6); in iplink_parse()
975 linkinfo = addattr_nest(&req.n, sizeof(req), IFLA_LINKINFO); in iplink_modify()
986 = addattr_nest(&req.n, in iplink_modify()
Diplink_xdp.c34 xdp_attr = addattr_nest(&req->n, sizeof(*req), IFLA_XDP); in xdp_ebpf_cb()
Diplink_macvlan.c134 nmac = addattr_nest(n, 1024, in macvlan_parse_opt()
Dipvrf.c479 linkinfo = addattr_nest(nlh, reqlen, IFLA_LINKINFO); in ipvrf_filter_req()
Diplink_bond.c212 struct rtattr *nest = addattr_nest(n, 1024, in bond_parse_opt()
Dipmacsec.c385 attr_rxsc = addattr_nest(&req.n, MACSEC_BUFLEN, in do_modify_nl()
399 attr_sa = addattr_nest(&req.n, MACSEC_BUFLEN, MACSEC_ATTR_SA_CONFIG); in do_modify_nl()
Dipaddress.c2006 linkinfo = addattr_nest(nlh, reqlen, IFLA_LINKINFO); in iplink_filter_req()
/external/iproute2/testsuite/tools/
Dgenerate_nlmsg.c50 #define NEST(t) addattr_nest(h, buflen, t) in fill_vf_rate_test()
/external/iproute2/bridge/
Dlink.c385 nest = addattr_nest(&req.n, sizeof(req), in brlink_modify()
425 nest = addattr_nest(&req.n, sizeof(req), IFLA_AF_SPEC); in brlink_modify()
Dvlan.c112 afspec = addattr_nest(&req.n, sizeof(req), IFLA_AF_SPEC); in vlan_modify()
/external/iproute2/tc/
Dm_pedit.c593 keys_start = addattr_nest(n, MAX_MSG, TCA_PEDIT_KEYS_EX | NLA_F_NESTED); in pedit_keys_ex_addattr()
598 key_start = addattr_nest(n, MAX_MSG, in pedit_keys_ex_addattr()
Dq_netem.c490 start = addattr_nest(n, 1024, TCA_NETEM_LOSS | NLA_F_NESTED); in netem_parse_opt()
/external/iproute2/include/
Dlibnetlink.h119 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type);
/external/iproute2/lib/
Dlibnetlink.c896 struct rtattr *addattr_nest(struct nlmsghdr *n, int maxlen, int type) in addattr_nest() function
916 addattr_nest(n, maxlen, type); in addattr_nest_compat()