summaryrefslogtreecommitdiffstats
path: root/lib/libipsec
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2000-05-01 14:40:06 +0000
committerphantom <phantom@FreeBSD.org>2000-05-01 14:40:06 +0000
commit7ee9c71cc0155f240eed2286c1b02f1830d1e058 (patch)
treee0a6d71a43e58e561c3703fbaf54319a92a8afcb /lib/libipsec
parent748235692ed23a3e20951c03883bbf217f04e9b7 (diff)
downloadFreeBSD-src-7ee9c71cc0155f240eed2286c1b02f1830d1e058.zip
FreeBSD-src-7ee9c71cc0155f240eed2286c1b02f1830d1e058.tar.gz
. add a note about IPv6/IPsec integration to the FreeBSD
. replace .Po/.Pc pairs with .Pq . remove some unneeded comments . .Lb-ify
Diffstat (limited to 'lib/libipsec')
-rw-r--r--lib/libipsec/ipsec_set_policy.321
1 files changed, 7 insertions, 14 deletions
diff --git a/lib/libipsec/ipsec_set_policy.3 b/lib/libipsec/ipsec_set_policy.3
index 52385cc..9870749 100644
--- a/lib/libipsec/ipsec_set_policy.3
+++ b/lib/libipsec/ipsec_set_policy.3
@@ -30,14 +30,14 @@
.\"
.Dd May 5, 1998
.Dt IPSEC_SET_POLICY 3
-.Os KAME
-.\"
+.Os
.Sh NAME
.Nm ipsec_set_policy ,
.Nm ipsec_get_policylen ,
.Nm ipsec_dump_policy
.Nd manipulate IPsec policy specification structure from readable string
-.\"
+.Sh LIBRARY
+.Lb libipsec
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <netinet6/ipsec.h>
@@ -47,7 +47,6 @@
.Fn ipsec_get_policylen "char *buf"
.Ft "char *"
.Fn ipsec_dump_policy "char *buf" "char *delim"
-.\"
.Sh DESCRIPTION
.Fn ipsec_set_policy
generates IPsec policy specification structure, namely
@@ -90,7 +89,6 @@ returns pointer to dynamically allocated string.
It is caller's responsibility to reclaim the region, by using
.Xr free 3 .
.Pp
-.\"
.Fa policy
is formatted as either of the following:
.Bl -tag -width "discard"
@@ -108,9 +106,7 @@ means to consult to SPD defined by
.It Ar direction Li bypass
.Li bypass
means to be bypassed the IPsec processing.
-.Po
-packet will be transmitted in clear
-.Pc .
+.Pq packet will be transmitted in clear .
This is for privileged socket.
.It Xo
.Ar direction
@@ -228,7 +224,6 @@ in ipsec esp/transport/10.1.1.2-10.1.1.1/use
in ipsec ipcomp/transport/10.1.1.2-10.1.1.1/use
esp/transport/10.1.1.2-10.1.1.1/use
.Ed
-.\"
.Sh RETURN VALUES
.Fn ipsec_set_policy
returns a pointer to the allocated buffer of policy specification if successful; otherwise a NULL pointer is returned.
@@ -241,14 +236,12 @@ returns a pointer to dynamically allocated region on success,
and
.Dv NULL
on errors.
-.\"
.Sh SEE ALSO
.Xr ipsec_strerror 3 ,
.Xr ipsec 4 ,
.Xr setkey 8
-.\"
.Sh HISTORY
The functions first appeared in WIDE/KAME IPv6 protocol stack kit.
-.\"
-.\" .Sh BUGS
-.\" (to be written)
+IPv6 and IPsec support based on the KAME Project (http://www.kame.net/) stack
+was initialy integrated into
+.Fx 4.0
OpenPOWER on IntegriCloud