diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-29 20:42:28 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-05-29 20:42:28 +0000 |
commit | 05fd61d8906ef4d0aa7696144112acedfe33c40e (patch) | |
tree | 45c411fc1a7fbc446085e7d1fd5399862559c14d /sys/netinet/in.h | |
parent | e90902bd5b82029c799a60faa9817d359a2b08fd (diff) |
Make savecontrol functions more generic and use them now for raw IP too.
Additionally add the IP_RECVIF option which returns the interface a packet
was received on. OK markus@ norby@
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index e9cf72408b8..33a9fb60315 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.69 2006/05/26 20:50:41 deraadt Exp $ */ +/* $OpenBSD: in.h,v 1.70 2006/05/29 20:42:27 claudio Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -264,6 +264,7 @@ struct ip_opts { #define IP_IPSEC_LOCAL_AUTH 27 /* buf; IPsec local auth material */ #define IP_IPSEC_REMOTE_AUTH 28 /* buf; IPsec remote auth material */ #define IP_IPCOMP_LEVEL 29 /* int; compression used */ +#define IP_RECVIF 30 /* bool; receive reception if w/dgram */ /* * Security levels - IPsec, not IPSO |