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/internal.h | |
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/internal.h')
-rw-r--r-- | src/internal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/internal.h b/src/internal.h index 7f9d5f4..558d267 100644 --- a/src/internal.h +++ b/src/internal.h @@ -14,9 +14,9 @@ struct iphdr; struct ip6_hdr; -uint16_t checksum(uint32_t sum, uint16_t *buf, int size); -uint16_t checksum_tcpudp_ipv4(struct iphdr *iph); -uint16_t checksum_tcpudp_ipv6(struct ip6_hdr *ip6h, void *transport_hdr); +uint16_t nfq_checksum(uint32_t sum, uint16_t *buf, int size); +uint16_t nfq_checksum_tcpudp_ipv4(struct iphdr *iph); +uint16_t nfq_checksum_tcpudp_ipv6(struct ip6_hdr *ip6h, void *transport_hdr); struct pkt_buff { uint8_t *mac_header; |