Lines Matching refs:offset
4375 int offset, ihlen, ret = -EINVAL; in selinux_parse_skb_ipv4() local
4378 offset = skb_network_offset(skb); in selinux_parse_skb_ipv4()
4379 ih = skb_header_pointer(skb, offset, sizeof(_iph), &_iph); in selinux_parse_skb_ipv4()
4401 offset += ihlen; in selinux_parse_skb_ipv4()
4402 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in selinux_parse_skb_ipv4()
4417 offset += ihlen; in selinux_parse_skb_ipv4()
4418 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv4()
4433 offset += ihlen; in selinux_parse_skb_ipv4()
4434 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in selinux_parse_skb_ipv4()
4450 offset += ihlen; in selinux_parse_skb_ipv4()
4451 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in selinux_parse_skb_ipv4()
4474 int ret = -EINVAL, offset; in selinux_parse_skb_ipv6() local
4478 offset = skb_network_offset(skb); in selinux_parse_skb_ipv6()
4479 ip6 = skb_header_pointer(skb, offset, sizeof(_ipv6h), &_ipv6h); in selinux_parse_skb_ipv6()
4488 offset += sizeof(_ipv6h); in selinux_parse_skb_ipv6()
4489 offset = ipv6_skip_exthdr(skb, offset, &nexthdr, &frag_off); in selinux_parse_skb_ipv6()
4490 if (offset < 0) in selinux_parse_skb_ipv6()
4500 th = skb_header_pointer(skb, offset, sizeof(_tcph), &_tcph); in selinux_parse_skb_ipv6()
4512 uh = skb_header_pointer(skb, offset, sizeof(_udph), &_udph); in selinux_parse_skb_ipv6()
4524 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in selinux_parse_skb_ipv6()
4537 sh = skb_header_pointer(skb, offset, sizeof(_sctph), &_sctph); in selinux_parse_skb_ipv6()