/external/iproute2/ip/ |
D | link_iptnl.c | 301 addattr16(n, 1024, IFLA_IPTUN_ENCAP_TYPE, encaptype); in iptunnel_parse_opt() 302 addattr16(n, 1024, IFLA_IPTUN_ENCAP_FLAGS, encapflags); in iptunnel_parse_opt() 303 addattr16(n, 1024, IFLA_IPTUN_ENCAP_SPORT, htons(encapsport)); in iptunnel_parse_opt() 304 addattr16(n, 1024, IFLA_IPTUN_ENCAP_DPORT, htons(encapdport)); in iptunnel_parse_opt() 307 addattr16(n, 1024, IFLA_IPTUN_FLAGS, iflags); in iptunnel_parse_opt() 312 addattr16(n, 1024, IFLA_IPTUN_6RD_PREFIXLEN, in iptunnel_parse_opt() 316 addattr16(n, 1024, IFLA_IPTUN_6RD_RELAY_PREFIXLEN, in iptunnel_parse_opt()
|
D | iplink_bridge.c | 85 addattr16(n, 1024, IFLA_BR_PRIORITY, prio); in bridge_parse_opt() 103 addattr16(n, 1024, IFLA_BR_VLAN_PROTOCOL, vlan_proto); in bridge_parse_opt()
|
D | ipl2tp.c | 107 addattr16(&req.n, 1024, L2TP_ATTR_ENCAP_TYPE, p->encap); in create_tunnel() 118 addattr16(&req.n, 1024, L2TP_ATTR_UDP_SPORT, p->local_udp_port); in create_tunnel() 119 addattr16(&req.n, 1024, L2TP_ATTR_UDP_DPORT, p->peer_udp_port); in create_tunnel() 150 addattr16(&req.n, 1024, L2TP_ATTR_PW_TYPE, p->pw_type); in create_session() 154 if (p->mtu) addattr16(&req.n, 1024, L2TP_ATTR_MTU, p->mtu); in create_session() 161 if (p->offset) addattr16(&req.n, 1024, L2TP_ATTR_OFFSET, p->offset); in create_session()
|
D | link_gre.c | 330 addattr16(n, 1024, IFLA_GRE_ENCAP_TYPE, encaptype); in gre_parse_opt() 331 addattr16(n, 1024, IFLA_GRE_ENCAP_FLAGS, encapflags); in gre_parse_opt() 332 addattr16(n, 1024, IFLA_GRE_ENCAP_SPORT, htons(encapsport)); in gre_parse_opt() 333 addattr16(n, 1024, IFLA_GRE_ENCAP_DPORT, htons(encapdport)); in gre_parse_opt()
|
D | iplink_ipvlan.c | 53 addattr16(n, 1024, IFLA_IPVLAN_MODE, mode); in ipvlan_parse_opt()
|
D | iplink_bond_slave.c | 101 addattr16(n, 1024, IFLA_BOND_SLAVE_QUEUE_ID, queue_id); in bond_slave_parse_opt()
|
D | ipfou.c | 100 addattr16(n, 1024, FOU_ATTR_PORT, port); in fou_parse_opt()
|
D | iplink_macvlan.c | 92 addattr16(n, 1024, IFLA_MACVLAN_FLAGS, flags); in macvlan_parse_opt()
|
D | iplink_bridge_slave.c | 135 addattr16(n, 1024, IFLA_BRPORT_PRIORITY, priority); in bridge_slave_parse_opt()
|
D | iplink_bond.c | 328 addattr16(n, 1024, IFLA_BOND_AD_USER_PORT_KEY, in bond_parse_opt() 335 addattr16(n, 1024, IFLA_BOND_AD_ACTOR_SYS_PRIO, in bond_parse_opt()
|
D | iplink_vxlan.c | 297 addattr16(n, 1024, IFLA_VXLAN_PORT, htons(dstport)); in vxlan_parse_opt()
|
/external/iproute2/bridge/ |
D | link.c | 394 addattr16(&req.n, sizeof(req), IFLA_BRPORT_PRIORITY, priority); in brlink_modify() 410 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_FLAGS, flags); in brlink_modify() 413 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_MODE, mode); in brlink_modify()
|
D | fdb.c | 351 addattr16(&req.n, sizeof(req), NDA_VLAN, vid); in fdb_modify() 357 addattr16(&req.n, sizeof(req), NDA_PORT, dport); in fdb_modify()
|
D | vlan.c | 113 addattr16(&req.n, sizeof(req), IFLA_BRIDGE_FLAGS, flags); in vlan_modify()
|
/external/iproute2/tc/ |
D | f_flower.c | 157 addattr16(n, MAX_MSG, type, htons(port)); in flower_parse_port() 297 ret = addattr16(n, MAX_MSG, TCA_FLOWER_KEY_ETH_TYPE, eth_type); in flower_parse_opt()
|
D | tc_bpf.c | 601 addattr16(n, MAX_MSG, nla_tbl[BPF_NLA_OPS_LEN], ret); in bpf_parse_common()
|
/external/iproute2/include/ |
D | libnetlink.h | 83 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
|
/external/iproute2/lib/ |
D | libnetlink.c | 630 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data) in addattr16() function
|