/external/iproute2/ip/ |
D | link_iptnl.c | 358 addattr16(n, 1024, IFLA_IPTUN_ENCAP_TYPE, encaptype); in iptunnel_parse_opt() 359 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags); in iptunnel_parse_opt() 360 addattr16(n, 1024, IFLA_IPTUN_ENCAP_SPORT, htons(encapsport)); in iptunnel_parse_opt() 361 addattr16(n, 1024, IFLA_IPTUN_ENCAP_DPORT, htons(encapdport)); in iptunnel_parse_opt() 367 addattr16(n, 1024, IFLA_IPTUN_FLAGS, iflags); in iptunnel_parse_opt() 371 addattr16(n, 1024, IFLA_IPTUN_6RD_PREFIXLEN, in iptunnel_parse_opt() 375 addattr16(n, 1024, IFLA_IPTUN_6RD_RELAY_PREFIXLEN, in iptunnel_parse_opt()
|
D | ipfou.c | 103 addattr16(n, 1024, FOU_ATTR_PORT, port); in fou_parse_opt() 105 addattr16(n, 1024, FOU_ATTR_AF, family); in fou_parse_opt()
|
D | link_ip6tnl.c | 323 addattr16(n, 1024, IFLA_IPTUN_ENCAP_TYPE, encaptype); in ip6tunnel_parse_opt() 324 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags); in ip6tunnel_parse_opt() 325 addattr16(n, 1024, IFLA_IPTUN_ENCAP_SPORT, htons(encapsport)); in ip6tunnel_parse_opt() 326 addattr16(n, 1024, IFLA_IPTUN_ENCAP_DPORT, htons(encapdport)); in ip6tunnel_parse_opt()
|
D | ipl2tp.c | 109 addattr16(&req.n, 1024, L2TP_ATTR_ENCAP_TYPE, p->encap); in create_tunnel() 122 addattr16(&req.n, 1024, L2TP_ATTR_UDP_SPORT, p->local_udp_port); in create_tunnel() 123 addattr16(&req.n, 1024, L2TP_ATTR_UDP_DPORT, p->peer_udp_port); in create_tunnel() 160 addattr16(&req.n, 1024, L2TP_ATTR_PW_TYPE, p->pw_type); in create_session() 165 addattr16(&req.n, 1024, L2TP_ATTR_MTU, p->mtu); in create_session() 178 addattr16(&req.n, 1024, L2TP_ATTR_OFFSET, p->offset); in create_session()
|
D | link_gre.c | 379 addattr16(n, 1024, IFLA_GRE_ENCAP_TYPE, encaptype); in gre_parse_opt() 380 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags); in gre_parse_opt() 381 addattr16(n, 1024, IFLA_GRE_ENCAP_SPORT, htons(encapsport)); in gre_parse_opt() 382 addattr16(n, 1024, IFLA_GRE_ENCAP_DPORT, htons(encapdport)); in gre_parse_opt()
|
D | link_gre6.c | 391 addattr16(n, 1024, IFLA_GRE_ENCAP_TYPE, encaptype); in gre_parse_opt() 392 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags); in gre_parse_opt() 393 addattr16(n, 1024, IFLA_GRE_ENCAP_SPORT, htons(encapsport)); in gre_parse_opt() 394 addattr16(n, 1024, IFLA_GRE_ENCAP_DPORT, htons(encapdport)); in gre_parse_opt()
|
D | iplink_bridge.c | 125 addattr16(n, 1024, IFLA_BR_PRIORITY, prio); in bridge_parse_opt() 141 addattr16(n, 1024, IFLA_BR_VLAN_PROTOCOL, vlan_proto); in bridge_parse_opt() 149 addattr16(n, 1024, IFLA_BR_GROUP_FWD_MASK, fwd_mask); in bridge_parse_opt() 168 addattr16(n, 1024, IFLA_BR_VLAN_DEFAULT_PVID, in bridge_parse_opt()
|
D | iplink_ipvlan.c | 45 addattr16(n, 1024, IFLA_IPVLAN_MODE, mode); in ipvlan_parse_opt()
|
D | iplink_bond_slave.c | 132 addattr16(n, 1024, IFLA_BOND_SLAVE_QUEUE_ID, queue_id); in bond_slave_parse_opt()
|
D | iplink_bond.c | 329 addattr16(n, 1024, IFLA_BOND_AD_USER_PORT_KEY, in bond_parse_opt() 336 addattr16(n, 1024, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_parse_opt()
|
D | iplink_macvlan.c | 174 addattr16(n, 1024, IFLA_MACVLAN_FLAGS, flags); in macvlan_parse_opt()
|
D | iplink_bridge_slave.c | 277 addattr16(n, 1024, IFLA_BRPORT_PRIORITY, priority); in bridge_slave_parse_opt()
|
D | iplink_geneve.c | 214 addattr16(n, 1024, IFLA_GENEVE_PORT, htons(dstport)); in geneve_parse_opt()
|
D | iplink_can.c | 232 addattr16(n, 1024, IFLA_CAN_TERMINATION, val); in can_parse_opt()
|
D | iplink_vxlan.c | 388 addattr16(n, 1024, IFLA_VXLAN_PORT, htons(dstport)); in vxlan_parse_opt()
|
/external/iproute2/tc/ |
D | f_flower.c | 141 addattr16(n, MAX_MSG, type, vlan_eth_type); in flower_parse_vlan_eth_type() 475 addattr16(n, MAX_MSG, type, port); in flower_parse_port() 497 addattr16(n, MAX_MSG, flags_type, htons(flags)); in flower_parse_tcp_flags() 506 addattr16(n, MAX_MSG, mask_type, htons(flags)); in flower_parse_tcp_flags() 571 addattr16(n, MAX_MSG, type, port); in flower_parse_enc_port() 650 addattr16(n, MAX_MSG, TCA_FLOWER_KEY_VLAN_ID, vid); in flower_parse_opt() 920 ret = addattr16(n, MAX_MSG, TCA_FLOWER_KEY_ETH_TYPE, eth_type); in flower_parse_opt()
|
D | m_skbmod.c | 153 addattr16(n, MAX_MSG, TCA_SKBMOD_ETYPE, skbmod_etype); in parse_skbmod()
|
D | m_bpf.c | 58 addattr16(nl, MAX_MSG, TCA_ACT_BPF_OPS_LEN, ops_len); in bpf_cbpf_cb()
|
D | m_tunnel_key.c | 79 addattr16(n, MAX_MSG, type, dst_port); in tunnel_key_parse_dst_port()
|
D | f_bpf.c | 60 addattr16(nl, MAX_MSG, TCA_BPF_OPS_LEN, ops_len); in bpf_cbpf_cb()
|
D | m_pedit.c | 601 if (addattr16(n, MAX_MSG, TCA_PEDIT_KEY_EX_HTYPE, k->htype) || in pedit_keys_ex_addattr() 602 addattr16(n, MAX_MSG, TCA_PEDIT_KEY_EX_CMD, k->cmd)) { in pedit_keys_ex_addattr()
|
/external/iproute2/bridge/ |
D | link.c | 412 addattr16(&req.n, sizeof(req), IFLA_BRPORT_PRIORITY, priority); in brlink_modify() 428 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_FLAGS, flags); in brlink_modify() 431 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_MODE, mode); in brlink_modify()
|
D | fdb.c | 520 addattr16(&req.n, sizeof(req), NDA_VLAN, vid); in fdb_modify() 526 addattr16(&req.n, sizeof(req), NDA_PORT, dport); in fdb_modify()
|
D | vlan.c | 115 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_FLAGS, flags); in vlan_modify()
|
/external/iproute2/include/ |
D | libnetlink.h | 111 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
|