Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diplink_vxlan.c175 addattr8(n, 1024, IFLA_VXLAN_TTL, ttl); in vxlan_parse_opt()
189 addattr8(n, 1024, IFLA_VXLAN_TOS, tos); in vxlan_parse_opt()
252 addattr8(n, 1024, IFLA_VXLAN_PROXY, 0); in vxlan_parse_opt()
255 addattr8(n, 1024, IFLA_VXLAN_PROXY, 1); in vxlan_parse_opt()
258 addattr8(n, 1024, IFLA_VXLAN_RSC, 0); in vxlan_parse_opt()
261 addattr8(n, 1024, IFLA_VXLAN_RSC, 1); in vxlan_parse_opt()
264 addattr8(n, 1024, IFLA_VXLAN_L2MISS, 0); in vxlan_parse_opt()
267 addattr8(n, 1024, IFLA_VXLAN_L2MISS, 1); in vxlan_parse_opt()
270 addattr8(n, 1024, IFLA_VXLAN_L3MISS, 0); in vxlan_parse_opt()
273 addattr8(n, 1024, IFLA_VXLAN_L3MISS, 1); in vxlan_parse_opt()
[all …]
Diplink_bridge.c133 addattr8(n, 1024, IFLA_BR_VLAN_FILTERING, vlan_filter); in bridge_parse_opt()
176 addattr8(n, 1024, IFLA_BR_VLAN_STATS_ENABLED, in bridge_parse_opt()
185 addattr8(n, 1024, IFLA_BR_MCAST_ROUTER, mcast_router); in bridge_parse_opt()
193 addattr8(n, 1024, IFLA_BR_MCAST_SNOOPING, mcast_snoop); in bridge_parse_opt()
202 addattr8(n, 1024, IFLA_BR_MCAST_QUERY_USE_IFADDR, in bridge_parse_opt()
211 addattr8(n, 1024, IFLA_BR_MCAST_QUERIER, mcast_querier); in bridge_parse_opt()
317 addattr8(n, 1024, IFLA_BR_MCAST_STATS_ENABLED, in bridge_parse_opt()
325 addattr8(n, 1024, IFLA_BR_MCAST_IGMP_VERSION, in bridge_parse_opt()
333 addattr8(n, 1024, IFLA_BR_MCAST_MLD_VERSION, in bridge_parse_opt()
342 addattr8(n, 1024, IFLA_BR_NF_CALL_IPTABLES, in bridge_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()
252 addattr8(n, 1024, IFLA_BOND_PRIMARY_RESELECT, in bond_parse_opt()
259 addattr8(n, 1024, IFLA_BOND_FAIL_OVER_MAC, in bond_parse_opt()
267 addattr8(n, 1024, IFLA_BOND_XMIT_HASH_POLICY, in bond_parse_opt()
282 addattr8(n, 1024, IFLA_BOND_NUM_PEER_NOTIF, in bond_parse_opt()
289 addattr8(n, 1024, IFLA_BOND_ALL_SLAVES_ACTIVE, in bond_parse_opt()
316 addattr8(n, 1024, IFLA_BOND_AD_LACP_RATE, lacp_rate); in bond_parse_opt()
323 addattr8(n, 1024, IFLA_BOND_AD_SELECT, ad_select); in bond_parse_opt()
354 addattr8(n, 1024, IFLA_BOND_TLB_DYNAMIC_LB, in bond_parse_opt()
Diplink_geneve.c210 addattr8(n, 1024, IFLA_GENEVE_TTL, ttl); in geneve_parse_opt()
212 addattr8(n, 1024, IFLA_GENEVE_TOS, tos); in geneve_parse_opt()
218 addattr8(n, 1024, IFLA_GENEVE_UDP_CSUM, udpcsum); in geneve_parse_opt()
220 addattr8(n, 1024, IFLA_GENEVE_UDP_ZERO_CSUM6_TX, udp6zerocsumtx); in geneve_parse_opt()
222 addattr8(n, 1024, IFLA_GENEVE_UDP_ZERO_CSUM6_RX, udp6zerocsumrx); in geneve_parse_opt()
Dipmacsec.c390 addattr8(&req.n, MACSEC_BUFLEN, in do_modify_nl()
401 addattr8(&req.n, MACSEC_BUFLEN, MACSEC_SA_ATTR_AN, sa->an); in do_modify_nl()
416 addattr8(&req.n, MACSEC_BUFLEN, in do_modify_nl()
1186 addattr8(hdr, MACSEC_BUFLEN, IFLA_MACSEC_ENCRYPT, i); in macsec_parse_opt()
1196 addattr8(hdr, MACSEC_BUFLEN, in macsec_parse_opt()
1207 addattr8(hdr, MACSEC_BUFLEN, IFLA_MACSEC_ES, es); in macsec_parse_opt()
1217 addattr8(hdr, MACSEC_BUFLEN, IFLA_MACSEC_SCB, scb); in macsec_parse_opt()
1226 addattr8(hdr, MACSEC_BUFLEN, IFLA_MACSEC_PROTECT, i); in macsec_parse_opt()
1248 addattr8(hdr, MACSEC_BUFLEN, in macsec_parse_opt()
1292 addattr8(hdr, MACSEC_BUFLEN, IFLA_MACSEC_REPLAY_PROTECT, in macsec_parse_opt()
Dipfou.c104 addattr8(n, 1024, FOU_ATTR_TYPE, type); in fou_parse_opt()
108 addattr8(n, 1024, FOU_ATTR_IPPROTO, ipproto); in fou_parse_opt()
Dipl2tp.c108 addattr8(&req.n, 1024, L2TP_ATTR_PROTO_VERSION, 3); in create_tunnel()
125 addattr8(&req.n, 1024, L2TP_ATTR_UDP_CSUM, 1); in create_tunnel()
161 addattr8(&req.n, 1024, L2TP_ATTR_L2SPEC_TYPE, p->l2spec_type); in create_session()
162 addattr8(&req.n, 1024, L2TP_ATTR_L2SPEC_LEN, p->l2spec_len); in create_session()
167 addattr8(&req.n, 1024, L2TP_ATTR_RECV_SEQ, 1); in create_session()
169 addattr8(&req.n, 1024, L2TP_ATTR_SEND_SEQ, 1); in create_session()
173 addattr8(&req.n, 1024, L2TP_ATTR_DATA_SEQ, p->data_seq); in create_session()
Diplink_bridge_slave.c255 addattr8(n, 1024, type, val); in bridge_slave_parse_on_off()
272 addattr8(n, 1024, IFLA_BRPORT_STATE, state); in bridge_slave_parse_opt()
325 addattr8(n, 1024, IFLA_BRPORT_MULTICAST_ROUTER, in bridge_slave_parse_opt()
Dipseg6.c145 addattr8(&req.n, sizeof(req), SEG6_ATTR_SECRETLEN, in seg6_do_cmd()
147 addattr8(&req.n, sizeof(req), SEG6_ATTR_ALGID, opts.alg_id); in seg6_do_cmd()
Dlink_iptnl.c353 addattr8(n, 1024, IFLA_IPTUN_TTL, ttl); in iptunnel_parse_opt()
354 addattr8(n, 1024, IFLA_IPTUN_TOS, tos); in iptunnel_parse_opt()
355 addattr8(n, 1024, IFLA_IPTUN_PMTUDISC, pmtudisc); in iptunnel_parse_opt()
364 addattr8(n, 1024, IFLA_IPTUN_PROTO, proto); in iptunnel_parse_opt()
Dlink_ip6tnl.c309 addattr8(n, 1024, IFLA_IPTUN_PROTO, proto); in ip6tunnel_parse_opt()
316 addattr8(n, 1024, IFLA_IPTUN_TTL, hop_limit); in ip6tunnel_parse_opt()
317 addattr8(n, 1024, IFLA_IPTUN_ENCAP_LIMIT, encap_limit); in ip6tunnel_parse_opt()
Diplink.c705 addattr8(&req->n, sizeof(*req), IFLA_CARRIER, carrier); in iplink_parse()
781 addattr8(&req->n, sizeof(*req), IFLA_LINKMODE, mode); in iplink_parse()
790 addattr8(&req->n, sizeof(*req), IFLA_OPERSTATE, state); in iplink_parse()
820 addattr8(&req->n, sizeof(*req), in iplink_parse()
843 addattr8(&req->n, sizeof(*req), IFLA_PROTO_DOWN, in iplink_parse()
Dlink_gre.c385 addattr8(n, 1024, IFLA_GRE_IGNORE_DF, ignore_df & 1); in gre_parse_opt()
Diprule.c711 addattr8(&req.n, sizeof(req), FRA_L3MDEV, 1); in iprule_modify()
Diproute.c1193 addattr8(&req.n, sizeof(req), RTA_PREF, pref); in iproute_modify()
1217 addattr8(&req.n, sizeof(req), RTA_TTL_PROPAGATE, in iproute_modify()
Dxfrm_state.c1262 addattr8(&req.n, sizeof(req), XFRMA_PROTO, in xfrm_state_list_or_deleteall()
/external/iproute2/bridge/
Dlink.c389 addattr8(&req.n, sizeof(req), IFLA_BRPORT_GUARD, bpdu_guard); in brlink_modify()
391 addattr8(&req.n, sizeof(req), IFLA_BRPORT_MODE, hairpin); in brlink_modify()
393 addattr8(&req.n, sizeof(req), IFLA_BRPORT_FAST_LEAVE, in brlink_modify()
396 addattr8(&req.n, sizeof(req), IFLA_BRPORT_PROTECT, root_block); in brlink_modify()
398 addattr8(&req.n, sizeof(req), IFLA_BRPORT_UNICAST_FLOOD, flood); in brlink_modify()
400 addattr8(&req.n, sizeof(req), IFLA_BRPORT_MCAST_FLOOD, in brlink_modify()
403 addattr8(&req.n, sizeof(req), IFLA_BRPORT_LEARNING, learning); in brlink_modify()
405 addattr8(&req.n, sizeof(req), IFLA_BRPORT_LEARNING_SYNC, in brlink_modify()
415 addattr8(&req.n, sizeof(req), IFLA_BRPORT_STATE, state); in brlink_modify()
/external/iproute2/tc/
Df_flower.c227 addattr8(n, MAX_MSG, type, ip_proto); in flower_parse_ip_proto()
348 addattr8(n, MAX_MSG, value_type, value); in flower_parse_u8()
349 addattr8(n, MAX_MSG, mask_type, mask); in flower_parse_u8()
532 addattr8(n, MAX_MSG, key_type, tos_ttl); in flower_parse_ip_tos_ttl()
541 addattr8(n, MAX_MSG, mask_type, tos_ttl); in flower_parse_ip_tos_ttl()
665 addattr8(n, MAX_MSG, in flower_parse_opt()
Dm_vlan.c176 addattr8(n, MAX_MSG, TCA_VLAN_PUSH_VLAN_PRIORITY, prio); in parse_vlan()
Dm_tunnel_key.c173 addattr8(n, MAX_MSG, TCA_TUNNEL_KEY_NO_CSUM, !csum); in parse_tunnel_key()
/external/iproute2/testsuite/tools/
Dgenerate_nlmsg.c46 #define ATTR_8(t, v) ASSERT(addattr8(h, buflen, t, v)) in fill_vf_rate_test()
/external/iproute2/include/
Dlibnetlink.h110 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
/external/iproute2/lib/
Dlibnetlink.c835 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data) in addattr8() function