/external/iproute2/ip/ |
D | iplink_bond.c | 183 addattr32(n, 1024, IFLA_BOND_ACTIVE_SLAVE, ifindex); in bond_parse_opt() 185 addattr32(n, 1024, IFLA_BOND_ACTIVE_SLAVE, 0); in bond_parse_opt() 190 addattr32(n, 1024, IFLA_BOND_MIIMON, miimon); in bond_parse_opt() 195 addattr32(n, 1024, IFLA_BOND_UPDELAY, updelay); in bond_parse_opt() 200 addattr32(n, 1024, IFLA_BOND_DOWNDELAY, downdelay); in bond_parse_opt() 210 addattr32(n, 1024, IFLA_BOND_ARP_INTERVAL, arp_interval); in bond_parse_opt() 222 addattr32(n, 1024, i, addr); in bond_parse_opt() 233 addattr32(n, 1024, IFLA_BOND_ARP_VALIDATE, arp_validate); in bond_parse_opt() 239 addattr32(n, 1024, IFLA_BOND_ARP_ALL_TARGETS, arp_all_targets); in bond_parse_opt() 245 addattr32(n, 1024, IFLA_BOND_PRIMARY, ifindex); in bond_parse_opt() [all …]
|
D | iplink_bridge.c | 53 addattr32(n, 1024, IFLA_BR_FORWARD_DELAY, val); in bridge_parse_opt() 59 addattr32(n, 1024, IFLA_BR_HELLO_TIME, val); in bridge_parse_opt() 65 addattr32(n, 1024, IFLA_BR_MAX_AGE, val); in bridge_parse_opt() 71 addattr32(n, 1024, IFLA_BR_AGEING_TIME, val); in bridge_parse_opt() 77 addattr32(n, 1024, IFLA_BR_STP_STATE, val); in bridge_parse_opt()
|
D | iprule.c | 382 addattr32(&req.n, sizeof(req), FRA_PRIORITY, pref); in iprule_modify() 398 addattr32(&req.n, sizeof(req), FRA_FWMARK, fwmark); in iprule_modify() 402 addattr32(&req.n, sizeof(req), FRA_FWMASK, fwmask); in iprule_modify() 409 addattr32(&req.n, sizeof(req), FRA_FLOW, realm); in iprule_modify() 420 addattr32(&req.n, sizeof(req), FRA_TABLE, tid); in iprule_modify() 429 addattr32(&req.n, sizeof(req), FRA_SUPPRESS_PREFIXLEN, pl); in iprule_modify() 436 addattr32(&req.n, sizeof(req), FRA_SUPPRESS_IFGROUP, group); in iprule_modify() 448 addattr32(&req.n, sizeof(req), RTA_GATEWAY, get_addr32(*argv)); in iprule_modify() 455 addattr32(&req.n, sizeof(req), FRA_UID_START, uid_start); in iprule_modify() 456 addattr32(&req.n, sizeof(req), FRA_UID_END, uid_end); in iprule_modify() [all …]
|
D | ipl2tp.c | 104 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_tunnel() 105 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_tunnel() 133 addattr32(&req.n, 128, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_tunnel() 146 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_session() 147 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_session() 148 addattr32(&req.n, 1024, L2TP_ATTR_SESSION_ID, p->session_id); in create_session() 149 addattr32(&req.n, 1024, L2TP_ATTR_PEER_SESSION_ID, p->peer_session_id); in create_session() 180 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_session() 181 addattr32(&req.n, 1024, L2TP_ATTR_SESSION_ID, p->session_id); in delete_session() 377 addattr32(&req.n, 128, L2TP_ATTR_CONN_ID, p->config.tunnel_id); in get_session() [all …]
|
D | iplink_vxlan.c | 256 addattr32(n, 1024, IFLA_VXLAN_ID, vni); in vxlan_parse_opt() 272 addattr32(n, 1024, IFLA_VXLAN_LINK, link); in vxlan_parse_opt() 288 addattr32(n, 1024, IFLA_VXLAN_AGEING, 0); in vxlan_parse_opt() 290 addattr32(n, 1024, IFLA_VXLAN_AGEING, age); in vxlan_parse_opt() 292 addattr32(n, 1024, IFLA_VXLAN_LIMIT, maxaddr); in vxlan_parse_opt()
|
D | link_vti6.c | 186 addattr32(n, 1024, IFLA_VTI_IKEY, ikey); in vti6_parse_opt() 187 addattr32(n, 1024, IFLA_VTI_OKEY, okey); in vti6_parse_opt() 191 addattr32(n, 1024, IFLA_VTI_LINK, link); in vti6_parse_opt()
|
D | link_vti.c | 189 addattr32(n, 1024, IFLA_VTI_IKEY, ikey); in vti_parse_opt() 190 addattr32(n, 1024, IFLA_VTI_OKEY, okey); in vti_parse_opt() 194 addattr32(n, 1024, IFLA_VTI_LINK, link); in vti_parse_opt()
|
D | link_iptnl.c | 294 addattr32(n, 1024, IFLA_IPTUN_LINK, link); in iptunnel_parse_opt() 295 addattr32(n, 1024, IFLA_IPTUN_LOCAL, laddr); in iptunnel_parse_opt() 296 addattr32(n, 1024, IFLA_IPTUN_REMOTE, raddr); in iptunnel_parse_opt() 314 addattr32(n, 1024, IFLA_IPTUN_6RD_RELAY_PREFIX, in iptunnel_parse_opt()
|
D | link_ip6tnl.c | 248 addattr32(n, 1024, IFLA_IPTUN_FLOWINFO, flowinfo); in ip6tunnel_parse_opt() 249 addattr32(n, 1024, IFLA_IPTUN_FLAGS, flags); in ip6tunnel_parse_opt() 250 addattr32(n, 1024, IFLA_IPTUN_LINK, link); in ip6tunnel_parse_opt()
|
D | link_gre6.c | 282 addattr32(n, 1024, IFLA_GRE_IKEY, ikey); in gre_parse_opt() 283 addattr32(n, 1024, IFLA_GRE_OKEY, okey); in gre_parse_opt() 289 addattr32(n, 1024, IFLA_GRE_LINK, link); in gre_parse_opt()
|
D | iplink_vrf.c | 42 addattr32(n, 1024, IFLA_VRF_TABLE, table); in vrf_parse_opt()
|
D | ipnetns.c | 80 addattr32(&req.n, 1024, NETNSA_FD, fd); in ipnetns_have_nsid() 114 addattr32(&req.n, 1024, NETNSA_FD, fd); in get_netnsid_from_name() 698 addattr32(&req.n, 1024, NETNSA_FD, fd); in set_netnsid_from_name() 699 addattr32(&req.n, 1024, NETNSA_NSID, nsid); in set_netnsid_from_name()
|
D | link_gre.c | 318 addattr32(n, 1024, IFLA_GRE_IKEY, ikey); in gre_parse_opt() 319 addattr32(n, 1024, IFLA_GRE_OKEY, okey); in gre_parse_opt() 326 addattr32(n, 1024, IFLA_GRE_LINK, link); in gre_parse_opt()
|
D | link_veth.c | 81 addattr32(hdr, 1024, IFLA_GROUP, group); in veth_parse_opt()
|
D | iplink_can.c | 219 addattr32(n, 1024, IFLA_CAN_RESTART, val); in can_parse_opt() 226 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 | iplink_macvlan.c | 83 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_parse_opt()
|
D | iproute.c | 913 addattr32(&req.n, sizeof(req), RTA_EXPIRES, expires*hz); in iproute_modify() 921 addattr32(&req.n, sizeof(req), RTA_PRIORITY, metric); in iproute_modify() 1085 addattr32(&req.n, sizeof(req), RTA_FLOW, realm); in iproute_modify() 1106 addattr32(&req.n, sizeof(req), RTA_TABLE, tid); in iproute_modify() 1176 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_modify() 1640 addattr32(&req.n, sizeof(req), RTA_UID, uid); in iproute_get() 1675 addattr32(&req.n, sizeof(req), RTA_IIF, idx); in iproute_get() 1682 addattr32(&req.n, sizeof(req), RTA_OIF, idx); in iproute_get() 1686 addattr32(&req.n, sizeof(req), RTA_MARK, mark); in iproute_get()
|
/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 | f_bpf.c | 106 addattr32(n, MAX_MSG, TCA_BPF_CLASSID, handle); in bpf_parse_opt() 140 addattr32(n, MAX_MSG, TCA_BPF_FLAGS, bpf_flags); in bpf_parse_opt()
|
D | m_police.c | 302 addattr32(n, MAX_MSG, TCA_POLICE_AVRATE, avrate); in act_parse_police() 304 addattr32(n, MAX_MSG, TCA_POLICE_RESULT, presult); in act_parse_police()
|
D | q_gred.c | 115 addattr32(n, 1024, TCA_GRED_LIMIT, limit); in init_gred() 265 addattr32(n, 1024, TCA_GRED_MAX_P, max_P); in gred_parse_opt()
|
D | f_fw.c | 68 addattr32(n, MAX_MSG, TCA_FW_MASK, mask); in fw_parse_opt()
|
/external/iproute2/bridge/ |
D | fdb.c | 207 addattr32(&req.n, sizeof(req), IFLA_MASTER, br_ifindex); in fdb_show() 360 addattr32(&req.n, sizeof(req), NDA_VNI, vni); in fdb_modify() 362 addattr32(&req.n, sizeof(req), NDA_IFINDEX, via); in fdb_modify()
|