summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-02-01 18:09:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-02-01 18:09:24 +0000
commit05a938f80760180ba512b01ca970c4fd19e6d94d (patch)
tree5ad4117e4374605014b2931f400e2bf140ca5c55 /sys/netinet/ip_var.h
parent51f4348073522b19d6315d911db461119527fe75 (diff)
support wildcard loopbacks. that is, setting up lo1 like:
ifconfig lo1 inet 192.168.1.1 netmask 255.255.255.0 link1 would force it to act like all the addresses from net 192.168.1 were added to the interface. todo: man lo
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 743172b3cf9..99ef2926aad 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_var.h,v 1.5 1997/02/20 01:08:09 deraadt Exp $ */
+/* $OpenBSD: ip_var.h,v 1.6 1998/02/01 18:09:23 mickey Exp $ */
/* $NetBSD: ip_var.h,v 1.16 1996/02/13 23:43:20 christos Exp $ */
/*
@@ -178,6 +178,8 @@ int ip_pcbopts __P((struct mbuf **, struct mbuf *));
struct ip *
ip_reass __P((struct ipqent *, struct ipq *));
struct in_ifaddr *
+ in_iawithaddr __P((struct in_addr, struct mbuf *));
+struct in_ifaddr *
ip_rtaddr __P((struct in_addr));
int ip_setmoptions __P((int, struct ip_moptions **, struct mbuf *));
void ip_slowtimo __P((void));