Home
last modified time | relevance | path

Searched refs:addattr8 (Results 1 – 16 of 16) sorted by relevance

/external/iproute2/ip/
Diplink_vxlan.c273 addattr8(n, 1024, IFLA_VXLAN_TTL, ttl); in vxlan_parse_opt()
274 addattr8(n, 1024, IFLA_VXLAN_TOS, tos); in vxlan_parse_opt()
275 addattr8(n, 1024, IFLA_VXLAN_LEARNING, learning); in vxlan_parse_opt()
276 addattr8(n, 1024, IFLA_VXLAN_PROXY, proxy); in vxlan_parse_opt()
277 addattr8(n, 1024, IFLA_VXLAN_RSC, rsc); in vxlan_parse_opt()
278 addattr8(n, 1024, IFLA_VXLAN_L2MISS, l2miss); in vxlan_parse_opt()
279 addattr8(n, 1024, IFLA_VXLAN_L3MISS, l3miss); in vxlan_parse_opt()
280 addattr8(n, 1024, IFLA_VXLAN_UDP_CSUM, udpcsum); in vxlan_parse_opt()
281 addattr8(n, 1024, IFLA_VXLAN_UDP_ZERO_CSUM6_TX, udp6zerocsumtx); in vxlan_parse_opt()
282 addattr8(n, 1024, IFLA_VXLAN_UDP_ZERO_CSUM6_RX, udp6zerocsumrx); in vxlan_parse_opt()
[all …]
Diplink_bond.c177 addattr8(n, 1024, IFLA_BOND_MODE, mode); in bond_parse_opt()
205 addattr8(n, 1024, IFLA_BOND_USE_CARRIER, use_carrier); in bond_parse_opt()
251 addattr8(n, 1024, IFLA_BOND_PRIMARY_RESELECT, in bond_parse_opt()
258 addattr8(n, 1024, IFLA_BOND_FAIL_OVER_MAC, in bond_parse_opt()
266 addattr8(n, 1024, IFLA_BOND_XMIT_HASH_POLICY, in bond_parse_opt()
281 addattr8(n, 1024, IFLA_BOND_NUM_PEER_NOTIF, in bond_parse_opt()
288 addattr8(n, 1024, IFLA_BOND_ALL_SLAVES_ACTIVE, in bond_parse_opt()
315 addattr8(n, 1024, IFLA_BOND_AD_LACP_RATE, lacp_rate); in bond_parse_opt()
322 addattr8(n, 1024, IFLA_BOND_AD_SELECT, ad_select); in bond_parse_opt()
353 addattr8(n, 1024, IFLA_BOND_TLB_DYNAMIC_LB, in bond_parse_opt()
Dipfou.c101 addattr8(n, 1024, FOU_ATTR_TYPE, type); in fou_parse_opt()
104 addattr8(n, 1024, FOU_ATTR_IPPROTO, ipproto); in fou_parse_opt()
Diplink_geneve.c109 addattr8(n, 1024, IFLA_GENEVE_TTL, ttl); in geneve_parse_opt()
110 addattr8(n, 1024, IFLA_GENEVE_TOS, tos); in geneve_parse_opt()
Diplink_bridge_slave.c115 addattr8(n, 1024, type, val); in bridge_slave_parse_on_off()
130 addattr8(n, 1024, IFLA_BRPORT_STATE, state); in bridge_slave_parse_opt()
Dlink_ip6tnl.c243 addattr8(n, 1024, IFLA_IPTUN_PROTO, proto); in ip6tunnel_parse_opt()
246 addattr8(n, 1024, IFLA_IPTUN_TTL, hop_limit); in ip6tunnel_parse_opt()
247 addattr8(n, 1024, IFLA_IPTUN_ENCAP_LIMIT, encap_limit); in ip6tunnel_parse_opt()
Dlink_iptnl.c297 addattr8(n, 1024, IFLA_IPTUN_TTL, ttl); in iptunnel_parse_opt()
298 addattr8(n, 1024, IFLA_IPTUN_TOS, tos); in iptunnel_parse_opt()
299 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc); in iptunnel_parse_opt()
308 addattr8(n, 1024, IFLA_IPTUN_PROTO, proto); in iptunnel_parse_opt()
Dipl2tp.c106 addattr8(&req.n, 1024, L2TP_ATTR_PROTO_VERSION, 3); in create_tunnel()
151 addattr8(&req.n, 1024, L2TP_ATTR_L2SPEC_TYPE, p->l2spec_type); in create_session()
152 addattr8(&req.n, 1024, L2TP_ATTR_L2SPEC_LEN, p->l2spec_len); in create_session()
158 if (p->data_seq) addattr8(&req.n, 1024, L2TP_ATTR_DATA_SEQ, p->data_seq); in create_session()
Diplink_bridge.c94 addattr8(n, 1024, IFLA_BR_VLAN_FILTERING, vlan_filter); in bridge_parse_opt()
Diplink.c594 addattr8(&req->n, sizeof(*req), IFLA_LINKMODE, mode); in iplink_parse()
603 addattr8(&req->n, sizeof(*req), IFLA_OPERSTATE, state); in iplink_parse()
630 addattr8(&req->n, sizeof(*req), IFLA_INET6_ADDR_GEN_MODE, mode); in iplink_parse()
651 addattr8(&req->n, sizeof(*req), IFLA_PROTO_DOWN, in iplink_parse()
Dxfrm_state.c1211 addattr8(&req.n, sizeof(req), XFRMA_PROTO, in xfrm_state_list_or_deleteall()
Diproute.c1124 addattr8(&req.n, sizeof(req), RTA_PREF, pref); in iproute_modify()
/external/iproute2/bridge/
Dlink.c374 addattr8(&req.n, sizeof(req), IFLA_BRPORT_GUARD, bpdu_guard); in brlink_modify()
376 addattr8(&req.n, sizeof(req), IFLA_BRPORT_MODE, hairpin); in brlink_modify()
378 addattr8(&req.n, sizeof(req), IFLA_BRPORT_FAST_LEAVE, in brlink_modify()
381 addattr8(&req.n, sizeof(req), IFLA_BRPORT_PROTECT, root_block); in brlink_modify()
383 addattr8(&req.n, sizeof(req), IFLA_BRPORT_UNICAST_FLOOD, flood); in brlink_modify()
385 addattr8(&req.n, sizeof(req), IFLA_BRPORT_LEARNING, learning); in brlink_modify()
387 addattr8(&req.n, sizeof(req), IFLA_BRPORT_LEARNING_SYNC, in brlink_modify()
397 addattr8(&req.n, sizeof(req), IFLA_BRPORT_STATE, state); in brlink_modify()
/external/iproute2/include/
Dlibnetlink.h82 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
/external/iproute2/tc/
Df_flower.c82 addattr8(n, MAX_MSG, type, ip_proto); in flower_parse_ip_proto()
/external/iproute2/lib/
Dlibnetlink.c625 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data) in addattr8() function