diff options
author | Martin Mares <mj@ucw.cz> | 1998-04-23 14:01:15 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-04-23 14:01:15 +0000 |
commit | c40e05a0dffa33a8724e56121a2b6dcdfa9183e0 (patch) | |
tree | 4c4322c6900ae4788006d72195028ac71ecb11c1 /nest/ipv6.h | |
parent | 481f69854a788bd2bea5c6938e038ec6e21c491b (diff) |
Added IP address manipulation macros, interface declarations and logging.
Diffstat (limited to 'nest/ipv6.h')
-rw-r--r-- | nest/ipv6.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/nest/ipv6.h b/nest/ipv6.h deleted file mode 100644 index 5d5e3544..00000000 --- a/nest/ipv6.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * BIRD -- IP Addresses et Cetera for IPv6 - * - * (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> -#include <string.h> - -typedef struct ipv4_addr { - u32 addr[4]; -} ip_addr; - -#define ipa_equal(x,y) (!memcmp(&(x),&(y),sizeof(ip_addr))) - -#endif |