Home
last modified time | relevance | path

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

/include/net/netfilter/
Dnf_tables_ipv4.h15 pkt->thoff = ip_hdrlen(pkt->skb); in nft_set_pktinfo_ipv4()
22 u32 len, thoff; in __nft_set_pktinfo_ipv4_validate() local
33 thoff = iph->ihl * 4; in __nft_set_pktinfo_ipv4_validate()
36 else if (len < thoff) in __nft_set_pktinfo_ipv4_validate()
41 pkt->thoff = thoff; in __nft_set_pktinfo_ipv4_validate()
56 u32 len, thoff; in nft_set_pktinfo_ipv4_ingress() local
66 thoff = iph->ihl * 4; in nft_set_pktinfo_ipv4_ingress()
70 } else if (len < thoff) { in nft_set_pktinfo_ipv4_ingress()
76 pkt->thoff = thoff; in nft_set_pktinfo_ipv4_ingress()
Dnf_tables_ipv6.h12 int protohdr, thoff = 0; in nft_set_pktinfo_ipv6() local
15 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6()
23 pkt->thoff = thoff; in nft_set_pktinfo_ipv6()
32 unsigned int thoff = 0; in __nft_set_pktinfo_ipv6_validate() local
49 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in __nft_set_pktinfo_ipv6_validate()
55 pkt->thoff = thoff; in __nft_set_pktinfo_ipv6_validate()
75 unsigned int thoff = 0; in nft_set_pktinfo_ipv6_ingress() local
95 protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags); in nft_set_pktinfo_ipv6_ingress()
101 pkt->thoff = thoff; in nft_set_pktinfo_ipv6_ingress()
Dnf_tproxy.h114 nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff,
121 nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff,
Dnf_flow_table.h280 struct sk_buff *skb, unsigned int thoff,
283 struct sk_buff *skb, unsigned int thoff,
Dnf_tables.h35 unsigned int thoff; member
46 return pkt->thoff; in nft_thoff()
86 pkt->thoff = 0; in nft_set_pktinfo_unspec()
/include/net/
Dflow_dissector.h20 u16 thoff; member
355 const void *data, int thoff, int hlen);
Dtcp.h2008 INDIRECT_CALLABLE_DECLARE(int tcp4_gro_complete(struct sk_buff *skb, int thoff));
2010 INDIRECT_CALLABLE_DECLARE(int tcp6_gro_complete(struct sk_buff *skb, int thoff));
/include/linux/
Dvirtio_net.h129 p_off = keys.control.thoff + thlen; in virtio_net_hdr_to_skb()
134 skb_set_transport_header(skb, keys.control.thoff); in virtio_net_hdr_to_skb()
Dskbuff.h1375 __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
1379 int thoff, u8 ip_proto) in skb_flow_get_ports() argument
1381 return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0); in skb_flow_get_ports()
2741 skb_set_transport_header(skb, keys.control.thoff); in skb_probe_transport_header()
/include/linux/netfilter/
Dx_tables.h39 unsigned int thoff; member
/include/uapi/linux/
Dbpf.h6160 __u16 thoff; member