Home
last modified time | relevance | path

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

/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/bpf/prog_tests/
Dflow_dissector.c32 got.ip_proto, expected.ip_proto, \
119 .ip_proto = IPPROTO_TCP,
139 .ip_proto = IPPROTO_TCP,
161 .ip_proto = IPPROTO_TCP,
184 .ip_proto = IPPROTO_TCP,
207 .ip_proto = IPPROTO_TCP,
232 .ip_proto = IPPROTO_TCP,
255 .ip_proto = IPPROTO_TCP,
280 .ip_proto = IPPROTO_TCP,
301 .ip_proto = IPPROTO_TCP,
[all …]
/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 \
Ddevlink_trap_l3_exceptions.sh184 flower skip_hw ip_proto icmp type 3 code 4 action pass
223 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
335 skip_hw ip_proto $ip_proto type $type code $code action pass
Ddevlink_trap_l3_drops.sh200 flower ip_proto udp src_port 54321 dst_port 12345 action drop
525 local ip_proto=${1:-"icmp"}; shift
536 flower skip_hw dst_ip $dip ip_proto $ip_proto action drop
Dblackhole_routes.sh123 skip_hw dst_ip 198.51.100.1 src_ip 192.0.2.1 ip_proto icmp \
148 ip_proto icmpv6 action pass
Dvxlan_flooding.sh181 flower ip_proto udp dst_ip 198.51.100.$lsb \
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
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
Dmirror_gre.sh76 flower ip_proto 0x2f src_mac $swp3mac dst_mac $h3mac \
Dlib.sh697 flower ip_proto icmp$vsuf $filter \
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dbpf_flow.c280 keys->ip_proto = iph->protocol; in PROG()
323 keys->ip_proto = ip6h->nexthdr; in PROG()
345 keys->ip_proto = ip6h->nexthdr; in PROG()
361 keys->ip_proto = fragh->nexthdr; in PROG()
/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 ipv6 pref 1337 flower ip_proto \
/external/strace/
Dnlattr.h104 DECL_NLA(ip_proto);
DChangeLog2380 * nlattr.h (DECL_NLA(ip_proto), DECL_NLA(rt_proto)): New declarations.
/external/libnl/lib/route/
Drule.c840 int rtnl_rule_set_ipproto(struct rtnl_rule *rule, uint8_t ip_proto) in rtnl_rule_set_ipproto() argument
842 if (ip_proto) { in rtnl_rule_set_ipproto()
843 rule->r_ip_proto = ip_proto; in rtnl_rule_set_ipproto()
852 int rtnl_rule_get_ipproto(struct rtnl_rule *rule, uint8_t *ip_proto) in rtnl_rule_get_ipproto() argument
857 *ip_proto = rule->r_ip_proto; in rtnl_rule_get_ipproto()
/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/libpcap/
Dgencode.c5653 gen_port(compiler_state_t *cstate, u_int port, int ip_proto, int dir) in gen_port() argument
5676 switch (ip_proto) { in gen_port()
5680 b1 = gen_portop(cstate, port, (u_int)ip_proto, dir); in gen_port()
5738 gen_port6(compiler_state_t *cstate, u_int port, int ip_proto, int dir) in gen_port6() argument
5745 switch (ip_proto) { in gen_port6()
5749 b1 = gen_portop6(cstate, port, (u_int)ip_proto, dir); in gen_port6()
5860 gen_portrange(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, in gen_portrange() argument
5868 switch (ip_proto) { in gen_portrange()
5872 b1 = gen_portrangeop(cstate, port1, port2, (bpf_u_int32)ip_proto, in gen_portrange()
5957 gen_portrange6(compiler_state_t *cstate, u_int port1, u_int port2, int ip_proto, in gen_portrange6() argument
[all …]
/external/iproute2/bash-completion/
Dtc192 ip_proto)
458 ip_proto dst_ip src_ip dst_port src_port'
/external/bcc/src/cc/compat/linux/
Dbpf.h3026 __u8 ip_proto; member
/external/bcc/src/cc/includes/compat/linux/
Dbpf.h3026 __u8 ip_proto; member
/external/kernel-headers/original/uapi/linux/
Dbpf.h5150 __u8 ip_proto; member
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi56405 …<var-decl name="ip_proto" type-id="f9b06939" visibility="default" filepath="include/net/fib_rules.…
Dtest-PR27569-v0.abi56390 …<var-decl name="ip_proto" type-id="f9b06939" visibility="default" filepath="include/net/fib_rules.…