summaryrefslogtreecommitdiffstats
path: root/nest/ipv4.h
blob: 752422986d705564f0714228734160b45fcd6fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 *	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