/external/iproute2/tc/ |
D | f_flow.c | 165 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()
|
D | q_qfq.c | 71 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()
|
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 | q_gred.c | 257 addattr32(n, 1024, TCA_GRED_MAX_P, max_P); in gred_parse_opt()
|
D | m_action.c | 456 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd()
|
/external/iproute2/ip/ |
D | ipl2tp.c | 108 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 …]
|
D | iprule.c | 285 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()
|
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_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 | iplink_macvtap.c | 53 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvtap_parse_opt()
|
D | iplink_macvlan.c | 56 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_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 | 777 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()
|
D | ipaddrlabel.c | 179 addattr32(&req.n, sizeof(req), IFAL_LABEL, label); in ipaddrlabel_modify()
|
D | iplink.c | 508 addattr32(&req.n, sizeof(req), IFLA_GROUP, group); in iplink_modify()
|
/external/iproute2/include/ |
D | libnetlink.h | 50 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
|
/external/iproute2/lib/ |
D | libnetlink.c | 538 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data) in addattr32() function
|