summaryrefslogtreecommitdiffstats
path: root/lib/ipv4.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-06-17 16:26:30 +0200
committerMartin Mares <mj@ucw.cz>1998-06-17 16:26:30 +0200
commit6b5e06abb57528a091fd171dff379634fa7c4dad (patch)
tree2c001baa8a929302c7183fc3fcff5a8047fb45d5 /lib/ipv4.h
parent620a355a15d65a8a2980f98b2de3e7d04c3dab62 (diff)
downloadbird-6b5e06abb57528a091fd171dff379634fa7c4dad.tar
bird-6b5e06abb57528a091fd171dff379634fa7c4dad.zip
Added function for converting of IP addresses to printable form.
Diffstat (limited to 'lib/ipv4.h')
-rw-r--r--lib/ipv4.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ipv4.h b/lib/ipv4.h
index af2194c..e38dce6 100644
--- a/lib/ipv4.h
+++ b/lib/ipv4.h
@@ -37,6 +37,7 @@ typedef u32 ip_addr;
#endif
#define BITS_PER_IP_ADDRESS 32
+#define STD_ADDRESS_P_LENGTH 15
#define IPA_NONE (_MI(0))