X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/blobdiff_plain/d5568f135cf0091acf65de3588c80591765be139..17fe297f44883f6518ccb6959e1808c1bb342fdd:/usr/src/sbin/routed/af.h diff --git a/usr/src/sbin/routed/af.h b/usr/src/sbin/routed/af.h index 99747b8fe5..ac8ceff595 100644 --- a/usr/src/sbin/routed/af.h +++ b/usr/src/sbin/routed/af.h @@ -1,4 +1,10 @@ -/* af.h 4.2 84/03/07 */ +/* + * Copyright (c) 1983 Regents of the University of California. + * All rights reserved. The Berkeley software License Agreement + * specifies the terms and conditions for redistribution. + * + * @(#)af.h 5.2 (Berkeley) %G% + */ /* * Routing table management daemon. @@ -16,6 +22,7 @@ struct afswitch { int (*af_checkhost)(); /* tells if address for host or net */ int (*af_ishost)(); /* tells if address is valid */ int (*af_canon)(); /* canonicalize address for compares */ + char *(*af_format)(); /* convert address to string */ }; /* @@ -26,4 +33,5 @@ struct afhash { u_int afh_nethash; /* network based hash */ }; -struct afswitch afswitch[AF_MAX]; /* table proper */ +struct afswitch afswitch[]; /* table proper */ +int af_max; /* number of entries in table */