Home
last modified time | relevance | path

Searched refs:addattr32 (Results 1 – 13 of 13) sorted by relevance

/external/iproute2/tc/
Df_flow.c164 addattr32(n, 4096, TCA_FLOW_KEYS, keys); in flow_parse_opt()
192 addattr32(n, 4096, TCA_FLOW_RSHIFT, tmp); in flow_parse_opt()
199 addattr32(n, 4096, TCA_FLOW_ADDEND, tmp); in flow_parse_opt()
206 addattr32(n, 4096, TCA_FLOW_DIVISOR, tmp); in flow_parse_opt()
213 addattr32(n, 4096, TCA_FLOW_BASECLASS, tmp); in flow_parse_opt()
220 addattr32(n, 4096, TCA_FLOW_PERTURB, tmp); in flow_parse_opt()
257 addattr32(n, 4096, TCA_FLOW_MODE, mode); in flow_parse_opt()
260 addattr32(n, 4096, TCA_FLOW_MASK, mask); in flow_parse_opt()
261 addattr32(n, 4096, TCA_FLOW_XOR, xor); in flow_parse_opt()
Dm_police.c304 addattr32(n, MAX_MSG, TCA_POLICE_AVRATE, avrate); in act_parse_police()
306 addattr32(n, MAX_MSG, TCA_POLICE_RESULT, presult); in act_parse_police()
Df_fw.c68 addattr32(n, MAX_MSG, TCA_FW_MASK, mask); in fw_parse_opt()
Dm_action.c456 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd()
/external/iproute2/ip/
Diprule.c272 addattr32(&req.n, sizeof(req), FRA_PRIORITY, pref); in iprule_modify()
288 addattr32(&req.n, sizeof(req), FRA_FWMARK, fwmark); in iprule_modify()
292 addattr32(&req.n, sizeof(req), FRA_FWMASK, fwmask); in iprule_modify()
299 addattr32(&req.n, sizeof(req), FRA_FLOW, realm); in iprule_modify()
310 addattr32(&req.n, sizeof(req), FRA_TABLE, tid); in iprule_modify()
324 addattr32(&req.n, sizeof(req), RTA_GATEWAY, get_addr32(*argv)); in iprule_modify()
340 addattr32(&req.n, sizeof(req), FRA_GOTO, target); in iprule_modify()
Dlink_gre.c254 addattr32(n, 1024, IFLA_GRE_IKEY, ikey); in gre_parse_opt()
255 addattr32(n, 1024, IFLA_GRE_OKEY, okey); in gre_parse_opt()
262 addattr32(n, 1024, IFLA_GRE_LINK, link); in gre_parse_opt()
Diplink_macvlan.c54 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_parse_opt()
Diplink_can.c160 addattr32(n, 1024, IFLA_CAN_RESTART, val); in can_parse_opt()
167 addattr32(n, 1024, IFLA_CAN_RESTART_MS, val); in can_parse_opt()
Dipntable.c112 addattr32(&req.n, sizeof(req), NDTA_THRESH1, thresh1); in ipntable_modify()
122 addattr32(&req.n, sizeof(req), NDTA_THRESH2, thresh2); in ipntable_modify()
132 addattr32(&req.n, sizeof(req), NDTA_THRESH3, thresh3); in ipntable_modify()
Diproute.c737 addattr32(&req.n, sizeof(req), RTA_PRIORITY, metric); in iproute_modify()
877 addattr32(&req.n, sizeof(req), RTA_FLOW, realm); in iproute_modify()
899 addattr32(&req.n, sizeof(req), RTA_TABLE, tid); in iproute_modify()
945 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_modify()
1366 addattr32(&req.n, sizeof(req), RTA_IIF, idx); in iproute_get()
1373 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_get()
Dipaddrlabel.c185 addattr32(&req.n, sizeof(req), IFAL_LABEL, label); in ipaddrlabel_modify()
/external/iproute2/include/
Dlibnetlink.h53 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
/external/iproute2/lib/
Dlibnetlink.c528 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32() function