0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/nest/ipv4.h

21 lines
339 B
C

/*
* 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