1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Added function for converting of IP addresses to printable form.

This commit is contained in:
Martin Mares
1998-06-17 14:26:30 +00:00
parent 620a355a15
commit 6b5e06abb5
3 changed files with 9 additions and 0 deletions

View File

@@ -43,4 +43,11 @@
#define ip_is_prefix(a,l) (!ipa_nonzero(ipa_and(a, ipa_not(ipa_mkmask(l)))))
/*
* Conversions between internal and string representation
*/
char *ip_ntop(ip_addr a, char *);
char *ip_ntox(ip_addr a, char *);
#endif