Searched refs:nft_thoff (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/net/netfilter/ |
D | nft_exthdr.c | 179 tcph = skb_header_pointer(pkt->skb, nft_thoff(pkt), sizeof(*tcph), buffer); in nft_tcp_header_pointer() 187 return skb_header_pointer(pkt->skb, nft_thoff(pkt), *tcphdr_len, buffer); in nft_tcp_header_pointer() 248 if (skb_ensure_writable(pkt->skb, nft_thoff(pkt) + tcphdr_len)) in nft_exthdr_tcp_set_eval() 251 tcph = (struct tcphdr *)(pkt->skb->data + nft_thoff(pkt)); in nft_exthdr_tcp_set_eval() 328 if (skb_ensure_writable(pkt->skb, nft_thoff(pkt) + tcphdr_len)) in nft_exthdr_tcp_strip_eval() 331 tcph = (struct tcphdr *)(pkt->skb->data + nft_thoff(pkt)); in nft_exthdr_tcp_strip_eval() 375 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval() 425 thoff = nft_thoff(pkt); in nft_exthdr_dccp_eval()
|
D | nf_tables_trace.c | 100 nh_end = pkt->flags & NFT_PKTINFO_L4PROTO ? nft_thoff(pkt) : skb->len; in nf_trace_fill_pkt_info() 107 len = min_t(unsigned int, skb->len - nft_thoff(pkt), in nf_trace_fill_pkt_info() 110 nft_thoff(pkt), len)) in nf_trace_fill_pkt_info()
|
D | nft_payload.c | 85 unsigned int thoff = nft_thoff(pkt); in __nft_payload_inner_offset() 200 offset = nft_thoff(pkt); in nft_payload_eval() 720 if (!nft_payload_udp_checksum(skb, nft_thoff(pkt))) in nft_payload_l4csum_offset() 733 *l4csum_offset += nft_thoff(pkt); in nft_payload_l4csum_offset() 835 offset = nft_thoff(pkt); in nft_payload_set_eval() 874 nft_payload_csum_sctp(skb, nft_thoff(pkt))) in nft_payload_set_eval()
|
D | nft_tproxy.c | 91 int thoff = nft_thoff(pkt); in nft_tproxy_eval_v6()
|
D | nf_tables_core.c | 161 ptr = skb->data + nft_thoff(pkt); in nft_payload_fast_eval()
|
D | nft_synproxy.c | 112 int thoff = nft_thoff(pkt); in nft_synproxy_do_eval()
|
D | nft_flow_offload.c | 314 tcph = skb_header_pointer(pkt->skb, nft_thoff(pkt), in nft_flow_offload_eval()
|
D | nft_compat.c | 66 par->thoff = nft_thoff(pkt); in nft_compat_set_par()
|
/linux-6.6.21/include/net/netfilter/ |
D | nf_tables.h | 45 static inline unsigned int nft_thoff(const struct nft_pktinfo *pkt) in nft_thoff() function
|