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