Home
last modified time | relevance | path

Searched refs:ip_proto (Results 1 – 25 of 47) sorted by relevance

12

/external/iproute2/tc/
Df_flower.c203 __u8 ip_proto; in flower_parse_ip_proto() local
209 ip_proto = IPPROTO_TCP; in flower_parse_ip_proto()
211 ip_proto = IPPROTO_UDP; in flower_parse_ip_proto()
213 ip_proto = IPPROTO_SCTP; in flower_parse_ip_proto()
217 ip_proto = IPPROTO_ICMP; in flower_parse_ip_proto()
221 ip_proto = IPPROTO_ICMPV6; in flower_parse_ip_proto()
223 ret = get_u8(&ip_proto, str, 16); in flower_parse_ip_proto()
227 addattr8(n, MAX_MSG, type, ip_proto); in flower_parse_ip_proto()
228 *p_ip_proto = ip_proto; in flower_parse_ip_proto()
398 static int flower_icmp_attr_type(__be16 eth_type, __u8 ip_proto, in flower_icmp_attr_type() argument
[all …]
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dtc_police.sh131 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
157 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
169 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
206 dst_ip 198.51.100.1 ip_proto udp src_port 12345 \
211 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
218 dst_ip 198.51.100.1 ip_proto udp dst_port 22222 \
240 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
245 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
250 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
303 dst_ip 198.51.100.1 ip_proto udp dst_port 54321 \
[all …]
Drouter_multicast.sh324 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
326 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
328 dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action drop
330 skip_hw dst_ip 225.1.2.3 ip_proto udp dst_port 12345 action pass
369 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
371 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
373 dst_ip ff0e::3 ip_proto udp dst_port 12345 action drop
375 skip_hw dst_ip ff0e::3 ip_proto udp dst_port 12345 action pass
Dtc_actions.sh163 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action \
170 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 8 action drop
172 ip_proto icmp src_ip 192.0.2.1 dst_ip 192.0.2.2 type 0 action pass
Dbridge_vlan_mcast.sh165 flower vlan_id 10 vlan_ethtype ipv4 dst_ip 224.0.0.1 ip_proto 2 \
169 flower vlan_id 10 vlan_ethtype ipv6 dst_ip ff02::1 ip_proto icmpv6 \
498 flower vlan_id 10 vlan_ethtype ipv4 dst_ip 239.1.1.1 ip_proto udp action pass
500 flower vlan_id 10 vlan_ethtype ipv4 dst_ip 239.1.1.1 ip_proto udp action pass
Dvxlan_bridge_1d_ipv6.sh346 flower ip_proto udp src_ip $vxlan_local_ip \
403 flower ip_proto udp src_ip $vxlan_local_ip \
469 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
472 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
Dvxlan_bridge_1q_ipv6.sh449 flower ip_proto udp src_ip $vxlan_local_ip \
514 flower ip_proto udp src_ip $vxlan_local_ip \
589 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
592 proto ipv6 pref 100 flower dst_ip $dst_ip ip_proto \
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c35 got.ip_proto, expected.ip_proto, \
123 .ip_proto = IPPROTO_TCP,
143 .ip_proto = IPPROTO_TCP,
165 .ip_proto = IPPROTO_TCP,
188 .ip_proto = IPPROTO_TCP,
211 .ip_proto = IPPROTO_TCP,
236 .ip_proto = IPPROTO_TCP,
259 .ip_proto = IPPROTO_TCP,
284 .ip_proto = IPPROTO_TCP,
305 .ip_proto = IPPROTO_TCP,
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dnetwork_trace_module.cc186 StringId ip_proto; in ParseGenericEvent() local
187 if (evt.ip_proto() == kIpprotoTcp) { in ParseGenericEvent()
188 ip_proto = net_ipproto_tcp_; in ParseGenericEvent()
189 } else if (evt.ip_proto() == kIpprotoUdp) { in ParseGenericEvent()
190 ip_proto = net_ipproto_udp_; in ParseGenericEvent()
192 base::StackString<32> proto("IPPROTO (%d)", evt.ip_proto()); in ParseGenericEvent()
193 ip_proto = context_->storage->InternString(proto.string_view()); in ParseGenericEvent()
196 i->AddArg(net_arg_ip_proto_, Variadic::String(ip_proto)); in ParseGenericEvent()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Done_armed_router.sh135 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
139 skip_hw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
143 skip_sw dst_ip 198.51.100.1 ip_proto udp dst_port 52768 \
178 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
182 skip_hw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
186 skip_sw dst_ip 2001:db8:2::1 ip_proto udp dst_port 52768 \
Drif_mac_profiles.sh113 flower skip_sw ip_proto udp src_port 12345 dst_port 54321 \
119 flower skip_sw src_mac $smac ip_proto udp src_port 12345 \
148 flower skip_sw ip_proto udp src_port 54321 dst_port 12345 \
152 flower skip_sw src_mac $rp1_mac ip_proto udp src_port 54321 \
Ddevlink_trap_l3_exceptions.sh186 flower skip_hw ip_proto icmp type 3 code 4 action pass
224 flower skip_hw ip_proto icmp type 11 code 0 action pass
284 flower dst_ip $dst_ip ip_proto udp action drop
319 local ip_proto=$1; shift
334 skip_hw ip_proto $ip_proto type $type code $code action pass
Ddevlink_trap_l3_drops.sh204 flower ip_proto udp src_port 54321 dst_port 12345 action drop
521 local ip_proto=${1:-"icmp"}; shift
531 flower skip_hw dst_ip $dip ip_proto $ip_proto action drop
668 flower skip_hw dst_ip $dip ip_proto udp action drop
Dblackhole_routes.sh124 skip_hw dst_ip 198.51.100.1 src_ip 192.0.2.1 ip_proto icmp \
149 ip_proto icmpv6 action pass
Dsch_red_core.sh700 flower skip_sw ip_proto udp \
715 flower skip_sw ip_proto tcp \
Dvxlan_flooding.sh181 flower ip_proto udp dst_ip 198.51.100.$lsb \
/external/tcpdump/
Dprint-ip.c328 uint8_t ip_tos, ip_ttl, ip_proto; in ip_print() local
389 ip_proto = GET_U_1(ip->ip_p); in ip_print()
426 tok2str(ipproto_values, "unknown", ip_proto), in ip_print()
427 ip_proto); in ip_print()
506 if (!ndo->ndo_nflag && (p_name = netdb_protoname(ip_proto)) != NULL) in ip_print()
509 ND_PRINT(" ip-proto-%u", ip_proto); in ip_print()
Dprint-icmp.c324 uint8_t ip_proto; in icmp_print() local
381 ip_proto = GET_U_1(oip->ip_p); in icmp_print()
382 switch (ip_proto) { in icmp_print()
402 ip_proto, dport); in icmp_print()
/external/cronet/net/third_party/quiche/src/quiche/quic/masque/
Dmasque_encapsulated_client_session.cc114 uint8_t ip_proto = 0; in ProcessIpPacket() local
115 if (!reader.ReadUInt8(&ip_proto)) { in ProcessIpPacket()
121 if (ip_proto != 17) { in ProcessIpPacket()
123 << static_cast<int>(ip_proto) << "\n" in ProcessIpPacket()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh108 tc filter add dev lo parent ffff: protocol ip pref 1337 flower ip_proto \
144 tc filter add dev lo parent ffff: protocol ip pref 1337 flower ip_proto \
158 tc filter add dev lo parent ffff: protocol ipv6 pref 1337 flower ip_proto \
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dbpf_flow.c279 keys->ip_proto = iph->protocol; in PROG()
322 keys->ip_proto = ip6h->nexthdr; in PROG()
344 keys->ip_proto = ip6h->nexthdr; in PROG()
360 keys->ip_proto = fragh->nexthdr; in PROG()
/external/libnl/lib/route/
Drule.c836 int rtnl_rule_set_ipproto(struct rtnl_rule *rule, uint8_t ip_proto) in rtnl_rule_set_ipproto() argument
838 if (ip_proto) { in rtnl_rule_set_ipproto()
839 rule->r_ip_proto = ip_proto; in rtnl_rule_set_ipproto()
848 int rtnl_rule_get_ipproto(struct rtnl_rule *rule, uint8_t *ip_proto) in rtnl_rule_get_ipproto() argument
853 *ip_proto = rule->r_ip_proto; in rtnl_rule_get_ipproto()
/external/strace/
Dnlattr.h104 DECL_NLA(ip_proto);
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_flower.sh882 ip_proto tcp &> /dev/null
885 ip_proto tcp \
889 ip_proto tcp \
902 $tcflags ip_proto tcp action drop
/external/perfetto/protos/perfetto/trace/android/
Dnetwork_trace.proto48 optional uint32 ip_proto = 6; field

12