summaryrefslogtreecommitdiffstats
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-14 14:06:06 +0000
committerbde <bde@FreeBSD.org>1994-11-14 14:06:06 +0000
commit37abb2da7af11246870f24a1971e13cf70bb3933 (patch)
treefda40d1f598070183f083d8edac780048ef1b733 /sys/net/if.h
parentbb89e3d6c307a1a79e897baa85f1c0883f53316c (diff)
downloadFreeBSD-src-37abb2da7af11246870f24a1971e13cf70bb3933.zip
FreeBSD-src-37abb2da7af11246870f24a1971e13cf70bb3933.tar.gz
if.h:
Declare a complete prototype for the function pointer *ifa_rtrequest. radix.h: Declare a complete prototype for the function pointer *rnh_walktree and for the function rn_walktree. Uniformize idempotency ifdef.
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index 42cd7bd..006a6b6 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.6 1994/08/21 05:11:40 paul Exp $
+ * $Id: if.h,v 1.7 1994/10/01 19:44:38 wollman Exp $
*/
#ifndef _NET_IF_H_
@@ -233,7 +233,8 @@ struct ifaddr {
struct sockaddr *ifa_netmask; /* used to determine subnet */
struct ifnet *ifa_ifp; /* back-pointer to interface */
struct ifaddr *ifa_next; /* next address for interface */
- void (*ifa_rtrequest)(); /* check or clean routes (+ or -)'d */
+ void (*ifa_rtrequest) /* check or clean routes (+ or -)'d */
+ __P((int, struct rtentry *, struct sockaddr *));
u_short ifa_flags; /* mostly rt_flags for cloning */
short ifa_refcnt; /* extra to malloc for link info */
int ifa_metric; /* cost of going out this interface */
OpenPOWER on IntegriCloud