summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_ipsec.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2007-08-05 16:16:15 +0000
committerbz <bz@FreeBSD.org>2007-08-05 16:16:15 +0000
commit3793d89229b35eb423617b68199d0d05bced154b (patch)
tree5dbf6d16651fa5f4766b06925544da591a2f99c8 /sys/netinet/ip_ipsec.h
parent2e613b81275b754323270ba112f9d73a553d837a (diff)
downloadFreeBSD-src-3793d89229b35eb423617b68199d0d05bced154b.zip
FreeBSD-src-3793d89229b35eb423617b68199d0d05bced154b.tar.gz
Rename option IPSEC_FILTERGIF to IPSEC_FILTERTUNNEL.
Also rename the related functions in a similar way. There are no functional changes. For a packet coming in with IPsec tunnel mode, the default is to only call into the firewall with the "outer" IP header and payload. With this option turned on, in addition to the "outer" parts, the "inner" IP header and payload are passed to the firewall too when going through ip_input() the second time. The option was never only related to a gif(4) tunnel within an IPsec tunnel and thus the name was very misleading. Discussed at: BSDCan 2007 Best new name suggested by: rwatson Reviewed by: rwatson Approved by: re (bmah)
Diffstat (limited to 'sys/netinet/ip_ipsec.h')
-rw-r--r--sys/netinet/ip_ipsec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsec.h b/sys/netinet/ip_ipsec.h
index f0b0b5a..af82b31 100644
--- a/sys/netinet/ip_ipsec.h
+++ b/sys/netinet/ip_ipsec.h
@@ -32,7 +32,7 @@
#ifndef _NETINET_IP_IPSEC_H_
#define _NETINET_IP_IPSEC_H_
-int ip_ipsec_filtergif(struct mbuf *);
+int ip_ipsec_filtertunnel(struct mbuf *);
int ip_ipsec_fwd(struct mbuf *);
int ip_ipsec_input(struct mbuf *);
int ip_ipsec_mtu(struct mbuf *);
OpenPOWER on IntegriCloud