summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1996-11-11 04:56:32 +0000
committerfenner <fenner@FreeBSD.org>1996-11-11 04:56:32 +0000
commit51fa6f0e6c383037d81db2731606bf56378e1128 (patch)
treea1e9ea181d1b4cfcc3feaf4440cf48d359494bea /sys/netinet/ip_var.h
parent3b0a2952693ec15704f4dc217c9363c79260c647 (diff)
downloadFreeBSD-src-51fa6f0e6c383037d81db2731606bf56378e1128.zip
FreeBSD-src-51fa6f0e6c383037d81db2731606bf56378e1128.tar.gz
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).
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 59b3df8..6f36a03 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));
OpenPOWER on IntegriCloud