diff options
Diffstat (limited to 'lib/libipsec')
-rw-r--r-- | lib/libipsec/ipsec_set_policy.3 | 21 |
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 |