summaryrefslogtreecommitdiff
path: root/lib/ipv4.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-05-14 18:03:09 +0000
committerMartin Mares <mj@ucw.cz>1999-05-14 18:03:09 +0000
commitb23c5e0ff4e9071b2568bf2f7d437bc13273d17d (patch)
tree2e6ff94f799923b0c8cd70ebedd431368f67b059 /lib/ipv4.h
parent11ce4490fac7d0446802738f5fb8fd68c36bd30b (diff)
Added ip_skip_header() and modified OSPF to use it.
Diffstat (limited to 'lib/ipv4.h')
-rw-r--r--lib/ipv4.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ipv4.h b/lib/ipv4.h
index a6720361..87e08742 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -58,8 +58,11 @@ typedef u32 ip_addr;
#define ipa_to_u32(x) _I(x)
#define ipa_compare(x,y) ipv4_compare(_I(x),_I(y))
+#define ip_skip_header(x, y) ipv4_skip_header(x, y)
+
int ipv4_classify(u32);
u32 ipv4_class_mask(u32);
+byte *ipv4_skip_header(byte *, int *);
static inline unsigned ipv4_hash(u32 a)
{