Home
last modified time | relevance | path

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

/external/iproute2/tc/
Df_flow.c165 addattr32(n, 4096, TCA_FLOW_KEYS, keys); in flow_parse_opt()
193 addattr32(n, 4096, TCA_FLOW_RSHIFT, tmp); in flow_parse_opt()
200 addattr32(n, 4096, TCA_FLOW_ADDEND, tmp); in flow_parse_opt()
207 addattr32(n, 4096, TCA_FLOW_DIVISOR, tmp); in flow_parse_opt()
214 addattr32(n, 4096, TCA_FLOW_BASECLASS, tmp); in flow_parse_opt()
221 addattr32(n, 4096, TCA_FLOW_PERTURB, tmp); in flow_parse_opt()
258 addattr32(n, 4096, TCA_FLOW_MODE, mode); in flow_parse_opt()
261 addattr32(n, 4096, TCA_FLOW_MASK, mask); in flow_parse_opt()
262 addattr32(n, 4096, TCA_FLOW_XOR, xor); in flow_parse_opt()
Dq_qfq.c71 addattr32(n, 4096, TCA_QFQ_WEIGHT, tmp); in qfq_parse_class_opt()
77 addattr32(n, 4096, TCA_QFQ_LMAX, tmp); in qfq_parse_class_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()
Dq_gred.c257 addattr32(n, 1024, TCA_GRED_MAX_P, max_P); in gred_parse_opt()
Dm_action.c456 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd()
/external/iproute2/ip/
Dipl2tp.c108 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_tunnel()
109 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_tunnel()
113 addattr32(&req.n, 1024, L2TP_ATTR_IP_SADDR, p->local_ip.s_addr); in create_tunnel()
114 addattr32(&req.n, 1024, L2TP_ATTR_IP_DADDR, p->peer_ip.s_addr); in create_tunnel()
141 addattr32(&req.n, 128, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_tunnel()
164 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_session()
165 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_session()
166 addattr32(&req.n, 1024, L2TP_ATTR_SESSION_ID, p->session_id); in create_session()
167 addattr32(&req.n, 1024, L2TP_ATTR_PEER_SESSION_ID, p->peer_session_id); in create_session()
206 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_session()
[all …]
Diprule.c285 addattr32(&req.n, sizeof(req), FRA_PRIORITY, pref); in iprule_modify()
301 addattr32(&req.n, sizeof(req), FRA_FWMARK, fwmark); in iprule_modify()
305 addattr32(&req.n, sizeof(req), FRA_FWMASK, fwmask); in iprule_modify()
312 addattr32(&req.n, sizeof(req), FRA_FLOW, realm); in iprule_modify()
323 addattr32(&req.n, sizeof(req), FRA_TABLE, tid); in iprule_modify()
337 addattr32(&req.n, sizeof(req), RTA_GATEWAY, get_addr32(*argv)); in iprule_modify()
344 addattr32(&req.n, sizeof(req), FRA_UID_START, uid_start); in iprule_modify()
345 addattr32(&req.n, sizeof(req), FRA_UID_END, uid_end); in iprule_modify()
360 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_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()
Diplink_macvtap.c53 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvtap_parse_opt()
Diplink_macvlan.c56 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_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.c777 addattr32(&req.n, sizeof(req), RTA_PRIORITY, metric); in iproute_modify()
911 addattr32(&req.n, sizeof(req), RTA_FLOW, realm); in iproute_modify()
932 addattr32(&req.n, sizeof(req), RTA_TABLE, tid); in iproute_modify()
977 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_modify()
1411 addattr32(&req.n, sizeof(req), RTA_UID, uid); in iproute_get()
1448 addattr32(&req.n, sizeof(req), RTA_IIF, idx); in iproute_get()
1455 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_get()
1459 addattr32(&req.n, sizeof(req), RTA_MARK, mark); in iproute_get()
Dipaddrlabel.c179 addattr32(&req.n, sizeof(req), IFAL_LABEL, label); in ipaddrlabel_modify()
Diplink.c508 addattr32(&req.n, sizeof(req), IFLA_GROUP, group); in iplink_modify()
/external/iproute2/include/
Dlibnetlink.h50 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
/external/iproute2/lib/
Dlibnetlink.c538 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32() function