diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-13 18:01:30 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-08-13 18:11:27 +0200 |
commit | 361b71de33e6498a704cfa5c6c7afb696d5d90e3 (patch) | |
tree | a2546cfa9b70a66e99382e6c0898282e66ddfa18 /src/extra/tcp.c | |
parent | 7983983a2912165aaa3b9fff2f7aa42421d2f730 (diff) |
src: extra: add prefix nfq_ to internal checksum functions
These functions are internal and they belong to the libnetfilter_queue scope,
so let's add the corresponding nfq_ prefix.
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/extra/tcp.c')
-rw-r--r-- | src/extra/tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extra/tcp.c b/src/extra/tcp.c index 5318b07..2eb5763 100644 --- a/src/extra/tcp.c +++ b/src/extra/tcp.c @@ -91,7 +91,7 @@ nfq_tcp_compute_checksum_ipv4(struct tcphdr *tcph, struct iphdr *iph) { /* checksum field in header needs to be zero for calculation. */ tcph->check = 0; - tcph->check = checksum_tcpudp_ipv4(iph); + tcph->check = nfq_checksum_tcpudp_ipv4(iph); } EXPORT_SYMBOL(nfq_tcp_compute_checksum_ipv4); @@ -105,7 +105,7 @@ nfq_tcp_compute_checksum_ipv6(struct tcphdr *tcph, struct ip6_hdr *ip6h) { /* checksum field in header needs to be zero for calculation. */ tcph->check = 0; - tcph->check = checksum_tcpudp_ipv6(ip6h, tcph); + tcph->check = nfq_checksum_tcpudp_ipv6(ip6h, tcph); } EXPORT_SYMBOL(nfq_tcp_compute_checksum_ipv6); |