From 58ef912c6babf1866193ab04674a5866dd761f13 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 22 Apr 1998 12:58:34 +0000 Subject: First look at data structures. More to come tomorrow... --- nest/ipv4.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nest/ipv4.h (limited to 'nest/ipv4.h') diff --git a/nest/ipv4.h b/nest/ipv4.h new file mode 100644 index 00000000..75242298 --- /dev/null +++ b/nest/ipv4.h @@ -0,0 +1,20 @@ +/* + * BIRD -- IP Addresses et Cetera for IPv4 + * + * (c) 1998 Martin Mares + * + * Can be freely distributed and used under the terms of the GNU GPL. + */ + +#ifndef _BIRD_IPV4_H_ +#define _BIRD_IPV4_H_ + +#include + +typedef struct ipv4_addr { + u32 addr; +} ip_addr; + +#define ipa_equal(x,y) ((x).addr == (y).addr) + +#endif -- cgit v1.2.3