]>
Commit | Line | Data |
---|---|---|
997358a6 MW |
1 | Content-type: text/html |
2 | ||
3 | <HTML><HEAD><TITLE>Manpage of IPSEC_PF_KEY</TITLE> | |
4 | </HEAD><BODY> | |
5 | <H1>IPSEC_PF_KEY</H1> | |
6 | Section: 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"> </A> | |
13 | <H2>NAME</H2> | |
14 | ||
15 | ipsec_pf_key - lists PF_KEY sockets registered with KLIPS | |
16 | <A NAME="lbAC"> </A> | |
17 | <H2>SYNOPSIS</H2> | |
18 | ||
19 | <B>cat</B> | |
20 | ||
21 | <B>/proc/net/pf_key</B> | |
22 | ||
23 | <A NAME="lbAD"> </A> | |
24 | <H2>DESCRIPTION</H2> | |
25 | ||
26 | <I>/proc/net/pf_key</I> | |
27 | ||
28 | is a read-only file which lists the presently open PF_KEY sockets on the | |
29 | local system and their parameters. | |
30 | <P> | |
31 | ||
32 | Each line lists one PF_KEY socket. | |
33 | A table entry consists of: | |
34 | <DL COMPACT> | |
35 | <DT>+<DD> | |
36 | sock pointer (sock) | |
37 | <DT>+<DD> | |
38 | PID of the socket owner (pid) | |
39 | <DT>+<DD> | |
40 | flag to indicate if the socket is dead (d) | |
41 | <DT>+<DD> | |
42 | socket wait queue (sleep) | |
43 | <DT>+<DD> | |
44 | socket pointer (socket) | |
45 | <DT>+<DD> | |
46 | next socket in chain (next) | |
47 | <DT>+<DD> | |
48 | previous socket in chain (prev) | |
49 | <DT>+<DD> | |
50 | last socket error (e) | |
51 | <DT>+<DD> | |
52 | pointer to destruct routine (destruct) | |
53 | <DT>+<DD> | |
54 | is this a reused socket (r) | |
55 | <DT>+<DD> | |
56 | has this socket been zapped (z) | |
57 | <DT>+<DD> | |
58 | socket family to which this socket belongs (fa) | |
59 | <DT>+<DD> | |
60 | local port number (n) | |
61 | <DT>+<DD> | |
62 | protocol version number (p) | |
63 | <DT>+<DD> | |
64 | Receive queue bytes committed (r) | |
65 | <DT>+<DD> | |
66 | Transmit queue bytes committed (w) | |
67 | <DT>+<DD> | |
68 | option memory allocations (o) | |
69 | <DT>+<DD> | |
70 | size of send buffer in bytes (sndbf) | |
71 | <DT>+<DD> | |
72 | timestamp in seconds (stamp) | |
73 | <DT>+<DD> | |
74 | socket flags (Flags) | |
75 | <DT>+<DD> | |
76 | socket type (Type) | |
77 | <DT>+<DD> | |
78 | connection 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 | ||
89 | shows that there is one pf_key socket set up that starts at | |
90 | <B>c3b8c140</B>, | |
91 | ||
92 | whose owning process has PID | |
93 | <B>3553</B>, | |
94 | ||
95 | the socket is not dead, its wait queue is at | |
96 | <B>c0599818</B>, | |
97 | ||
98 | whose owning socket is at | |
99 | <B>c05997fc</B>, | |
100 | ||
101 | with no other sockets in the chain, no errors, no destructor, it is a | |
102 | reused 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 | ||
108 | protocol socket version | |
109 | <B>2</B>, | |
110 | ||
111 | no memory allocated to transmit, receive or option queues, a send buffer | |
112 | of almost | |
113 | <B>64kB</B>, | |
114 | ||
115 | a timestamp of | |
116 | <B>0.103232</B>, | |
117 | ||
118 | no flags set, type | |
119 | <B>3</B>, | |
120 | ||
121 | in state | |
122 | <B>1</B>. | |
123 | ||
124 | <A NAME="lbAE"> </A> | |
125 | <H2>FILES</H2> | |
126 | ||
127 | /proc/net/pf_key | |
128 | <A NAME="lbAF"> </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"> </A> | |
134 | <H2>HISTORY</H2> | |
135 | ||
136 | Written for the Linux FreeS/WAN project | |
137 | <<A HREF="http://www.freeswan.org/">http://www.freeswan.org/</A>> | |
138 | by 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"> </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> | |
171 | This document was created by | |
172 | <A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>, | |
173 | using the manual pages.<BR> | |
174 | Time: 21:40:18 GMT, November 11, 2003 | |
175 | </BODY> | |
176 | </HTML> |