/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() 223 addattr32(n, 1024, i, addr); in bond_parse_opt() 234 addattr32(n, 1024, IFLA_BOND_ARP_VALIDATE, arp_validate); in bond_parse_opt() 240 addattr32(n, 1024, IFLA_BOND_ARP_ALL_TARGETS, arp_all_targets); in bond_parse_opt() 246 addattr32(n, 1024, IFLA_BOND_PRIMARY, ifindex); in bond_parse_opt() [all …]
|
D | ipl2tp.c | 106 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_tunnel() 107 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_tunnel() 143 addattr32(&req.n, 128, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_tunnel() 156 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in create_session() 157 addattr32(&req.n, 1024, L2TP_ATTR_PEER_CONN_ID, p->peer_tunnel_id); in create_session() 158 addattr32(&req.n, 1024, L2TP_ATTR_SESSION_ID, p->session_id); in create_session() 159 addattr32(&req.n, 1024, L2TP_ATTR_PEER_SESSION_ID, p->peer_session_id); in create_session() 199 addattr32(&req.n, 1024, L2TP_ATTR_CONN_ID, p->tunnel_id); in delete_session() 200 addattr32(&req.n, 1024, L2TP_ATTR_SESSION_ID, p->session_id); in delete_session() 435 addattr32(&req.n, 128, L2TP_ATTR_CONN_ID, p->config.tunnel_id); in get_session() [all …]
|
D | iplink_bridge.c | 93 addattr32(n, 1024, IFLA_BR_FORWARD_DELAY, val); in bridge_parse_opt() 99 addattr32(n, 1024, IFLA_BR_HELLO_TIME, val); in bridge_parse_opt() 105 addattr32(n, 1024, IFLA_BR_MAX_AGE, val); in bridge_parse_opt() 111 addattr32(n, 1024, IFLA_BR_AGEING_TIME, val); in bridge_parse_opt() 117 addattr32(n, 1024, IFLA_BR_STP_STATE, val); in bridge_parse_opt() 220 addattr32(n, 1024, IFLA_BR_MCAST_HASH_ELASTICITY, in bridge_parse_opt() 229 addattr32(n, 1024, IFLA_BR_MCAST_HASH_MAX, in bridge_parse_opt() 239 addattr32(n, 1024, IFLA_BR_MCAST_LAST_MEMBER_CNT, in bridge_parse_opt() 249 addattr32(n, 1024, IFLA_BR_MCAST_STARTUP_QUERY_CNT, in bridge_parse_opt()
|
D | link_vti.c | 198 addattr32(n, 1024, IFLA_VTI_IKEY, ikey); in vti_parse_opt() 199 addattr32(n, 1024, IFLA_VTI_OKEY, okey); in vti_parse_opt() 202 addattr32(n, 1024, IFLA_VTI_FWMARK, fwmark); in vti_parse_opt() 204 addattr32(n, 1024, IFLA_VTI_LINK, link); in vti_parse_opt()
|
D | link_vti6.c | 196 addattr32(n, 1024, IFLA_VTI_IKEY, ikey); in vti6_parse_opt() 197 addattr32(n, 1024, IFLA_VTI_OKEY, okey); in vti6_parse_opt() 203 addattr32(n, 1024, IFLA_VTI_FWMARK, fwmark); in vti6_parse_opt() 205 addattr32(n, 1024, IFLA_VTI_LINK, link); in vti6_parse_opt()
|
D | iprule.c | 630 addattr32(&req.n, sizeof(req), FRA_PRIORITY, pref); in iprule_modify() 650 addattr32(&req.n, sizeof(req), FRA_FWMARK, fwmark); in iprule_modify() 655 addattr32(&req.n, sizeof(req), in iprule_modify() 664 addattr32(&req.n, sizeof(req), FRA_FLOW, realm); in iprule_modify() 674 addattr32(&req.n, sizeof(req), FRA_TABLE, tid); in iprule_modify() 685 addattr32(&req.n, sizeof(req), in iprule_modify() 695 addattr32(&req.n, sizeof(req), in iprule_modify() 726 addattr32(&req.n, sizeof(req), RTA_GATEWAY, in iprule_modify() 744 addattr32(&req.n, sizeof(req), in iprule_modify()
|
D | iplink_xdp.c | 35 addattr32(&req->n, sizeof(*req), IFLA_XDP_FD, fd); in xdp_ebpf_cb() 37 addattr32(&req->n, sizeof(*req), IFLA_XDP_FLAGS, xdp->flags); in xdp_ebpf_cb()
|
D | link_iptnl.c | 350 addattr32(n, 1024, IFLA_IPTUN_LINK, link); in iptunnel_parse_opt() 351 addattr32(n, 1024, IFLA_IPTUN_LOCAL, laddr); in iptunnel_parse_opt() 352 addattr32(n, 1024, IFLA_IPTUN_REMOTE, raddr); in iptunnel_parse_opt() 356 addattr32(n, 1024, IFLA_IPTUN_FWMARK, fwmark); in iptunnel_parse_opt() 373 addattr32(n, 1024, IFLA_IPTUN_6RD_RELAY_PREFIX, in iptunnel_parse_opt()
|
D | link_gre.c | 361 addattr32(n, 1024, IFLA_GRE_IKEY, ikey); in gre_parse_opt() 362 addattr32(n, 1024, IFLA_GRE_OKEY, okey); in gre_parse_opt() 369 addattr32(n, 1024, IFLA_GRE_LINK, link); in gre_parse_opt() 372 addattr32(n, 1024, IFLA_GRE_FWMARK, fwmark); in gre_parse_opt() 374 addattr32(n, 1024, IFLA_GRE_ERSPAN_INDEX, erspan_idx); in gre_parse_opt()
|
D | link_gre6.c | 377 addattr32(n, 1024, IFLA_GRE_IKEY, ikey); in gre_parse_opt() 378 addattr32(n, 1024, IFLA_GRE_OKEY, okey); in gre_parse_opt() 384 addattr32(n, 1024, IFLA_GRE_LINK, link); in gre_parse_opt() 388 addattr32(n, 1024, IFLA_GRE_FLAGS, flags); in gre_parse_opt() 389 addattr32(n, 1024, IFLA_GRE_FWMARK, fwmark); in gre_parse_opt()
|
D | link_ip6tnl.c | 318 addattr32(n, 1024, IFLA_IPTUN_FLOWINFO, flowinfo); in ip6tunnel_parse_opt() 319 addattr32(n, 1024, IFLA_IPTUN_FLAGS, flags); in ip6tunnel_parse_opt() 320 addattr32(n, 1024, IFLA_IPTUN_LINK, link); in ip6tunnel_parse_opt() 321 addattr32(n, 1024, IFLA_IPTUN_FWMARK, fwmark); in ip6tunnel_parse_opt()
|
D | iplink_vxlan.c | 160 addattr32(n, 1024, IFLA_VXLAN_LINK, link); in vxlan_parse_opt() 200 addattr32(n, 1024, IFLA_VXLAN_LABEL, htonl(uval)); in vxlan_parse_opt() 211 addattr32(n, 1024, IFLA_VXLAN_AGEING, age); in vxlan_parse_opt() 222 addattr32(n, 1024, IFLA_VXLAN_LIMIT, maxaddr); in vxlan_parse_opt() 370 addattr32(n, 1024, IFLA_VXLAN_ID, vni); in vxlan_parse_opt()
|
D | iplink_macvlan.c | 119 addattr32(n, 1024, IFLA_MACVLAN_MACADDR_MODE, mac_mode); in macvlan_parse_opt() 165 addattr32(n, 1024, IFLA_MACVLAN_MODE, mode); in macvlan_parse_opt()
|
D | ipnetns.c | 79 addattr32(&req.n, 1024, NETNSA_FD, fd); in ipnetns_have_nsid() 112 addattr32(&req.n, 1024, NETNSA_FD, fd); in get_netnsid_from_name() 690 addattr32(&req.n, 1024, NETNSA_FD, fd); in set_netnsid_from_name() 691 addattr32(&req.n, 1024, NETNSA_NSID, nsid); in set_netnsid_from_name()
|
D | iplink_vxcan.c | 83 addattr32(hdr, 1024, IFLA_GROUP, group); in vxcan_parse_opt()
|
D | link_veth.c | 81 addattr32(hdr, 1024, IFLA_GROUP, group); in veth_parse_opt()
|
D | ipneigh.c | 381 addattr32(&req.n, sizeof(req), NDA_MASTER, ifindex); in do_show_or_flush() 392 addattr32(&req.n, sizeof(req), NDA_MASTER, ifindex); in do_show_or_flush() 436 addattr32(&req.n, sizeof(req), NDA_IFINDEX, filter.index); in do_show_or_flush()
|
D | iplink_geneve.c | 200 addattr32(n, 1024, IFLA_GENEVE_ID, vni); in geneve_parse_opt() 208 addattr32(n, 1024, IFLA_GENEVE_LABEL, label); in geneve_parse_opt()
|
/external/iproute2/tc/ |
D | f_flow.c | 162 addattr32(n, 4096, TCA_FLOW_KEYS, keys); in flow_parse_opt() 190 addattr32(n, 4096, TCA_FLOW_RSHIFT, tmp); in flow_parse_opt() 197 addattr32(n, 4096, TCA_FLOW_ADDEND, tmp); in flow_parse_opt() 204 addattr32(n, 4096, TCA_FLOW_DIVISOR, tmp); in flow_parse_opt() 211 addattr32(n, 4096, TCA_FLOW_BASECLASS, tmp); in flow_parse_opt() 218 addattr32(n, 4096, TCA_FLOW_PERTURB, tmp); in flow_parse_opt() 255 addattr32(n, 4096, TCA_FLOW_MODE, mode); in flow_parse_opt() 258 addattr32(n, 4096, TCA_FLOW_MASK, mask); in flow_parse_opt() 259 addattr32(n, 4096, TCA_FLOW_XOR, xor); in flow_parse_opt()
|
D | f_bpf.c | 67 addattr32(nl, MAX_MSG, TCA_BPF_FD, fd); in bpf_ebpf_cb() 126 addattr32(n, MAX_MSG, TCA_BPF_CLASSID, handle); in bpf_parse_opt() 164 addattr32(n, MAX_MSG, TCA_BPF_FLAGS_GEN, bpf_gen_flags); in bpf_parse_opt() 166 addattr32(n, MAX_MSG, TCA_BPF_FLAGS, bpf_flags); in bpf_parse_opt()
|
D | m_sample.c | 128 addattr32(n, MAX_MSG, TCA_SAMPLE_RATE, rate); in parse_sample() 130 addattr32(n, MAX_MSG, TCA_SAMPLE_PSAMPLE_GROUP, group); in parse_sample() 132 addattr32(n, MAX_MSG, TCA_SAMPLE_TRUNC_SIZE, trunc); in parse_sample()
|
D | q_qfq.c | 66 addattr32(n, 4096, TCA_QFQ_WEIGHT, tmp); in qfq_parse_class_opt() 72 addattr32(n, 4096, TCA_QFQ_LMAX, tmp); in qfq_parse_class_opt()
|
D | m_police.c | 240 addattr32(n, MAX_MSG, TCA_POLICE_AVRATE, avrate); in act_parse_police() 242 addattr32(n, MAX_MSG, TCA_POLICE_RESULT, presult); in act_parse_police()
|
D | q_gred.c | 113 addattr32(n, 1024, TCA_GRED_LIMIT, limit); in init_gred() 261 addattr32(n, 1024, TCA_GRED_MAX_P, max_P); in gred_parse_opt()
|
/external/iproute2/bridge/ |
D | fdb.c | 362 addattr32(&req.n, sizeof(req), IFLA_MASTER, br_ifindex); in fdb_show() 529 addattr32(&req.n, sizeof(req), NDA_VNI, vni); in fdb_modify() 531 addattr32(&req.n, sizeof(req), NDA_IFINDEX, via); in fdb_modify()
|