]> git.ipfire.org Git - people/ms/strongswan.git/blame - doc/manpage.d/ipsec_pf_key.5.html
(no commit message)
[people/ms/strongswan.git] / doc / manpage.d / ipsec_pf_key.5.html
CommitLineData
997358a6
MW
1Content-type: text/html
2
3<HTML><HEAD><TITLE>Manpage of IPSEC_PF_KEY</TITLE>
4</HEAD><BODY>
5<H1>IPSEC_PF_KEY</H1>
6Section: File Formats (5)<BR>Updated: 29 Jun 2000<BR><A HREF="#index">Index</A>
7<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
8
9
10
11
12<A NAME="lbAB">&nbsp;</A>
13<H2>NAME</H2>
14
15ipsec_pf_key - lists PF_KEY sockets registered with KLIPS
16<A NAME="lbAC">&nbsp;</A>
17<H2>SYNOPSIS</H2>
18
19<B>cat</B>
20
21<B>/proc/net/pf_key</B>
22
23<A NAME="lbAD">&nbsp;</A>
24<H2>DESCRIPTION</H2>
25
26<I>/proc/net/pf_key</I>
27
28is a read-only file which lists the presently open PF_KEY sockets on the
29local system and their parameters.
30<P>
31
32Each line lists one PF_KEY socket.
33A table entry consists of:
34<DL COMPACT>
35<DT>+<DD>
36sock pointer (sock)
37<DT>+<DD>
38PID of the socket owner (pid)
39<DT>+<DD>
40flag to indicate if the socket is dead (d)
41<DT>+<DD>
42socket wait queue (sleep)
43<DT>+<DD>
44socket pointer (socket)
45<DT>+<DD>
46next socket in chain (next)
47<DT>+<DD>
48previous socket in chain (prev)
49<DT>+<DD>
50last socket error (e)
51<DT>+<DD>
52pointer to destruct routine (destruct)
53<DT>+<DD>
54is this a reused socket (r)
55<DT>+<DD>
56has this socket been zapped (z)
57<DT>+<DD>
58socket family to which this socket belongs (fa)
59<DT>+<DD>
60local port number (n)
61<DT>+<DD>
62protocol version number (p)
63<DT>+<DD>
64Receive queue bytes committed (r)
65<DT>+<DD>
66Transmit queue bytes committed (w)
67<DT>+<DD>
68option memory allocations (o)
69<DT>+<DD>
70size of send buffer in bytes (sndbf)
71<DT>+<DD>
72timestamp in seconds (stamp)
73<DT>+<DD>
74socket flags (Flags)
75<DT>+<DD>
76socket type (Type)
77<DT>+<DD>
78connection state (St)
79<B>.SH</B>EXAMPLES
80
81<DT>
82<DD>
83<DT><B>c3b8c140 3553 0 c0599818 c05997fc 0 0 0 0 1 0 15 0 2 0 0 0 65535 0.103232 00000000 00000003 01</B>
84
85<DD>
86</DL>
87<P>
88
89shows that there is one pf_key socket set up that starts at
90<B>c3b8c140</B>,
91
92whose owning process has PID
93<B>3553</B>,
94
95the socket is not dead, its wait queue is at
96<B>c0599818</B>,
97
98whose owning socket is at
99<B>c05997fc</B>,
100
101with no other sockets in the chain, no errors, no destructor, it is a
102reused socket which has not been zapped, from protocol family
103<B>15</B>
104
105(PF_KEY), local port number
106<B>0</B>,
107
108protocol socket version
109<B>2</B>,
110
111no memory allocated to transmit, receive or option queues, a send buffer
112of almost
113<B>64kB</B>,
114
115a timestamp of
116<B>0.103232</B>,
117
118no flags set, type
119<B>3</B>,
120
121in state
122<B>1</B>.
123
124<A NAME="lbAE">&nbsp;</A>
125<H2>FILES</H2>
126
127/proc/net/pf_key
128<A NAME="lbAF">&nbsp;</A>
129<H2>SEE ALSO</H2>
130
131<A HREF="ipsec.8.html">ipsec</A>(8), <A HREF="ipsec_manual.8.html">ipsec_manual</A>(8), <A HREF="ipsec_eroute.5.html">ipsec_eroute</A>(5), <A HREF="ipsec_spi.5.html">ipsec_spi</A>(5),
132<A HREF="ipsec_spigrp.5.html">ipsec_spigrp</A>(5), <A HREF="ipsec_klipsdebug.5.html">ipsec_klipsdebug</A>(5), <A HREF="ipsec_tncfg.8.html">ipsec_tncfg</A>(8), <A HREF="ipsec_version.5.html">ipsec_version</A>(5)
133<A NAME="lbAG">&nbsp;</A>
134<H2>HISTORY</H2>
135
136Written for the Linux FreeS/WAN project
137&lt;<A HREF="http://www.freeswan.org/">http://www.freeswan.org/</A>&gt;
138by Richard Guy Briggs.
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158<P>
159
160<HR>
161<A NAME="index">&nbsp;</A><H2>Index</H2>
162<DL>
163<DT><A HREF="#lbAB">NAME</A><DD>
164<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
165<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
166<DT><A HREF="#lbAE">FILES</A><DD>
167<DT><A HREF="#lbAF">SEE ALSO</A><DD>
168<DT><A HREF="#lbAG">HISTORY</A><DD>
169</DL>
170<HR>
171This document was created by
172<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
173using the manual pages.<BR>
174Time: 21:40:18 GMT, November 11, 2003
175</BODY>
176</HTML>