summaryrefslogtreecommitdiff
path: root/nest/ipv4.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-04-23 14:01:15 +0000
committerMartin Mares <mj@ucw.cz>1998-04-23 14:01:15 +0000
commitc40e05a0dffa33a8724e56121a2b6dcdfa9183e0 (patch)
tree4c4322c6900ae4788006d72195028ac71ecb11c1 /nest/ipv4.h
parent481f69854a788bd2bea5c6938e038ec6e21c491b (diff)
Added IP address manipulation macros, interface declarations and logging.
Diffstat (limited to 'nest/ipv4.h')
-rw-r--r--nest/ipv4.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/nest/ipv4.h b/nest/ipv4.h
deleted file mode 100644
index 75242298..00000000
--- a/nest/ipv4.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * BIRD -- IP Addresses et Cetera for IPv4
- *
- * (c) 1998 Martin Mares <mj@ucw.cz>
- *
- * Can be freely distributed and used under the terms of the GNU GPL.
- */
-
-#ifndef _BIRD_IPV4_H_
-#define _BIRD_IPV4_H_
-
-#include <netinet/in.h>
-
-typedef struct ipv4_addr {
- u32 addr;
-} ip_addr;
-
-#define ipa_equal(x,y) ((x).addr == (y).addr)
-
-#endif