Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tc_dtime.c142 __u8 inet_proto = 0, ns = 0; in skb_get_type() local
159 inet_proto = iph->protocol; in skb_get_type()
170 inet_proto = ip6h->nexthdr; in skb_get_type()
180 if (!ns || inet_proto != get_proto()) in skb_get_type()
183 switch (inet_proto) { in skb_get_type()
205 return (ns << 8 | inet_proto); in skb_get_type()