Home
last modified time | relevance | path

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

/net/sched/
Dact_nat.c114 int noff; in tcf_nat_act() local
132 noff = skb_network_offset(skb); in tcf_nat_act()
133 if (!pskb_may_pull(skb, sizeof(*iph) + noff)) in tcf_nat_act()
144 if (skb_try_make_writable(skb, sizeof(*iph) + noff)) in tcf_nat_act()
171 if (!pskb_may_pull(skb, ihl + sizeof(*tcph) + noff) || in tcf_nat_act()
172 skb_try_make_writable(skb, ihl + sizeof(*tcph) + noff)) in tcf_nat_act()
184 if (!pskb_may_pull(skb, ihl + sizeof(*udph) + noff) || in tcf_nat_act()
185 skb_try_make_writable(skb, ihl + sizeof(*udph) + noff)) in tcf_nat_act()
201 if (!pskb_may_pull(skb, ihl + sizeof(*icmph) + noff)) in tcf_nat_act()
210 noff)) in tcf_nat_act()
[all …]
Dact_pedit.c322 const int noff = skb_network_offset(skb); in pedit_l4_skb_offset() local
328 const struct iphdr *iph = skb_header_pointer(skb, noff, sizeof(_iph), &_iph); in pedit_l4_skb_offset()
332 *hoffset = noff + iph->ihl * 4; in pedit_l4_skb_offset()
/net/ipv4/netfilter/
Dnft_fib_ipv4.c31 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval_type() local
42 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval_type()
61 int noff = skb_network_offset(pkt->skb); in nft_fib4_eval() local
95 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib4_eval()
/net/ipv6/netfilter/
Dnft_fib_ipv6.c127 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval_type() local
131 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval_type()
156 int noff = skb_network_offset(pkt->skb); in nft_fib6_eval() local
172 iph = skb_header_pointer(pkt->skb, noff, sizeof(_iph), &_iph); in nft_fib6_eval()
/net/netfilter/
Dnft_meta.c98 int noff = skb_network_offset(skb); in nft_meta_get_eval_pkttype_lo() local
101 iph = skb_header_pointer(skb, noff, in nft_meta_get_eval_pkttype_lo()