/external/iproute2/tc/ |
D | f_flow.c | 164 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()
|
D | m_police.c | 304 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()
|
D | f_fw.c | 68 addattr32(n, MAX_MSG, TCA_FW_MASK, mask); in fw_parse_opt()
|
D | m_action.c | 456 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd()
|
/external/iproute2/ip/ |
D | iprule.c | 272 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()
|
D | link_gre.c | 254 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()
|
D | iplink_macvlan.c | 54 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_parse_opt()
|
D | iplink_can.c | 160 addattr32(n, 1024, IFLA_CAN_RESTART, val); in can_parse_opt() 167 addattr32(n, 1024, IFLA_CAN_RESTART_MS, val); in can_parse_opt()
|
D | ipntable.c | 112 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()
|
D | iproute.c | 737 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()
|
D | ipaddrlabel.c | 185 addattr32(&req.n, sizeof(req), IFAL_LABEL, label); in ipaddrlabel_modify()
|
/external/iproute2/include/ |
D | libnetlink.h | 53 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
|
/external/iproute2/lib/ |
D | libnetlink.c | 528 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32() function
|