. add a note about IPv6/IPsec integration to the FreeBSD

. replace .Po/.Pc pairs with .Pq
. remove some unneeded comments
. .Lb-ify
This commit is contained in:
Alexey Zelkin 2000-05-01 14:40:06 +00:00
parent b4bc89bdd1
commit 6be6c65006

View File

@ -30,14 +30,14 @@
.\" .\"
.Dd May 5, 1998 .Dd May 5, 1998
.Dt IPSEC_SET_POLICY 3 .Dt IPSEC_SET_POLICY 3
.Os KAME .Os
.\"
.Sh NAME .Sh NAME
.Nm ipsec_set_policy , .Nm ipsec_set_policy ,
.Nm ipsec_get_policylen , .Nm ipsec_get_policylen ,
.Nm ipsec_dump_policy .Nm ipsec_dump_policy
.Nd manipulate IPsec policy specification structure from readable string .Nd manipulate IPsec policy specification structure from readable string
.\" .Sh LIBRARY
.Lb libipsec
.Sh SYNOPSIS .Sh SYNOPSIS
.Fd #include <sys/types.h> .Fd #include <sys/types.h>
.Fd #include <netinet6/ipsec.h> .Fd #include <netinet6/ipsec.h>
@ -47,7 +47,6 @@
.Fn ipsec_get_policylen "char *buf" .Fn ipsec_get_policylen "char *buf"
.Ft "char *" .Ft "char *"
.Fn ipsec_dump_policy "char *buf" "char *delim" .Fn ipsec_dump_policy "char *buf" "char *delim"
.\"
.Sh DESCRIPTION .Sh DESCRIPTION
.Fn ipsec_set_policy .Fn ipsec_set_policy
generates IPsec policy specification structure, namely 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 It is caller's responsibility to reclaim the region, by using
.Xr free 3 . .Xr free 3 .
.Pp .Pp
.\"
.Fa policy .Fa policy
is formatted as either of the following: is formatted as either of the following:
.Bl -tag -width "discard" .Bl -tag -width "discard"
@ -108,9 +106,7 @@ means to consult to SPD defined by
.It Ar direction Li bypass .It Ar direction Li bypass
.Li bypass .Li bypass
means to be bypassed the IPsec processing. means to be bypassed the IPsec processing.
.Po .Pq packet will be transmitted in clear .
packet will be transmitted in clear
.Pc .
This is for privileged socket. This is for privileged socket.
.It Xo .It Xo
.Ar direction .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 in ipsec ipcomp/transport/10.1.1.2-10.1.1.1/use
esp/transport/10.1.1.2-10.1.1.1/use esp/transport/10.1.1.2-10.1.1.1/use
.Ed .Ed
.\"
.Sh RETURN VALUES .Sh RETURN VALUES
.Fn ipsec_set_policy .Fn ipsec_set_policy
returns a pointer to the allocated buffer of policy specification if successful; otherwise a NULL pointer is returned. 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 and
.Dv NULL .Dv NULL
on errors. on errors.
.\"
.Sh SEE ALSO .Sh SEE ALSO
.Xr ipsec_strerror 3 , .Xr ipsec_strerror 3 ,
.Xr ipsec 4 , .Xr ipsec 4 ,
.Xr setkey 8 .Xr setkey 8
.\"
.Sh HISTORY .Sh HISTORY
The functions first appeared in WIDE/KAME IPv6 protocol stack kit. The functions first appeared in WIDE/KAME IPv6 protocol stack kit.
.\" IPv6 and IPsec support based on the KAME Project (http://www.kame.net/) stack
.\" .Sh BUGS was initialy integrated into
.\" (to be written) .Fx 4.0