From 361b71de33e6498a704cfa5c6c7afb696d5d90e3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 13 Aug 2013 18:01:30 +0200 Subject: 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 Signed-off-by: Pablo Neira Ayuso --- src/internal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/internal.h') 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; -- cgit v1.2.3