1 #ifndef _LIBNFQUEUE_TCP_H_
2 #define _LIBNFQUEUE_TCP_H_
6 struct tcphdr *nfq_tcp_get_hdr(struct pkt_buff *pktb);
7 void *nfq_tcp_get_payload(struct tcphdr *tcph, struct pkt_buff *pktb);
8 unsigned int nfq_tcp_get_payload_len(struct tcphdr *tcph, struct pkt_buff *pktb);
13 void nfq_tcp_compute_checksum_ipv4(struct tcphdr *tcph, struct iphdr *iph);
14 void nfq_tcp_compute_checksum_ipv6(struct tcphdr *tcph, struct ip6_hdr *ip6h);
16 int nfq_tcp_snprintf(char *buf, size_t size, const struct tcphdr *tcp);