summaryrefslogtreecommitdiff
path: root/include/network.h
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2013-06-02 23:18:25 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-06-05 04:40:33 +0200
commitc9a31025a96177735c3259937da342a4f12156ae (patch)
tree71fd98b0cd21e2aaa0047a4032bd53768a5a909a /include/network.h
parent6869ca4032411ac79e6f2cda3cbd401c444364ef (diff)
downloadconntrack-tools-c9a31025a96177735c3259937da342a4f12156ae.tar.gz
conntrack-tools-c9a31025a96177735c3259937da342a4f12156ae.zip
include: kill unused PLD_* macros
Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/network.h')
-rw-r--r--include/network.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/network.h b/include/network.h
index 41c35af..79745f3 100644
--- a/include/network.h
+++ b/include/network.h
@@ -173,18 +173,6 @@ static inline int between(uint32_t seq1, uint32_t seq2, uint32_t seq3)
return seq3 - seq2 >= seq1 - seq2;
}
-#define PLD_NETWORK2HOST(x) \
-({ \
- x->len = ntohs(x->len); \
- x->query = ntohs(x->query); \
-})
-
-#define PLD_HOST2NETWORK(x) \
-({ \
- x->len = htons(x->len); \
- x->query = htons(x->query); \
-})
-
struct netattr {
uint16_t nta_len;
uint16_t nta_attr;