From 82c23eba89cf4963f60f4fb2b1f416904145edeb Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Mon, 11 Nov 1996 04:56:32 +0000 Subject: Add the IP_RECVIF socket option, which supplies a packet's incoming interface using a sockaddr_dl. Fix the other packet-information socket options (SO_TIMESTAMP, IP_RECVDSTADDR) to work for multicast UDP and raw sockets as well. (They previously only worked for unicast UDP). --- sys/netinet/ip_var.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/netinet/ip_var.h') diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 59b3df8795c7..6f36a03e694f 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ip_var.h 8.2 (Berkeley) 1/9/95 - * $Id: ip_var.h,v 1.23 1996/10/23 18:35:50 wollman Exp $ + * $Id: ip_var.h,v 1.24 1996/10/25 17:57:46 fenner Exp $ */ #ifndef _NETINET_IP_VAR_H_ @@ -177,6 +177,8 @@ extern int (*ip_mforward) __P((struct ip *, struct ifnet *, struct mbuf *, struct ip_moptions *)); int ip_output __P((struct mbuf *, struct mbuf *, struct route *, int, struct ip_moptions *)); +void ip_savecontrol __P((struct inpcb *, struct mbuf **, struct ip *, + struct mbuf *)); void ip_slowtimo __P((void)); struct mbuf * ip_srcroute __P((void)); -- cgit v1.2.3