diff options
author | David Lamparter <equinox@diac24.net> | 2010-02-04 03:00:00 +0100 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2010-02-04 03:00:00 +0100 |
commit | c28128c5d79e409c7b7b1e3f55e652b9a6bb494f (patch) | |
tree | 7510b6dfb617bf8fd9d77962c256ff8cd984354b /lib/prefix.h | |
parent | f774e7333c1fec61c79c5d4f959eb8e6ea5e1bca (diff) | |
parent | f5e0f8d27d14d4bf080937341c4fdbce60c637d7 (diff) | |
download | quagga-c28128c5d79e409c7b7b1e3f55e652b9a6bb494f.tar.bz2 quagga-c28128c5d79e409c7b7b1e3f55e652b9a6bb494f.tar.xz |
Merge branch 'patches/dl_bug-537' into dn42
Diffstat (limited to 'lib/prefix.h')
-rw-r--r-- | lib/prefix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/prefix.h b/lib/prefix.h index a7598b7e..f6259dee 100644 --- a/lib/prefix.h +++ b/lib/prefix.h @@ -156,12 +156,14 @@ extern int prefix2str (const struct prefix *, char *, int); extern int prefix_match (const struct prefix *, const struct prefix *); extern int prefix_same (const struct prefix *, const struct prefix *); extern int prefix_cmp (const struct prefix *, const struct prefix *); +extern int prefix_common_bits (const struct prefix *, const struct prefix *); extern void prefix_copy (struct prefix *dest, const struct prefix *src); extern void apply_mask (struct prefix *); extern struct prefix *sockunion2prefix (const union sockunion *dest, const union sockunion *mask); extern struct prefix *sockunion2hostprefix (const union sockunion *); +extern void prefix2sockunion (const struct prefix *, union sockunion *); extern struct prefix_ipv4 *prefix_ipv4_new (void); extern void prefix_ipv4_free (struct prefix_ipv4 *); |