From 2469c867a164210ce96143517059f21db7f1fd17 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Wed, 25 May 1994 09:21:21 +0000 Subject: The big 4.4BSD Lite to FreeBSD 2.0.0 (Development) patch. Reviewed by: Rodney W. Grimes Submitted by: John Dyson and David Greenman --- sys/netinet/in.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/netinet/in.c') diff --git a/sys/netinet/in.c b/sys/netinet/in.c index e8b481b..bcf34e8 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -34,6 +34,7 @@ */ #include +#include #include #include #include @@ -91,6 +92,7 @@ int subnetsarelocal = SUBNETSARELOCAL; * is true, this includes other subnets of the local net. * Otherwise, it includes only the directly-connected (sub)nets. */ +int in_localaddr(in) struct in_addr in; { @@ -114,6 +116,7 @@ in_localaddr(in) * that may not be forwarded, or whether datagrams to that destination * may be forwarded. */ +int in_canforward(in) struct in_addr in; { @@ -156,6 +159,7 @@ extern struct ifnet loif; * Ifp is 0 if not an interface-specific ioctl. */ /* ARGSUSED */ +int in_control(so, cmd, data, ifp) struct socket *so; int cmd; @@ -395,6 +399,7 @@ in_ifscrub(ifp, ia) * Initialize an interface's internet address * and routing table entry. */ +int in_ifinit(ifp, ia, sin, scrub) register struct ifnet *ifp; register struct in_ifaddr *ia; @@ -483,6 +488,7 @@ in_ifinit(ifp, ia, sin, scrub) /* * Return 1 if the address might be a local broadcast address. */ +int in_broadcast(in, ifp) struct in_addr in; struct ifnet *ifp; @@ -584,7 +590,7 @@ in_addmulti(ap, ifp) /* * Delete a multicast address record. */ -int +void in_delmulti(inm) register struct in_multi *inm; { -- cgit v1.1