Debian Codegraph @

templates/man7/ip.7.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:28+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "ip"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "ip - Linux IPv4 protocol implementation"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "SYNOPSIS"
57 msgstr ""
58
59 #. .B #include <net/netinet.h> -- does not exist anymore
60 #. .B #include <linux/errqueue.h> -- never include <linux/foo.h>
61 #. type: Plain text
62 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
63 #: opensuse-tumbleweed
64 #, no-wrap
65 msgid ""
66 "B<#include E<lt>sys/socket.hE<gt>>\n"
67 "B<#include E<lt>netinet/in.hE<gt>>\n"
68 "B<#include E<lt>netinet/ip.hE<gt>> /* superset of previous */\n"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid ""
76 "I<tcp_socket>B< = socket(AF_INET, SOCK_STREAM, 0);>\n"
77 "I<udp_socket>B< = socket(AF_INET, SOCK_DGRAM, 0);>\n"
78 "I<raw_socket>B< = socket(AF_INET, SOCK_RAW, >I<protocol>B<);>\n"
79 msgstr ""
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "DESCRIPTION"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 msgid ""
92 "Linux implements the Internet Protocol, version 4, described in RFC\\ 791 "
93 "and RFC\\ 1122. B<ip> contains a level 2 multicasting implementation "
94 "conforming to RFC\\ 1112. It also contains an IP router including a packet "
95 "filter."
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "The programming interface is BSD-sockets compatible. For more information "
103 "on sockets, see B<socket>(7)."
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid "An IP socket is created using B<socket>(2):"
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "socket(AF_INET, socket_type, protocol);\n"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "Valid socket types include B<SOCK_STREAM> to open a stream socket, "
124 "B<SOCK_DGRAM> to open a datagram socket, and B<SOCK_RAW> to open a "
125 "B<raw>(7) socket to access the IP protocol directly."
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "I<protocol> is the IP protocol in the IP header to be received or sent. "
133 "Valid values for I<protocol> include:"
134 msgstr ""
135
136 #. type: IP
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "\\[bu]"
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid "0 and B<IPPROTO_TCP> for B<tcp>(7) stream sockets;"
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid "0 and B<IPPROTO_UDP> for B<udp>(7) datagram sockets;"
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid "B<IPPROTO_SCTP> for B<sctp>(7) stream sockets; and"
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid "B<IPPROTO_UDPLITE> for B<udplite>(7) datagram sockets."
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "For B<SOCK_RAW> you may specify a valid IANA IP protocol defined in RFC\\ "
172 "1700 assigned numbers."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "When a process wants to receive new incoming packets or connections, it "
180 "should bind a socket to a local interface address using B<bind>(2). In this "
181 "case, only one IP socket may be bound to any given local (address, port) "
182 "pair. When B<INADDR_ANY> is specified in the bind call, the socket will be "
183 "bound to I<all> local interfaces. When B<listen>(2) is called on an "
184 "unbound socket, the socket is automatically bound to a random free port with "
185 "the local address set to B<INADDR_ANY>. When B<connect>(2) is called on an "
186 "unbound socket, the socket is automatically bound to a random free port or "
187 "to a usable shared port with the local address set to B<INADDR_ANY>."
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "A TCP local socket address that has been bound is unavailable for some time "
195 "after closing, unless the B<SO_REUSEADDR> flag has been set. Care should be "
196 "taken when using this flag as it makes TCP less reliable."
197 msgstr ""
198
199 #. type: SS
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "Address format"
204 msgstr ""
205
206 #. type: Plain text
207 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
208 #: opensuse-tumbleweed
209 msgid ""
210 "An IP socket address is defined as a combination of an IP interface address "
211 "and a 16-bit port number. The basic IP protocol does not supply port "
212 "numbers, they are implemented by higher level protocols like B<udp>(7) and "
213 "B<tcp>(7). On raw sockets I<.sin_port> is set to the IP protocol."
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
218 #: opensuse-tumbleweed
219 msgid "See B<sockaddr_in>(3type)."
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
224 #: opensuse-tumbleweed
225 msgid ""
226 "I<.sin_family> is always set to B<AF_INET>. This is required; in Linux 2.2 "
227 "most networking functions return B<EINVAL> when this setting is missing. "
228 "I<.sin_port> contains the port in network byte order. The port numbers "
229 "below 1024 are called I<privileged ports> (or sometimes: I<reserved "
230 "ports>). Only a privileged process (on Linux: a process that has the "
231 "B<CAP_NET_BIND_SERVICE> capability in the user namespace governing its "
232 "network namespace) may B<bind>(2) to these sockets. Note that the raw IPv4 "
233 "protocol as such has no concept of a port, they are implemented only by "
234 "higher protocols like B<tcp>(7) and B<udp>(7)."
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
239 #: opensuse-tumbleweed
240 msgid ""
241 "I<.sin_addr> is the IP host address. The I<.s_addr> member of the "
242 "B<in_addr>(3type) structure contains the host interface address in network "
243 "byte order. B<in_addr>(3type) should be assigned one of the B<INADDR_*> "
244 "values (e.g., B<INADDR_LOOPBACK>) using B<htonl>(3) or set using the "
245 "B<inet_aton>(3), B<inet_addr>(3), B<inet_makeaddr>(3) library functions or "
246 "directly with the name resolver (see B<gethostbyname>(3))."
247 msgstr ""
248
249 #. Leave a loophole for XTP @)
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "IPv4 addresses are divided into unicast, broadcast, and multicast "
255 "addresses. Unicast addresses specify a single interface of a host, "
256 "broadcast addresses specify all hosts on a network, and multicast addresses "
257 "address all hosts in a multicast group. Datagrams to broadcast addresses "
258 "can be sent or received only when the B<SO_BROADCAST> socket flag is set. "
259 "In the current implementation, connection-oriented sockets are allowed to "
260 "use only unicast addresses."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "Note that the address and the port are always stored in network byte order. "
268 "In particular, this means that you need to call B<htons>(3) on the number "
269 "that is assigned to a port. All address/port manipulation functions in the "
270 "standard library work in network byte order."
271 msgstr ""
272
273 #. type: SS
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "Special and reserved addresses"
278 msgstr ""
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "There are several special addresses:"
284 msgstr ""
285
286 #. type: TP
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<INADDR_LOOPBACK> (127.0.0.1)"
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "always refers to the local host via the loopback device;"
297 msgstr ""
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<INADDR_ANY> (0.0.0.0)"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid "means any address for socket binding;"
310 msgstr ""
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "B<INADDR_BROADCAST> (255.255.255.255)"
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
321 #: opensuse-tumbleweed
322 msgid ""
323 "A packet addressed to B<INADDR_BROADCAST> through a socket which has "
324 "B<SO_BROADCAST> set will be broadcast to all hosts on the local network "
325 "segment, as long as the link is broadcast-capable."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "Highest-numbered address"
333 msgstr ""
334
335 #. type: TQ
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "Lowest-numbered address"
340 msgstr ""
341
342 #. commit 58fee5fc83658aaacf60246aeab738946a9ba516
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid ""
347 "On any locally-attached non-point-to-point IP subnet with a link type that "
348 "supports broadcasts, the highest-numbered address (e.g., the .255 address on "
349 "a subnet with netmask 255.255.255.0) is designated as a broadcast address. "
350 "It cannot usefully be assigned to an individual interface, and can only be "
351 "addressed with a socket on which the B<SO_BROADCAST> option has been set. "
352 "Internet standards have historically also reserved the lowest-numbered "
353 "address (e.g., the .0 address on a subnet with netmask 255.255.255.0) for "
354 "broadcast, though they call it \"obsolete\" for this purpose. (Some sources "
355 "also refer to this as the \"network address.\") Since Linux 5.14, it is "
356 "treated as an ordinary unicast address and can be assigned to an interface."
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "Internet standards have traditionally also reserved various addresses for "
364 "particular uses, though Linux no longer treats some of these specially."
365 msgstr ""
366
367 #. type: TP
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 #, no-wrap
371 msgid "[0.0.0.1, 0.255.255.255]"
372 msgstr ""
373
374 #. type: TQ
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "[240.0.0.0, 255.255.255.254]"
379 msgstr ""
380
381 #. commit 96125bf9985a75db00496dd2bc9249b777d2b19b
382 #. commit 1e637c74b0f84eaca02b914c0b8c6f67276e9697
383 #. type: Plain text
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 msgid ""
387 "Addresses in these ranges (0/8 and 240/4) are reserved globally. Since "
388 "Linux 5.3 and Linux 2.6.25, respectively, the 0/8 and 240/4 addresses, other "
389 "than B<INADDR_ANY> and B<INADDR_BROADCAST>, are treated as ordinary unicast "
390 "addresses. Systems that follow the traditional behaviors may not "
391 "interoperate with these historically reserved addresses."
392 msgstr ""
393
394 #. type: TP
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "[127.0.0.1, 127.255.255.254]"
399 msgstr ""
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "Addresses in this range (127/8) are treated as loopback addresses akin to "
406 "the standardized local loopback address B<INADDR_LOOPBACK> (127.0.0.1);"
407 msgstr ""
408
409 #. type: TP
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "[224.0.0.0, 239.255.255.255]"
414 msgstr ""
415
416 #. type: Plain text
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 msgid "Addresses in this range (224/4) are dedicated to multicast use."
420 msgstr ""
421
422 #. type: SS
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 #, no-wrap
426 msgid "Socket options"
427 msgstr ""
428
429 #. type: Plain text
430 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
431 #: opensuse-tumbleweed
432 msgid "See B<IPPROTO_IP>(2const)."
433 msgstr ""
434
435 #. type: SS
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 #, no-wrap
439 msgid "/proc interfaces"
440 msgstr ""
441
442 #. type: Plain text
443 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
444 #: opensuse-tumbleweed
445 msgid "See B<proc_sys_net_ipv4>(5)."
446 msgstr ""
447
448 #. type: SS
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "Ioctls"
453 msgstr ""
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid "All ioctls described in B<socket>(7) apply to B<ip>."
459 msgstr ""
460
461 #. FIXME Add a discussion of multicasting
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "Ioctls to configure generic device parameters are described in "
467 "B<netdevice>(7)."
468 msgstr ""
469
470 #. type: SH
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "ERRORS"
475 msgstr ""
476
477 #. type: TP
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<EACCES>"
482 msgstr ""
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid ""
488 "The user tried to execute an operation without the necessary permissions. "
489 "These include: sending a packet to a broadcast address without having the "
490 "B<SO_BROADCAST> flag set; sending a packet via a I<prohibit> route; "
491 "modifying firewall settings without superuser privileges (the "
492 "B<CAP_NET_ADMIN> capability); binding to a privileged port without superuser "
493 "privileges (the B<CAP_NET_BIND_SERVICE> capability)."
494 msgstr ""
495
496 #. type: TP
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "B<EADDRINUSE>"
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 msgid "Tried to bind to an address already in use."
507 msgstr ""
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<EADDRNOTAVAIL>"
514 msgstr ""
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid ""
520 "A nonexistent interface was requested or the requested source address was "
521 "not local."
522 msgstr ""
523
524 #. type: TP
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 #, no-wrap
528 msgid "B<EAGAIN>"
529 msgstr ""
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "Operation on a nonblocking socket would block."
535 msgstr ""
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "B<EALREADY>"
542 msgstr ""
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid "A connection operation on a nonblocking socket is already in progress."
548 msgstr ""
549
550 #. type: TP
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 #, no-wrap
554 msgid "B<ECONNABORTED>"
555 msgstr ""
556
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid "A connection was closed during an B<accept>(2)."
561 msgstr ""
562
563 #. type: TP
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid "B<EHOSTUNREACH>"
568 msgstr ""
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid ""
574 "No valid routing table entry matches the destination address. This error "
575 "can be caused by an ICMP message from a remote router or for the local "
576 "routing table."
577 msgstr ""
578
579 #. type: TP
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 #, no-wrap
583 msgid "B<EINVAL>"
584 msgstr ""
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "Invalid argument passed. For send operations this can be caused by sending "
591 "to a I<blackhole> route."
592 msgstr ""
593
594 #. type: TP
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "B<EISCONN>"
599 msgstr ""
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid "B<connect>(2) was called on an already connected socket."
605 msgstr ""
606
607 #. type: TP
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "B<EMSGSIZE>"
612 msgstr ""
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid "Datagram is bigger than an MTU on the path and it cannot be fragmented."
618 msgstr ""
619
620 #. type: TP
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "B<ENOBUFS>"
625 msgstr ""
626
627 #. type: TQ
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid "B<ENOMEM>"
632 msgstr ""
633
634 #. type: Plain text
635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
636 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
637 msgid ""
638 "Not enough free memory. This often means that the memory allocation is "
639 "limited by the socket buffer limits, not by the system memory, but this is "
640 "not 100% consistent."
641 msgstr ""
642
643 #. type: TP
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, no-wrap
647 msgid "B<ENOENT>"
648 msgstr ""
649
650 #. type: Plain text
651 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
652 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
653 msgid "B<SIOCGSTAMP> was called on a socket where no packet arrived."
654 msgstr ""
655
656 #. type: TP
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid "B<ENOPKG>"
661 msgstr ""
662
663 #. type: Plain text
664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
665 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
666 msgid "A kernel subsystem was not configured."
667 msgstr ""
668
669 #. type: TP
670 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
671 #: opensuse-leap-16-1 opensuse-tumbleweed
672 #, no-wrap
673 msgid "B<ENOPROTOOPT>"
674 msgstr ""
675
676 #. type: TQ
677 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
678 #: opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "B<EOPNOTSUPP>"
681 msgstr ""
682
683 #. type: Plain text
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 msgid "Invalid socket option passed."
687 msgstr ""
688
689 #. type: TP
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "B<ENOTCONN>"
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 msgid ""
700 "The operation is defined only on a connected socket, but the socket wasn't "
701 "connected."
702 msgstr ""
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "B<EPERM>"
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "User doesn't have permission to set high priority, change configuration, or "
716 "send signals to the requested process or group."
717 msgstr ""
718
719 #. type: TP
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid "B<EPIPE>"
724 msgstr ""
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid "The connection was unexpectedly closed or shut down by the other end."
730 msgstr ""
731
732 #. type: TP
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "B<ESOCKTNOSUPPORT>"
737 msgstr ""
738
739 #. type: Plain text
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 msgid "The socket is not configured or an unknown socket type was requested."
743 msgstr ""
744
745 #. type: Plain text
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 msgid ""
749 "Other errors may be generated by the overlaying protocols; see B<tcp>(7), "
750 "B<raw>(7), B<udp>(7), and B<socket>(7)."
751 msgstr ""
752
753 #. type: SH
754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
755 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
756 #, no-wrap
757 msgid "NOTES"
758 msgstr ""
759
760 #. type: Plain text
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 msgid ""
764 "Be very careful with the B<SO_BROADCAST> option - it is not privileged in "
765 "Linux. It is easy to overload the network with careless broadcasts. For "
766 "new application protocols it is better to use a multicast group instead of "
767 "broadcasting. Broadcasting is discouraged. See RFC 6762 for an example of "
768 "a protocol (mDNS) using the more modern multicast approach to communicating "
769 "with an open-ended group of hosts on the local network."
770 msgstr ""
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "Using the B<SOL_IP> socket options level isn't portable; BSD-based stacks "
777 "use the B<IPPROTO_IP> level."
778 msgstr ""
779
780 #. type: Plain text
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 msgid ""
784 "B<INADDR_ANY> (0.0.0.0) and B<INADDR_BROADCAST> (255.255.255.255) are byte-"
785 "order-neutral. This means B<htonl>(3) has no effect on them."
786 msgstr ""
787
788 #. type: SS
789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
790 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
791 #, no-wrap
792 msgid "Compatibility"
793 msgstr ""
794
795 #. type: Plain text
796 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
797 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
798 msgid ""
799 "For compatibility with Linux 2.0, the obsolete B<socket(AF_INET, "
800 "SOCK_PACKET, >I<protocol>B<)> syntax is still supported to open a "
801 "B<packet>(7) socket. This is deprecated and should be replaced by "
802 "B<socket(AF_PACKET, SOCK_RAW, >I<protocol>B<)> instead. The main difference "
803 "is the new I<sockaddr_ll> address structure for generic link layer "
804 "information instead of the old B<sockaddr_pkt>."
805 msgstr ""
806
807 #. type: SH
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 #, no-wrap
811 msgid "BUGS"
812 msgstr ""
813
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid "There are too many inconsistent error values."
818 msgstr ""
819
820 #. type: Plain text
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 msgid ""
824 "The error used to diagnose exhaustion of the ephemeral port range differs "
825 "across the various system calls (B<connect>(2), B<bind>(2), B<listen>(2), "
826 "B<sendto>(2)) that can assign ephemeral ports."
827 msgstr ""
828
829 #. .P
830 #. Some versions of glibc forget to declare
831 #. .IR in_pktinfo .
832 #. Workaround currently is to copy it into your program from this man page.
833 #. type: Plain text
834 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
835 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
836 msgid ""
837 "The ioctls to configure IP-specific interface options and ARP tables are not "
838 "described."
839 msgstr ""
840
841 #. .SH AUTHORS
842 #. This man page was written by Andi Kleen.
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "Receiving the original destination address with B<MSG_ERRQUEUE> in "
848 "I<msg_name> by B<recvmsg>(2) does not work in some Linux 2.2 kernels."
849 msgstr ""
850
851 #. type: SH
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 #, no-wrap
855 msgid "SEE ALSO"
856 msgstr ""
857
858 #. type: Plain text
859 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
860 #: opensuse-tumbleweed
861 msgid ""
862 "B<IPPROTO_IP>(2const), B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), "
863 "B<capabilities>(7), B<icmp>(7), B<ipv6>(7), B<netdevice>(7), B<netlink>(7), "
864 "B<raw>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
865 msgstr ""
866
867 #. type: Plain text
868 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
869 #: opensuse-tumbleweed
870 msgid "The kernel source file I<Documentation/networking/ip-sysctl.rst>."
871 msgstr ""
872
873 #. type: Plain text
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
876 msgid ""
877 "RFC\\ 791 for the original IP specification. RFC\\ 1122 for the IPv4 host "
878 "requirements. RFC\\ 1812 for the IPv4 router requirements."
879 msgstr ""
880
881 #. type: TH
882 #: debian-trixie
883 #, no-wrap
884 msgid "2024-05-02"
885 msgstr ""
886
887 #. type: TH
888 #: debian-trixie
889 #, no-wrap
890 msgid "Linux man-pages 6.9.1"
891 msgstr ""
892
893 #. .B #include <net/netinet.h> -- does not exist anymore
894 #. .B #include <linux/errqueue.h> -- never include <linux/foo.h>
895 #. type: Plain text
896 #: debian-trixie fedora-44 fedora-rawhide
897 #, no-wrap
898 msgid ""
899 "B<#include E<lt>sys/socket.hE<gt>>\n"
900 "B<#include E<lt>netinet/in.hE<gt>>\n"
901 "B<#include E<lt>netinet/ip.hE<gt> >/* superset of previous */\n"
902 msgstr ""
903
904 #. type: Plain text
905 #: debian-trixie fedora-44 fedora-rawhide
906 msgid ""
907 "An IP socket address is defined as a combination of an IP interface address "
908 "and a 16-bit port number. The basic IP protocol does not supply port "
909 "numbers, they are implemented by higher level protocols like B<udp>(7) and "
910 "B<tcp>(7). On raw sockets I<sin_port> is set to the IP protocol."
911 msgstr ""
912
913 #. type: Plain text
914 #: debian-trixie fedora-44 fedora-rawhide
915 #, no-wrap
916 msgid ""
917 "struct sockaddr_in {\n"
918 " sa_family_t sin_family; /* address family: AF_INET */\n"
919 " in_port_t sin_port; /* port in network byte order */\n"
920 " struct in_addr sin_addr; /* internet address */\n"
921 "};\n"
922 "\\&\n"
923 "/* Internet address */\n"
924 "struct in_addr {\n"
925 " uint32_t s_addr; /* address in network byte order */\n"
926 "};\n"
927 msgstr ""
928
929 #. type: Plain text
930 #: debian-trixie fedora-44 fedora-rawhide
931 msgid ""
932 "I<sin_family> is always set to B<AF_INET>. This is required; in Linux 2.2 "
933 "most networking functions return B<EINVAL> when this setting is missing. "
934 "I<sin_port> contains the port in network byte order. The port numbers below "
935 "1024 are called I<privileged ports> (or sometimes: I<reserved ports>). Only "
936 "a privileged process (on Linux: a process that has the "
937 "B<CAP_NET_BIND_SERVICE> capability in the user namespace governing its "
938 "network namespace) may B<bind>(2) to these sockets. Note that the raw IPv4 "
939 "protocol as such has no concept of a port, they are implemented only by "
940 "higher protocols like B<tcp>(7) and B<udp>(7)."
941 msgstr ""
942
943 #. type: Plain text
944 #: debian-trixie fedora-44 fedora-rawhide
945 msgid ""
946 "I<sin_addr> is the IP host address. The I<s_addr> member of I<struct "
947 "in_addr> contains the host interface address in network byte order. "
948 "I<in_addr> should be assigned one of the B<INADDR_*> values (e.g., "
949 "B<INADDR_LOOPBACK>) using B<htonl>(3) or set using the B<inet_aton>(3), "
950 "B<inet_addr>(3), B<inet_makeaddr>(3) library functions or directly with the "
951 "name resolver (see B<gethostbyname>(3))."
952 msgstr ""
953
954 #. type: Plain text
955 #: debian-trixie fedora-44 fedora-rawhide
956 msgid ""
957 "has the same effect on B<bind>(2) as B<INADDR_ANY> for historical reasons. "
958 "A packet addressed to B<INADDR_BROADCAST> through a socket which has "
959 "B<SO_BROADCAST> set will be broadcast to all hosts on the local network "
960 "segment, as long as the link is broadcast-capable."
961 msgstr ""
962
963 #. or SOL_IP on Linux
964 #. type: Plain text
965 #: debian-trixie fedora-44 fedora-rawhide
966 msgid ""
967 "IP supports some protocol-specific socket options that can be set with "
968 "B<setsockopt>(2) and read with B<getsockopt>(2). The socket option level "
969 "for IP is B<IPPROTO_IP>. A boolean integer flag is zero when it is false, "
970 "otherwise true."
971 msgstr ""
972
973 #. type: Plain text
974 #: debian-trixie fedora-44 fedora-rawhide
975 msgid ""
976 "When an invalid socket option is specified, B<getsockopt>(2) and "
977 "B<setsockopt>(2) fail with the error B<ENOPROTOOPT>."
978 msgstr ""
979
980 #. type: TP
981 #: debian-trixie fedora-44 fedora-rawhide
982 #, no-wrap
983 msgid "B<IP_ADD_MEMBERSHIP> (since Linux 1.2)"
984 msgstr ""
985
986 #. type: Plain text
987 #: debian-trixie fedora-44 fedora-rawhide
988 msgid "Join a multicast group. Argument is an I<ip_mreqn> structure."
989 msgstr ""
990
991 #. type: Plain text
992 #: debian-trixie fedora-44 fedora-rawhide
993 #, no-wrap
994 msgid ""
995 "struct ip_mreqn {\n"
996 " struct in_addr imr_multiaddr; /* IP multicast group\n"
997 " address */\n"
998 " struct in_addr imr_address; /* IP address of local\n"
999 " interface */\n"
1000 " int imr_ifindex; /* interface index */\n"
1001 "};\n"
1002 msgstr ""
1003
1004 #. (i.e., within the 224.0.0.0-239.255.255.255 range)
1005 #. type: Plain text
1006 #: debian-trixie fedora-44 fedora-rawhide
1007 msgid ""
1008 "I<imr_multiaddr> contains the address of the multicast group the application "
1009 "wants to join or leave. It must be a valid multicast address (or "
1010 "B<setsockopt>(2) fails with the error B<EINVAL>). I<imr_address> is the "
1011 "address of the local interface with which the system should join the "
1012 "multicast group; if it is equal to B<INADDR_ANY>, an appropriate interface "
1013 "is chosen by the system. I<imr_ifindex> is the interface index of the "
1014 "interface that should join/leave the I<imr_multiaddr> group, or 0 to "
1015 "indicate any interface."
1016 msgstr ""
1017
1018 #. type: Plain text
1019 #: debian-trixie fedora-44 fedora-rawhide
1020 msgid ""
1021 "The I<ip_mreqn> structure is available only since Linux 2.2. For "
1022 "compatibility, the old I<ip_mreq> structure (present since Linux 1.2) is "
1023 "still supported; it differs from I<ip_mreqn> only by not including the "
1024 "I<imr_ifindex> field. (The kernel determines which structure is being "
1025 "passed based on the size passed in I<optlen>.)"
1026 msgstr ""
1027
1028 #. type: Plain text
1029 #: debian-trixie fedora-44 fedora-rawhide
1030 msgid "B<IP_ADD_MEMBERSHIP> is valid only for B<setsockopt>(2)."
1031 msgstr ""
1032
1033 #. type: TP
1034 #: debian-trixie fedora-44 fedora-rawhide
1035 #, no-wrap
1036 msgid "B<IP_ADD_SOURCE_MEMBERSHIP> (since Linux 2.4.22 / Linux 2.5.68)"
1037 msgstr ""
1038
1039 #. type: Plain text
1040 #: debian-trixie fedora-44 fedora-rawhide
1041 msgid ""
1042 "Join a multicast group and allow receiving data only from a specified "
1043 "source. Argument is an I<ip_mreq_source> structure."
1044 msgstr ""
1045
1046 #. type: Plain text
1047 #: debian-trixie fedora-44 fedora-rawhide
1048 #, no-wrap
1049 msgid ""
1050 "struct ip_mreq_source {\n"
1051 " struct in_addr imr_multiaddr; /* IP multicast group\n"
1052 " address */\n"
1053 " struct in_addr imr_interface; /* IP address of local\n"
1054 " interface */\n"
1055 " struct in_addr imr_sourceaddr; /* IP address of\n"
1056 " multicast source */\n"
1057 "};\n"
1058 msgstr ""
1059
1060 #. type: Plain text
1061 #: debian-trixie fedora-44 fedora-rawhide
1062 msgid ""
1063 "The I<ip_mreq_source> structure is similar to I<ip_mreqn> described under "
1064 "B<IP_ADD_MEMBERSHIP>. The I<imr_multiaddr> field contains the address of "
1065 "the multicast group the application wants to join or leave. The "
1066 "I<imr_interface> field is the address of the local interface with which the "
1067 "system should join the multicast group. Finally, the I<imr_sourceaddr> "
1068 "field contains the address of the source the application wants to receive "
1069 "data from."
1070 msgstr ""
1071
1072 #. type: Plain text
1073 #: debian-trixie fedora-44 fedora-rawhide
1074 msgid ""
1075 "This option can be used multiple times to allow receiving data from more "
1076 "than one source."
1077 msgstr ""
1078
1079 #. type: TP
1080 #: debian-trixie fedora-44 fedora-rawhide
1081 #, no-wrap
1082 msgid "B<IP_BIND_ADDRESS_NO_PORT> (since Linux 4.2)"
1083 msgstr ""
1084
1085 #. commit 90c337da1524863838658078ec34241f45d8394d
1086 #. type: Plain text
1087 #: debian-trixie fedora-44 fedora-rawhide
1088 msgid ""
1089 "Inform the kernel to not reserve an ephemeral port when using B<bind>(2) "
1090 "with a port number of 0. The port will later be automatically chosen at "
1091 "B<connect>(2) time, in a way that allows sharing a source port as long as "
1092 "the 4-tuple is unique."
1093 msgstr ""
1094
1095 #. type: TP
1096 #: debian-trixie fedora-44 fedora-rawhide
1097 #, no-wrap
1098 msgid "B<IP_BLOCK_SOURCE> (since Linux 2.4.22 / 2.5.68)"
1099 msgstr ""
1100
1101 #. type: Plain text
1102 #: debian-trixie fedora-44 fedora-rawhide
1103 msgid ""
1104 "Stop receiving multicast data from a specific source in a given group. This "
1105 "is valid only after the application has subscribed to the multicast group "
1106 "using either B<IP_ADD_MEMBERSHIP> or B<IP_ADD_SOURCE_MEMBERSHIP>."
1107 msgstr ""
1108
1109 #. type: Plain text
1110 #: debian-trixie fedora-44 fedora-rawhide
1111 msgid ""
1112 "Argument is an I<ip_mreq_source> structure as described under "
1113 "B<IP_ADD_SOURCE_MEMBERSHIP>."
1114 msgstr ""
1115
1116 #. type: TP
1117 #: debian-trixie fedora-44 fedora-rawhide
1118 #, no-wrap
1119 msgid "B<IP_DROP_MEMBERSHIP> (since Linux 1.2)"
1120 msgstr ""
1121
1122 #. type: Plain text
1123 #: debian-trixie fedora-44 fedora-rawhide
1124 msgid ""
1125 "Leave a multicast group. Argument is an I<ip_mreqn> or I<ip_mreq> structure "
1126 "similar to B<IP_ADD_MEMBERSHIP>."
1127 msgstr ""
1128
1129 #. type: TP
1130 #: debian-trixie fedora-44 fedora-rawhide
1131 #, no-wrap
1132 msgid "B<IP_DROP_SOURCE_MEMBERSHIP> (since Linux 2.4.22 / 2.5.68)"
1133 msgstr ""
1134
1135 #. type: Plain text
1136 #: debian-trixie fedora-44 fedora-rawhide
1137 msgid ""
1138 "Leave a source-specific group\\[em]that is, stop receiving data from a given "
1139 "multicast group that come from a given source. If the application has "
1140 "subscribed to multiple sources within the same group, data from the "
1141 "remaining sources will still be delivered. To stop receiving data from all "
1142 "sources at once, use B<IP_DROP_MEMBERSHIP>."
1143 msgstr ""
1144
1145 #. type: TP
1146 #: debian-trixie fedora-44 fedora-rawhide
1147 #, no-wrap
1148 msgid "B<IP_FREEBIND> (since Linux 2.4)"
1149 msgstr ""
1150
1151 #. Precisely: since Linux 2.4.0-test10
1152 #. type: Plain text
1153 #: debian-trixie fedora-44 fedora-rawhide
1154 msgid ""
1155 "If enabled, this boolean option allows binding to an IP address that is "
1156 "nonlocal or does not (yet) exist. This permits listening on a socket, "
1157 "without requiring the underlying network interface or the specified dynamic "
1158 "IP address to be up at the time that the application is trying to bind to "
1159 "it. This option is the per-socket equivalent of the I<ip_nonlocal_bind> I</"
1160 "proc> interface described below."
1161 msgstr ""
1162
1163 #. type: TP
1164 #: debian-trixie fedora-44 fedora-rawhide
1165 #, no-wrap
1166 msgid "B<IP_HDRINCL> (since Linux 2.0)"
1167 msgstr ""
1168
1169 #. type: Plain text
1170 #: debian-trixie fedora-44 fedora-rawhide
1171 msgid ""
1172 "If enabled, the user supplies an IP header in front of the user data. Valid "
1173 "only for B<SOCK_RAW> sockets; see B<raw>(7) for more information. When "
1174 "this flag is enabled, the values set by B<IP_OPTIONS>, B<IP_TTL>, and "
1175 "B<IP_TOS> are ignored."
1176 msgstr ""
1177
1178 #. type: TP
1179 #: debian-trixie fedora-44 fedora-rawhide
1180 #, no-wrap
1181 msgid "B<IP_LOCAL_PORT_RANGE> (since Linux 6.3)"
1182 msgstr ""
1183
1184 #. type: Plain text
1185 #: debian-trixie fedora-44 fedora-rawhide
1186 msgid ""
1187 "Set or get the per-socket default local port range. This option can be used "
1188 "to clamp down the global local port range, defined by the "
1189 "I<ip_local_port_range> I</proc> interface described below, for a given "
1190 "socket."
1191 msgstr ""
1192
1193 #. type: Plain text
1194 #: debian-trixie fedora-44 fedora-rawhide
1195 msgid ""
1196 "The option takes an I<uint32_t> value with the high 16 bits set to the upper "
1197 "range bound, and the low 16 bits set to the lower range bound. Range bounds "
1198 "are inclusive. The 16-bit values should be in host byte order."
1199 msgstr ""
1200
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 msgid ""
1204 "The lower bound has to be less than the upper bound when both bounds are not "
1205 "zero. Otherwise, setting the option fails with EINVAL."
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: debian-trixie fedora-44 fedora-rawhide
1210 msgid ""
1211 "If either bound is outside of the global local port range, or is zero, then "
1212 "that bound has no effect."
1213 msgstr ""
1214
1215 #. type: Plain text
1216 #: debian-trixie fedora-44 fedora-rawhide
1217 msgid "To reset the setting, pass zero as both the upper and the lower bound."
1218 msgstr ""
1219
1220 #. type: TP
1221 #: debian-trixie fedora-44 fedora-rawhide
1222 #, no-wrap
1223 msgid "B<IP_MSFILTER> (since Linux 2.4.22 / 2.5.68)"
1224 msgstr ""
1225
1226 #. type: Plain text
1227 #: debian-trixie fedora-44 fedora-rawhide
1228 msgid ""
1229 "This option provides access to the advanced full-state filtering API. "
1230 "Argument is an I<ip_msfilter> structure."
1231 msgstr ""
1232
1233 #. type: Plain text
1234 #: debian-trixie fedora-44 fedora-rawhide
1235 #, no-wrap
1236 msgid ""
1237 "struct ip_msfilter {\n"
1238 " struct in_addr imsf_multiaddr; /* IP multicast group\n"
1239 " address */\n"
1240 " struct in_addr imsf_interface; /* IP address of local\n"
1241 " interface */\n"
1242 " uint32_t imsf_fmode; /* Filter-mode */\n"
1243 "\\&\n"
1244 " uint32_t imsf_numsrc; /* Number of sources in\n"
1245 " the following array */\n"
1246 " struct in_addr imsf_slist[1]; /* Array of source\n"
1247 " addresses */\n"
1248 "};\n"
1249 msgstr ""
1250
1251 #. type: Plain text
1252 #: debian-trixie fedora-44 fedora-rawhide
1253 msgid ""
1254 "There are two macros, B<MCAST_INCLUDE> and B<MCAST_EXCLUDE>, which can be "
1255 "used to specify the filtering mode. Additionally, the "
1256 "B<IP_MSFILTER_SIZE>(n) macro exists to determine how much memory is needed "
1257 "to store I<ip_msfilter> structure with I<n> sources in the source list."
1258 msgstr ""
1259
1260 #. type: Plain text
1261 #: debian-trixie fedora-44 fedora-rawhide
1262 msgid ""
1263 "For the full description of multicast source filtering refer to RFC 3376."
1264 msgstr ""
1265
1266 #. type: TP
1267 #: debian-trixie fedora-44 fedora-rawhide
1268 #, no-wrap
1269 msgid "B<IP_MTU> (since Linux 2.2)"
1270 msgstr ""
1271
1272 #. Precisely: since Linux 2.1.124
1273 #. type: Plain text
1274 #: debian-trixie fedora-44 fedora-rawhide
1275 msgid ""
1276 "Retrieve the current known path MTU of the current socket. Returns an "
1277 "integer."
1278 msgstr ""
1279
1280 #. type: Plain text
1281 #: debian-trixie fedora-44 fedora-rawhide
1282 msgid ""
1283 "B<IP_MTU> is valid only for B<getsockopt>(2) and can be employed only when "
1284 "the socket has been connected."
1285 msgstr ""
1286
1287 #. type: TP
1288 #: debian-trixie fedora-44 fedora-rawhide
1289 #, no-wrap
1290 msgid "B<IP_MTU_DISCOVER> (since Linux 2.2)"
1291 msgstr ""
1292
1293 #. Precisely: since Linux 2.1.124
1294 #. type: Plain text
1295 #: debian-trixie fedora-44 fedora-rawhide
1296 msgid ""
1297 "Set or receive the Path MTU Discovery setting for a socket. When enabled, "
1298 "Linux will perform Path MTU Discovery as defined in RFC\\ 1191 on "
1299 "B<SOCK_STREAM> sockets. For non-B<SOCK_STREAM> sockets, B<IP_PMTUDISC_DO> "
1300 "forces the don't-fragment flag to be set on all outgoing packets. It is the "
1301 "user's responsibility to packetize the data in MTU-sized chunks and to do "
1302 "the retransmits if necessary. The kernel will reject (with B<EMSGSIZE>) "
1303 "datagrams that are bigger than the known path MTU. B<IP_PMTUDISC_WANT> will "
1304 "fragment a datagram if needed according to the path MTU, or will set the "
1305 "don't-fragment flag otherwise."
1306 msgstr ""
1307
1308 #. type: Plain text
1309 #: debian-trixie fedora-44 fedora-rawhide
1310 msgid ""
1311 "The system-wide default can be toggled between B<IP_PMTUDISC_WANT> and "
1312 "B<IP_PMTUDISC_DONT> by writing (respectively, zero and nonzero values) to "
1313 "the I</proc/sys/net/ipv4/ip_no_pmtu_disc> file."
1314 msgstr ""
1315
1316 #. type: tbl table
1317 #: debian-trixie fedora-44 fedora-rawhide
1318 #, no-wrap
1319 msgid "Path MTU discovery value"
1320 msgstr ""
1321
1322 #. type: tbl table
1323 #: debian-trixie fedora-44 fedora-rawhide
1324 #, no-wrap
1325 msgid "Meaning"
1326 msgstr ""
1327
1328 #. type: tbl table
1329 #: debian-trixie fedora-44 fedora-rawhide
1330 #, no-wrap
1331 msgid "IP_PMTUDISC_WANT"
1332 msgstr ""
1333
1334 #. type: tbl table
1335 #: debian-trixie fedora-44 fedora-rawhide
1336 #, no-wrap
1337 msgid "Use per-route settings."
1338 msgstr ""
1339
1340 #. type: tbl table
1341 #: debian-trixie fedora-44 fedora-rawhide
1342 #, no-wrap
1343 msgid "IP_PMTUDISC_DONT"
1344 msgstr ""
1345
1346 #. type: tbl table
1347 #: debian-trixie fedora-44 fedora-rawhide
1348 #, no-wrap
1349 msgid "Never do Path MTU Discovery."
1350 msgstr ""
1351
1352 #. type: tbl table
1353 #: debian-trixie fedora-44 fedora-rawhide
1354 #, no-wrap
1355 msgid "IP_PMTUDISC_DO"
1356 msgstr ""
1357
1358 #. type: tbl table
1359 #: debian-trixie fedora-44 fedora-rawhide
1360 #, no-wrap
1361 msgid "Always do Path MTU Discovery."
1362 msgstr ""
1363
1364 #. type: tbl table
1365 #: debian-trixie fedora-44 fedora-rawhide
1366 #, no-wrap
1367 msgid "IP_PMTUDISC_PROBE"
1368 msgstr ""
1369
1370 #. type: tbl table
1371 #: debian-trixie fedora-44 fedora-rawhide
1372 #, no-wrap
1373 msgid "Set DF but ignore Path MTU."
1374 msgstr ""
1375
1376 #. type: Plain text
1377 #: debian-trixie fedora-44 fedora-rawhide
1378 msgid ""
1379 "When PMTU discovery is enabled, the kernel automatically keeps track of the "
1380 "path MTU per destination host. When it is connected to a specific peer with "
1381 "B<connect>(2), the currently known path MTU can be retrieved conveniently "
1382 "using the B<IP_MTU> socket option (e.g., after an B<EMSGSIZE> error "
1383 "occurred). The path MTU may change over time. For connectionless sockets "
1384 "with many destinations, the new MTU for a given destination can also be "
1385 "accessed using the error queue (see B<IP_RECVERR>). A new error will be "
1386 "queued for every incoming MTU update."
1387 msgstr ""
1388
1389 #. type: Plain text
1390 #: debian-trixie fedora-44 fedora-rawhide
1391 msgid ""
1392 "While MTU discovery is in progress, initial packets from datagram sockets "
1393 "may be dropped. Applications using UDP should be aware of this and not take "
1394 "it into account for their packet retransmit strategy."
1395 msgstr ""
1396
1397 #. type: Plain text
1398 #: debian-trixie fedora-44 fedora-rawhide
1399 msgid ""
1400 "To bootstrap the path MTU discovery process on unconnected sockets, it is "
1401 "possible to start with a big datagram size (headers up to 64 kilobytes long) "
1402 "and let it shrink by updates of the path MTU."
1403 msgstr ""
1404
1405 #. type: Plain text
1406 #: debian-trixie fedora-44 fedora-rawhide
1407 msgid ""
1408 "To get an initial estimate of the path MTU, connect a datagram socket to the "
1409 "destination address using B<connect>(2) and retrieve the MTU by calling "
1410 "B<getsockopt>(2) with the B<IP_MTU> option."
1411 msgstr ""
1412
1413 #. type: Plain text
1414 #: debian-trixie fedora-44 fedora-rawhide
1415 msgid ""
1416 "It is possible to implement RFC 4821 MTU probing with B<SOCK_DGRAM> or "
1417 "B<SOCK_RAW> sockets by setting a value of B<IP_PMTUDISC_PROBE> (available "
1418 "since Linux 2.6.22). This is also particularly useful for diagnostic tools "
1419 "such as B<tracepath>(8) that wish to deliberately send probe packets larger "
1420 "than the observed Path MTU."
1421 msgstr ""
1422
1423 #. type: TP
1424 #: debian-trixie fedora-44 fedora-rawhide
1425 #, no-wrap
1426 msgid "B<IP_MULTICAST_ALL> (since Linux 2.6.31)"
1427 msgstr ""
1428
1429 #. type: Plain text
1430 #: debian-trixie fedora-44 fedora-rawhide
1431 msgid ""
1432 "This option can be used to modify the delivery policy of multicast "
1433 "messages. The argument is a boolean integer (defaults to 1). If set to 1, "
1434 "the socket will receive messages from all the groups that have been joined "
1435 "globally on the whole system. Otherwise, it will deliver messages only from "
1436 "the groups that have been explicitly joined (for example via the "
1437 "B<IP_ADD_MEMBERSHIP> option) on this particular socket."
1438 msgstr ""
1439
1440 #. type: TP
1441 #: debian-trixie fedora-44 fedora-rawhide
1442 #, no-wrap
1443 msgid "B<IP_MULTICAST_IF> (since Linux 1.2)"
1444 msgstr ""
1445
1446 #. net: IP_MULTICAST_IF setsockopt now recognizes struct mreq
1447 #. Commit: 3a084ddb4bf299a6e898a9a07c89f3917f0713f7
1448 #. type: Plain text
1449 #: debian-trixie fedora-44 fedora-rawhide
1450 msgid ""
1451 "Set the local device for a multicast socket. The argument for "
1452 "B<setsockopt>(2) is an I<ip_mreqn> or (since Linux 3.5) I<ip_mreq> "
1453 "structure similar to B<IP_ADD_MEMBERSHIP>, or an I<in_addr> structure. (The "
1454 "kernel determines which structure is being passed based on the size passed "
1455 "in I<optlen>.) For B<getsockopt>(2), the argument is an I<in_addr> "
1456 "structure."
1457 msgstr ""
1458
1459 #. type: TP
1460 #: debian-trixie fedora-44 fedora-rawhide
1461 #, no-wrap
1462 msgid "B<IP_MULTICAST_LOOP> (since Linux 1.2)"
1463 msgstr ""
1464
1465 #. type: Plain text
1466 #: debian-trixie fedora-44 fedora-rawhide
1467 msgid ""
1468 "Set or read a boolean integer argument that determines whether sent "
1469 "multicast packets should be looped back to the local sockets."
1470 msgstr ""
1471
1472 #. type: TP
1473 #: debian-trixie fedora-44 fedora-rawhide
1474 #, no-wrap
1475 msgid "B<IP_MULTICAST_TTL> (since Linux 1.2)"
1476 msgstr ""
1477
1478 #. type: Plain text
1479 #: debian-trixie fedora-44 fedora-rawhide
1480 msgid ""
1481 "Set or read the time-to-live value of outgoing multicast packets for this "
1482 "socket. It is very important for multicast packets to set the smallest TTL "
1483 "possible. The default is 1 which means that multicast packets don't leave "
1484 "the local network unless the user program explicitly requests it. Argument "
1485 "is an integer."
1486 msgstr ""
1487
1488 #. type: TP
1489 #: debian-trixie fedora-44 fedora-rawhide
1490 #, no-wrap
1491 msgid "B<IP_NODEFRAG> (since Linux 2.6.36)"
1492 msgstr ""
1493
1494 #. type: Plain text
1495 #: debian-trixie fedora-44 fedora-rawhide
1496 msgid ""
1497 "If enabled (argument is nonzero), the reassembly of outgoing packets is "
1498 "disabled in the netfilter layer. The argument is an integer."
1499 msgstr ""
1500
1501 #. type: Plain text
1502 #: debian-trixie fedora-44 fedora-rawhide
1503 msgid "This option is valid only for B<SOCK_RAW> sockets."
1504 msgstr ""
1505
1506 #. type: TP
1507 #: debian-trixie fedora-44 fedora-rawhide
1508 #, no-wrap
1509 msgid "B<IP_OPTIONS> (since Linux 2.0)"
1510 msgstr ""
1511
1512 #. Precisely: since Linux 1.3.30
1513 #. type: Plain text
1514 #: debian-trixie fedora-44 fedora-rawhide
1515 msgid ""
1516 "Set or get the IP options to be sent with every packet from this socket. "
1517 "The arguments are a pointer to a memory buffer containing the options and "
1518 "the option length. The B<setsockopt>(2) call sets the IP options "
1519 "associated with a socket. The maximum option size for IPv4 is 40 bytes. "
1520 "See RFC\\ 791 for the allowed options. When the initial connection request "
1521 "packet for a B<SOCK_STREAM> socket contains IP options, the IP options will "
1522 "be set automatically to the options from the initial packet with routing "
1523 "headers reversed. Incoming packets are not allowed to change options after "
1524 "the connection is established. The processing of all incoming source "
1525 "routing options is disabled by default and can be enabled by using the "
1526 "I<accept_source_route> I</proc> interface. Other options like timestamps "
1527 "are still handled. For datagram sockets, IP options can be set only by the "
1528 "local user. Calling B<getsockopt>(2) with B<IP_OPTIONS> puts the current "
1529 "IP options used for sending into the supplied buffer."
1530 msgstr ""
1531
1532 #. type: TP
1533 #: debian-trixie fedora-44 fedora-rawhide
1534 #, no-wrap
1535 msgid "B<IP_PASSSEC> (since Linux 2.6.17)"
1536 msgstr ""
1537
1538 #. commit 2c7946a7bf45ae86736ab3b43d0085e43947945c
1539 #. type: Plain text
1540 #: debian-trixie fedora-44 fedora-rawhide
1541 msgid ""
1542 "If labeled IPSEC or NetLabel is configured on the sending and receiving "
1543 "hosts, this option enables receiving of the security context of the peer "
1544 "socket in an ancillary message of type B<SCM_SECURITY> retrieved using "
1545 "B<recvmsg>(2). This option is supported only for UDP sockets; for TCP or "
1546 "SCTP sockets, see the description of the B<SO_PEERSEC> option below."
1547 msgstr ""
1548
1549 #. type: Plain text
1550 #: debian-trixie fedora-44 fedora-rawhide
1551 msgid ""
1552 "The value given as an argument to B<setsockopt>(2) and returned as the "
1553 "result of B<getsockopt>(2) is an integer boolean flag."
1554 msgstr ""
1555
1556 #. type: Plain text
1557 #: debian-trixie fedora-44 fedora-rawhide
1558 msgid ""
1559 "The security context returned in the B<SCM_SECURITY> ancillary message is of "
1560 "the same format as the one described under the B<SO_PEERSEC> option below."
1561 msgstr ""
1562
1563 #. type: Plain text
1564 #: debian-trixie fedora-44 fedora-rawhide
1565 msgid ""
1566 "Note: the reuse of the B<SCM_SECURITY> message type for the B<IP_PASSSEC> "
1567 "socket option was likely a mistake, since other IP control messages use "
1568 "their own numbering scheme in the IP namespace and often use the socket "
1569 "option value as the message type. There is no conflict currently since the "
1570 "IP option with the same value as B<SCM_SECURITY> is B<IP_HDRINCL> and this "
1571 "is never used for a control message type."
1572 msgstr ""
1573
1574 #. type: TP
1575 #: debian-trixie fedora-44 fedora-rawhide
1576 #, no-wrap
1577 msgid "B<IP_PKTINFO> (since Linux 2.2)"
1578 msgstr ""
1579
1580 #. Precisely: since Linux 2.1.68
1581 #. type: Plain text
1582 #: debian-trixie fedora-44 fedora-rawhide
1583 msgid ""
1584 "Pass an B<IP_PKTINFO> ancillary message that contains a I<pktinfo> structure "
1585 "that supplies some information about the incoming packet. This works only "
1586 "for datagram oriented sockets. The argument is a flag that tells the socket "
1587 "whether the B<IP_PKTINFO> message should be passed or not. The message "
1588 "itself can be sent/retrieved only as a control message with a packet using "
1589 "B<recvmsg>(2) or B<sendmsg>(2)."
1590 msgstr ""
1591
1592 #. type: Plain text
1593 #: debian-trixie fedora-44 fedora-rawhide
1594 #, no-wrap
1595 msgid ""
1596 "struct in_pktinfo {\n"
1597 " unsigned int ipi_ifindex; /* Interface index */\n"
1598 " struct in_addr ipi_spec_dst; /* Local address */\n"
1599 " struct in_addr ipi_addr; /* Header Destination\n"
1600 " address */\n"
1601 "};\n"
1602 msgstr ""
1603
1604 #. This field is grossly misnamed
1605 #. type: Plain text
1606 #: debian-trixie fedora-44 fedora-rawhide
1607 msgid ""
1608 "I<ipi_ifindex> is the unique index of the interface the packet was received "
1609 "on. I<ipi_spec_dst> is the local address of the packet and I<ipi_addr> is "
1610 "the destination address in the packet header. If B<IP_PKTINFO> is passed to "
1611 "B<sendmsg>(2) and I<ipi_spec_dst> is not zero, then it is used as the local "
1612 "source address for the routing table lookup and for setting up IP source "
1613 "route options. When I<ipi_ifindex> is not zero, the primary local address "
1614 "of the interface specified by the index overwrites I<ipi_spec_dst> for the "
1615 "routing table lookup."
1616 msgstr ""
1617
1618 #. type: Plain text
1619 #: debian-trixie fedora-44 fedora-rawhide
1620 msgid "Not supported for B<SOCK_STREAM> sockets."
1621 msgstr ""
1622
1623 #. type: TP
1624 #: debian-trixie fedora-44 fedora-rawhide
1625 #, no-wrap
1626 msgid "B<IP_RECVERR> (since Linux 2.2)"
1627 msgstr ""
1628
1629 #. Precisely: since Linux 2.1.15
1630 #. or SOL_IP on Linux
1631 #. type: Plain text
1632 #: debian-trixie fedora-44 fedora-rawhide
1633 msgid ""
1634 "Enable extended reliable error message passing. When enabled on a datagram "
1635 "socket, all generated errors will be queued in a per-socket error queue. "
1636 "When the user receives an error from a socket operation, the errors can be "
1637 "received by calling B<recvmsg>(2) with the B<MSG_ERRQUEUE> flag set. The "
1638 "I<sock_extended_err> structure describing the error will be passed in an "
1639 "ancillary message with the type B<IP_RECVERR> and the level B<IPPROTO_IP>. "
1640 "This is useful for reliable error handling on unconnected sockets. The "
1641 "received data portion of the error queue contains the error packet."
1642 msgstr ""
1643
1644 #. type: Plain text
1645 #: debian-trixie fedora-44 fedora-rawhide
1646 msgid ""
1647 "The B<IP_RECVERR> control message contains a I<sock_extended_err> structure:"
1648 msgstr ""
1649
1650 #. type: Plain text
1651 #: debian-trixie fedora-44 fedora-rawhide
1652 #, no-wrap
1653 msgid ""
1654 "#define SO_EE_ORIGIN_NONE 0\n"
1655 "#define SO_EE_ORIGIN_LOCAL 1\n"
1656 "#define SO_EE_ORIGIN_ICMP 2\n"
1657 "#define SO_EE_ORIGIN_ICMP6 3\n"
1658 "\\&\n"
1659 "struct sock_extended_err {\n"
1660 " uint32_t ee_errno; /* error number */\n"
1661 " uint8_t ee_origin; /* where the error originated */\n"
1662 " uint8_t ee_type; /* type */\n"
1663 " uint8_t ee_code; /* code */\n"
1664 " uint8_t ee_pad;\n"
1665 " uint32_t ee_info; /* additional information */\n"
1666 " uint32_t ee_data; /* other data */\n"
1667 " /* More data may follow */\n"
1668 "};\n"
1669 "\\&\n"
1670 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
1671 msgstr ""
1672
1673 #. type: Plain text
1674 #: debian-trixie fedora-44 fedora-rawhide
1675 msgid ""
1676 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
1677 "is the origin code of where the error originated. The other fields are "
1678 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
1679 "address of the network object where the error originated from given a "
1680 "pointer to the ancillary message. If this address is not known, the "
1681 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
1682 "fields of the I<sockaddr> are undefined."
1683 msgstr ""
1684
1685 #. FIXME . Is it a good idea to document that? It is a dubious feature.
1686 #. On
1687 #. .B SOCK_STREAM
1688 #. sockets,
1689 #. .B IP_RECVERR
1690 #. has slightly different semantics. Instead of
1691 #. saving the errors for the next timeout, it passes all incoming
1692 #. errors immediately to the user.
1693 #. This might be useful for very short-lived TCP connections which
1694 #. need fast error handling. Use this option with care:
1695 #. it makes TCP unreliable
1696 #. by not allowing it to recover properly from routing
1697 #. shifts and other normal
1698 #. conditions and breaks the protocol specification.
1699 #. type: Plain text
1700 #: debian-trixie fedora-44 fedora-rawhide
1701 msgid ""
1702 "IP uses the I<sock_extended_err> structure as follows: I<ee_origin> is set "
1703 "to B<SO_EE_ORIGIN_ICMP> for errors received as an ICMP packet, or "
1704 "B<SO_EE_ORIGIN_LOCAL> for locally generated errors. Unknown values should "
1705 "be ignored. I<ee_type> and I<ee_code> are set from the type and code fields "
1706 "of the ICMP header. I<ee_info> contains the discovered MTU for B<EMSGSIZE> "
1707 "errors. The message also contains the I<sockaddr_in of the node> caused the "
1708 "error, which can be accessed with the B<SO_EE_OFFENDER> macro. The "
1709 "I<sin_family> field of the B<SO_EE_OFFENDER> address is B<AF_UNSPEC> when "
1710 "the source was unknown. When the error originated from the network, all IP "
1711 "options (B<IP_OPTIONS>, B<IP_TTL>, etc.) enabled on the socket and contained "
1712 "in the error packet are passed as control messages. The payload of the "
1713 "packet causing the error is returned as normal payload. Note that TCP has "
1714 "no error queue; B<MSG_ERRQUEUE> is not permitted on B<SOCK_STREAM> sockets. "
1715 "B<IP_RECVERR> is valid for TCP, but all errors are returned by socket "
1716 "function return or B<SO_ERROR> only."
1717 msgstr ""
1718
1719 #. type: Plain text
1720 #: debian-trixie fedora-44 fedora-rawhide
1721 msgid ""
1722 "For raw sockets, B<IP_RECVERR> enables passing of all received ICMP errors "
1723 "to the application, otherwise errors are reported only on connected sockets"
1724 msgstr ""
1725
1726 #. type: Plain text
1727 #: debian-trixie fedora-44 fedora-rawhide
1728 msgid ""
1729 "It sets or retrieves an integer boolean flag. B<IP_RECVERR> defaults to off."
1730 msgstr ""
1731
1732 #. type: TP
1733 #: debian-trixie fedora-44 fedora-rawhide
1734 #, no-wrap
1735 msgid "B<IP_RECVOPTS> (since Linux 2.2)"
1736 msgstr ""
1737
1738 #. Precisely: since Linux 2.1.15
1739 #. type: Plain text
1740 #: debian-trixie fedora-44 fedora-rawhide
1741 msgid ""
1742 "Pass all incoming IP options to the user in a B<IP_OPTIONS> control "
1743 "message. The routing header and other options are already filled in for the "
1744 "local host. Not supported for B<SOCK_STREAM> sockets."
1745 msgstr ""
1746
1747 #. type: TP
1748 #: debian-trixie fedora-44 fedora-rawhide
1749 #, no-wrap
1750 msgid "B<IP_RECVORIGDSTADDR> (since Linux 2.6.29)"
1751 msgstr ""
1752
1753 #. commit e8b2dfe9b4501ed0047459b2756ba26e5a940a69
1754 #. type: Plain text
1755 #: debian-trixie fedora-44 fedora-rawhide
1756 msgid ""
1757 "This boolean option enables the B<IP_ORIGDSTADDR> ancillary message in "
1758 "B<recvmsg>(2), in which the kernel returns the original destination address "
1759 "of the datagram being received. The ancillary message contains a I<struct "
1760 "sockaddr_in>. Not supported for B<SOCK_STREAM> sockets."
1761 msgstr ""
1762
1763 #. type: TP
1764 #: debian-trixie fedora-44 fedora-rawhide
1765 #, no-wrap
1766 msgid "B<IP_RECVTOS> (since Linux 2.2)"
1767 msgstr ""
1768
1769 #. Precisely: since Linux 2.1.68
1770 #. type: Plain text
1771 #: debian-trixie fedora-44 fedora-rawhide
1772 msgid ""
1773 "If enabled, the B<IP_TOS> ancillary message is passed with incoming "
1774 "packets. It contains a byte which specifies the Type of Service/Precedence "
1775 "field of the packet header. Expects a boolean integer flag. Not supported "
1776 "for B<SOCK_STREAM> sockets."
1777 msgstr ""
1778
1779 #. type: TP
1780 #: debian-trixie fedora-44 fedora-rawhide
1781 #, no-wrap
1782 msgid "B<IP_RECVTTL> (since Linux 2.2)"
1783 msgstr ""
1784
1785 #. Precisely: since Linux 2.1.68
1786 #. type: Plain text
1787 #: debian-trixie fedora-44 fedora-rawhide
1788 msgid ""
1789 "When this flag is set, pass a B<IP_TTL> control message with the time-to-"
1790 "live field of the received packet as a 32 bit integer. Not supported for "
1791 "B<SOCK_STREAM> sockets."
1792 msgstr ""
1793
1794 #. type: TP
1795 #: debian-trixie fedora-44 fedora-rawhide
1796 #, no-wrap
1797 msgid "B<IP_RETOPTS> (since Linux 2.2)"
1798 msgstr ""
1799
1800 #. Precisely: since Linux 2.1.15
1801 #. type: Plain text
1802 #: debian-trixie fedora-44 fedora-rawhide
1803 msgid ""
1804 "Identical to B<IP_RECVOPTS>, but returns raw unprocessed options with "
1805 "timestamp and route record options not filled in for this hop. Not "
1806 "supported for B<SOCK_STREAM> sockets."
1807 msgstr ""
1808
1809 #. type: TP
1810 #: debian-trixie fedora-44 fedora-rawhide
1811 #, no-wrap
1812 msgid "B<IP_ROUTER_ALERT> (since Linux 2.2)"
1813 msgstr ""
1814
1815 #. Precisely: since Linux 2.1.68
1816 #. type: Plain text
1817 #: debian-trixie fedora-44 fedora-rawhide
1818 msgid ""
1819 "Pass all to-be forwarded packets with the IP Router Alert option set to this "
1820 "socket. Valid only for raw sockets. This is useful, for instance, for user-"
1821 "space RSVP daemons. The tapped packets are not forwarded by the kernel; it "
1822 "is the user's responsibility to send them out again. Socket binding is "
1823 "ignored, such packets are filtered only by protocol. Expects an integer "
1824 "flag."
1825 msgstr ""
1826
1827 #. type: TP
1828 #: debian-trixie fedora-44 fedora-rawhide
1829 #, no-wrap
1830 msgid "B<IP_TOS> (since Linux 1.0)"
1831 msgstr ""
1832
1833 #. FIXME elaborate on this
1834 #. The priority can also be set in a protocol-independent way by the
1835 #. .RB ( SOL_SOCKET ", " SO_PRIORITY )
1836 #. socket option (see
1837 #. .BR socket (7)).
1838 #. type: Plain text
1839 #: debian-trixie fedora-44 fedora-rawhide
1840 msgid ""
1841 "Set or receive the Type-Of-Service (TOS) field that is sent with every IP "
1842 "packet originating from this socket. It is used to prioritize packets on "
1843 "the network. TOS is a byte. There are some standard TOS flags defined: "
1844 "B<IPTOS_LOWDELAY> to minimize delays for interactive traffic, "
1845 "B<IPTOS_THROUGHPUT> to optimize throughput, B<IPTOS_RELIABILITY> to optimize "
1846 "for reliability, B<IPTOS_MINCOST> should be used for \"filler data\" where "
1847 "slow transmission doesn't matter. At most one of these TOS values can be "
1848 "specified. Other bits are invalid and shall be cleared. Linux sends "
1849 "B<IPTOS_LOWDELAY> datagrams first by default, but the exact behavior depends "
1850 "on the configured queueing discipline. Some high-priority levels may "
1851 "require superuser privileges (the B<CAP_NET_ADMIN> capability)."
1852 msgstr ""
1853
1854 #. type: TP
1855 #: debian-trixie fedora-44 fedora-rawhide
1856 #, no-wrap
1857 msgid "B<IP_TRANSPARENT> (since Linux 2.6.24)"
1858 msgstr ""
1859
1860 #. commit f5715aea4564f233767ea1d944b2637a5fd7cd2e
1861 #. This patch introduces the IP_TRANSPARENT socket option: enabling that
1862 #. will make the IPv4 routing omit the non-local source address check on
1863 #. output. Setting IP_TRANSPARENT requires NET_ADMIN capability.
1864 #. http://lwn.net/Articles/252545/
1865 #. type: Plain text
1866 #: debian-trixie fedora-44 fedora-rawhide
1867 msgid ""
1868 "Setting this boolean option enables transparent proxying on this socket. "
1869 "This socket option allows the calling application to bind to a nonlocal IP "
1870 "address and operate both as a client and a server with the foreign address "
1871 "as the local endpoint. NOTE: this requires that routing be set up in a way "
1872 "that packets going to the foreign address are routed through the TProxy box "
1873 "(i.e., the system hosting the application that employs the B<IP_TRANSPARENT> "
1874 "socket option). Enabling this socket option requires superuser privileges "
1875 "(the B<CAP_NET_ADMIN> capability)."
1876 msgstr ""
1877
1878 #. type: Plain text
1879 #: debian-trixie fedora-44 fedora-rawhide
1880 msgid ""
1881 "TProxy redirection with the iptables TPROXY target also requires that this "
1882 "option be set on the redirected socket."
1883 msgstr ""
1884
1885 #. type: TP
1886 #: debian-trixie fedora-44 fedora-rawhide
1887 #, no-wrap
1888 msgid "B<IP_TTL> (since Linux 1.0)"
1889 msgstr ""
1890
1891 #. type: Plain text
1892 #: debian-trixie fedora-44 fedora-rawhide
1893 msgid ""
1894 "Set or retrieve the current time-to-live field that is used in every packet "
1895 "sent from this socket."
1896 msgstr ""
1897
1898 #. type: TP
1899 #: debian-trixie fedora-44 fedora-rawhide
1900 #, no-wrap
1901 msgid "B<IP_UNBLOCK_SOURCE> (since Linux 2.4.22 / 2.5.68)"
1902 msgstr ""
1903
1904 #. type: Plain text
1905 #: debian-trixie fedora-44 fedora-rawhide
1906 msgid ""
1907 "Unblock previously blocked multicast source. Returns B<EADDRNOTAVAIL> when "
1908 "given source is not being blocked."
1909 msgstr ""
1910
1911 #. type: TP
1912 #: debian-trixie fedora-44 fedora-rawhide
1913 #, no-wrap
1914 msgid "B<SO_PEERSEC> (since Linux 2.6.17)"
1915 msgstr ""
1916
1917 #. type: Plain text
1918 #: debian-trixie fedora-44 fedora-rawhide
1919 msgid ""
1920 "If labeled IPSEC or NetLabel is configured on both the sending and receiving "
1921 "hosts, this read-only socket option returns the security context of the peer "
1922 "socket connected to this socket. By default, this will be the same as the "
1923 "security context of the process that created the peer socket unless "
1924 "overridden by the policy or by a process with the required permissions."
1925 msgstr ""
1926
1927 #. type: Plain text
1928 #: debian-trixie fedora-44 fedora-rawhide
1929 msgid ""
1930 "The argument to B<getsockopt>(2) is a pointer to a buffer of the specified "
1931 "length in bytes into which the security context string will be copied. If "
1932 "the buffer length is less than the length of the security context string, "
1933 "then B<getsockopt>(2) returns -1, sets I<errno> to B<ERANGE>, and returns "
1934 "the required length via I<optlen>. The caller should allocate at least "
1935 "B<NAME_MAX> bytes for the buffer initially, although this is not guaranteed "
1936 "to be sufficient. Resizing the buffer to the returned length and retrying "
1937 "may be necessary."
1938 msgstr ""
1939
1940 #. type: Plain text
1941 #: debian-trixie fedora-44 fedora-rawhide
1942 msgid ""
1943 "The security context string may include a terminating null character in the "
1944 "returned length, but is not guaranteed to do so: a security context \"foo\" "
1945 "might be represented as either {'f','o','o'} of length 3 or "
1946 "{'f','o','o','\\e0'} of length 4, which are considered to be "
1947 "interchangeable. The string is printable, does not contain non-terminating "
1948 "null characters, and is in an unspecified encoding (in particular, it is not "
1949 "guaranteed to be ASCII or UTF-8)."
1950 msgstr ""
1951
1952 #. commit 2c7946a7bf45ae86736ab3b43d0085e43947945c
1953 #. commit d452930fd3b9031e59abfeddb2fa383f1403d61a
1954 #. type: Plain text
1955 #: debian-trixie fedora-44 fedora-rawhide
1956 msgid ""
1957 "The use of this option for sockets in the B<AF_INET> address family is "
1958 "supported since Linux 2.6.17 for TCP sockets, and since Linux 4.17 for SCTP "
1959 "sockets."
1960 msgstr ""
1961
1962 #. type: Plain text
1963 #: debian-trixie fedora-44 fedora-rawhide
1964 msgid ""
1965 "For SELinux, NetLabel conveys only the MLS portion of the security context "
1966 "of the peer across the wire, defaulting the rest of the security context to "
1967 "the values defined in the policy for the netmsg initial security identifier "
1968 "(SID). However, NetLabel can be configured to pass full security contexts "
1969 "over loopback. Labeled IPSEC always passes full security contexts as part "
1970 "of establishing the security association (SA) and looks them up based on the "
1971 "association for each packet."
1972 msgstr ""
1973
1974 #. FIXME As at 2.6.12, 14 Jun 2005, the following are undocumented:
1975 #. ip_queue_maxlen
1976 #. ip_conntrack_max
1977 #. type: Plain text
1978 #: debian-trixie fedora-44 fedora-rawhide
1979 msgid ""
1980 "The IP protocol supports a set of I</proc> interfaces to configure some "
1981 "global parameters. The parameters can be accessed by reading or writing "
1982 "files in the directory I</proc/sys/net/ipv4/>. Interfaces described as "
1983 "I<Boolean> take an integer value, with a nonzero value (\"true\") meaning "
1984 "that the corresponding option is enabled, and a zero value (\"false\") "
1985 "meaning that the option is disabled."
1986 msgstr ""
1987
1988 #. type: TP
1989 #: debian-trixie fedora-44 fedora-rawhide
1990 #, no-wrap
1991 msgid "I<ip_always_defrag> (Boolean; since Linux 2.2.13)"
1992 msgstr ""
1993
1994 #. type: Plain text
1995 #: debian-trixie fedora-44 fedora-rawhide
1996 msgid ""
1997 "[New with Linux 2.2.13; in earlier kernel versions this feature was "
1998 "controlled at compile time by the B<CONFIG_IP_ALWAYS_DEFRAG> option; this "
1999 "option is not present in Linux 2.4.x and later]"
2000 msgstr ""
2001
2002 #. type: Plain text
2003 #: debian-trixie fedora-44 fedora-rawhide
2004 msgid ""
2005 "When this boolean flag is enabled (not equal 0), incoming fragments (parts "
2006 "of IP packets that arose when some host between origin and destination "
2007 "decided that the packets were too large and cut them into pieces) will be "
2008 "reassembled (defragmented) before being processed, even if they are about to "
2009 "be forwarded."
2010 msgstr ""
2011
2012 #. type: Plain text
2013 #: debian-trixie fedora-44 fedora-rawhide
2014 msgid ""
2015 "Enable only if running either a firewall that is the sole link to your "
2016 "network or a transparent proxy; never ever use it for a normal router or "
2017 "host. Otherwise, fragmented communication can be disturbed if the fragments "
2018 "travel over different links. Defragmentation also has a large memory and "
2019 "CPU time cost."
2020 msgstr ""
2021
2022 #. type: Plain text
2023 #: debian-trixie fedora-44 fedora-rawhide
2024 msgid ""
2025 "This is automagically turned on when masquerading or transparent proxying "
2026 "are configured."
2027 msgstr ""
2028
2029 #. type: TP
2030 #: debian-trixie fedora-44 fedora-rawhide
2031 #, no-wrap
2032 msgid "I<ip_autoconfig> (since Linux 2.2 to Linux 2.6.17)"
2033 msgstr ""
2034
2035 #. Precisely: since Linux 2.1.68
2036 #. FIXME document ip_autoconfig
2037 #. type: Plain text
2038 #: debian-trixie fedora-44 fedora-rawhide
2039 msgid "Not documented."
2040 msgstr ""
2041
2042 #. type: TP
2043 #: debian-trixie fedora-44 fedora-rawhide
2044 #, no-wrap
2045 msgid "I<ip_default_ttl> (integer; default: 64; since Linux 2.2)"
2046 msgstr ""
2047
2048 #. Precisely: since Linux 2.1.15
2049 #. type: Plain text
2050 #: debian-trixie fedora-44 fedora-rawhide
2051 msgid ""
2052 "Set the default time-to-live value of outgoing packets. This can be changed "
2053 "per socket with the B<IP_TTL> option."
2054 msgstr ""
2055
2056 #. type: TP
2057 #: debian-trixie fedora-44 fedora-rawhide
2058 #, no-wrap
2059 msgid "I<ip_dynaddr> (Boolean; default: disabled; since Linux 2.0.31)"
2060 msgstr ""
2061
2062 #. type: Plain text
2063 #: debian-trixie fedora-44 fedora-rawhide
2064 msgid ""
2065 "Enable dynamic socket address and masquerading entry rewriting on interface "
2066 "address change. This is useful for dialup interface with changing IP "
2067 "addresses. 0 means no rewriting, 1 turns it on and 2 enables verbose mode."
2068 msgstr ""
2069
2070 #. type: TP
2071 #: debian-trixie fedora-44 fedora-rawhide
2072 #, no-wrap
2073 msgid "I<ip_forward> (Boolean; default: disabled; since Linux 1.2)"
2074 msgstr ""
2075
2076 #. type: Plain text
2077 #: debian-trixie fedora-44 fedora-rawhide
2078 msgid ""
2079 "Enable IP forwarding with a boolean flag. IP forwarding can be also set on "
2080 "a per-interface basis."
2081 msgstr ""
2082
2083 #. type: TP
2084 #: debian-trixie fedora-44 fedora-rawhide
2085 #, no-wrap
2086 msgid "I<ip_local_port_range> (since Linux 2.2)"
2087 msgstr ""
2088
2089 #. Precisely: since Linux 2.1.68
2090 #. type: Plain text
2091 #: debian-trixie fedora-44 fedora-rawhide
2092 msgid ""
2093 "This file contains two integers that define the default local port range "
2094 "allocated to sockets that are not explicitly bound to a port number\\"
2095 "[em]that is, the range used for I<ephemeral ports>. An ephemeral port is "
2096 "allocated to a socket in the following circumstances:"
2097 msgstr ""
2098
2099 #. type: Plain text
2100 #: debian-trixie fedora-44 fedora-rawhide
2101 msgid ""
2102 "the port number in a socket address is specified as 0 when calling "
2103 "B<bind>(2);"
2104 msgstr ""
2105
2106 #. type: Plain text
2107 #: debian-trixie fedora-44 fedora-rawhide
2108 msgid ""
2109 "B<listen>(2) is called on a stream socket that was not previously bound;"
2110 msgstr ""
2111
2112 #. type: Plain text
2113 #: debian-trixie fedora-44 fedora-rawhide
2114 msgid "B<connect>(2) was called on a socket that was not previously bound;"
2115 msgstr ""
2116
2117 #. type: Plain text
2118 #: debian-trixie fedora-44 fedora-rawhide
2119 msgid ""
2120 "B<sendto>(2) is called on a datagram socket that was not previously bound."
2121 msgstr ""
2122
2123 #. type: Plain text
2124 #: debian-trixie fedora-44 fedora-rawhide
2125 msgid ""
2126 "Allocation of ephemeral ports starts with the first number in "
2127 "I<ip_local_port_range> and ends with the second number. If the range of "
2128 "ephemeral ports is exhausted, then the relevant system call returns an error "
2129 "(but see BUGS)."
2130 msgstr ""
2131
2132 #. type: Plain text
2133 #: debian-trixie fedora-44 fedora-rawhide
2134 msgid ""
2135 "Note that the port range in I<ip_local_port_range> should not conflict with "
2136 "the ports used by masquerading (although the case is handled). Also, "
2137 "arbitrary choices may cause problems with some firewall packet filters that "
2138 "make assumptions about the local ports in use. The first number should be "
2139 "at least greater than 1024, or better, greater than 4096, to avoid clashes "
2140 "with well known ports and to minimize firewall problems."
2141 msgstr ""
2142
2143 #. type: TP
2144 #: debian-trixie fedora-44 fedora-rawhide
2145 #, no-wrap
2146 msgid "I<ip_no_pmtu_disc> (Boolean; default: disabled; since Linux 2.2)"
2147 msgstr ""
2148
2149 #
2150 #. Precisely: 2.1.15
2151 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2152 #. type: Plain text
2153 #: debian-trixie fedora-44 fedora-rawhide
2154 msgid ""
2155 "If enabled, don't do Path MTU Discovery for TCP sockets by default. Path "
2156 "MTU discovery may fail if misconfigured firewalls (that drop all ICMP "
2157 "packets) or misconfigured interfaces (e.g., a point-to-point link where the "
2158 "both ends don't agree on the MTU) are on the path. It is better to fix the "
2159 "broken routers on the path than to turn off Path MTU Discovery globally, "
2160 "because not doing it incurs a high cost to the network."
2161 msgstr ""
2162
2163 #. type: TP
2164 #: debian-trixie fedora-44 fedora-rawhide
2165 #, no-wrap
2166 msgid "I<ip_nonlocal_bind> (Boolean; default: disabled; since Linux 2.4)"
2167 msgstr ""
2168
2169 #
2170 #. Precisely: patch-2.4.0-test10
2171 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2172 #. type: Plain text
2173 #: debian-trixie fedora-44 fedora-rawhide
2174 msgid ""
2175 "If set, allows processes to B<bind>(2) to nonlocal IP addresses, which can "
2176 "be quite useful, but may break some applications."
2177 msgstr ""
2178
2179 #. type: TP
2180 #: debian-trixie fedora-44 fedora-rawhide
2181 #, no-wrap
2182 msgid "I<ip6frag_time> (integer; default: 30)"
2183 msgstr ""
2184
2185 #
2186 #. The following is from Linux 2.6.12: Documentation/networking/ip-sysctl.txt
2187 #. type: Plain text
2188 #: debian-trixie fedora-44 fedora-rawhide
2189 msgid "Time in seconds to keep an IPv6 fragment in memory."
2190 msgstr ""
2191
2192 #. type: TP
2193 #: debian-trixie fedora-44 fedora-rawhide
2194 #, no-wrap
2195 msgid "I<ip6frag_secret_interval> (integer; default: 600)"
2196 msgstr ""
2197
2198 #. type: Plain text
2199 #: debian-trixie fedora-44 fedora-rawhide
2200 msgid ""
2201 "Regeneration interval (in seconds) of the hash secret (or lifetime for the "
2202 "hash secret) for IPv6 fragments."
2203 msgstr ""
2204
2205 #. type: TP
2206 #: debian-trixie fedora-44 fedora-rawhide
2207 #, no-wrap
2208 msgid "I<ipfrag_high_thresh> (integer)"
2209 msgstr ""
2210
2211 #. type: TQ
2212 #: debian-trixie fedora-44 fedora-rawhide
2213 #, no-wrap
2214 msgid "I<ipfrag_low_thresh> (integer)"
2215 msgstr ""
2216
2217 #. type: Plain text
2218 #: debian-trixie fedora-44 fedora-rawhide
2219 msgid ""
2220 "If the amount of queued IP fragments reaches I<ipfrag_high_thresh>, the "
2221 "queue is pruned down to I<ipfrag_low_thresh>. Contains an integer with the "
2222 "number of bytes."
2223 msgstr ""
2224
2225 #. type: TP
2226 #: debian-trixie fedora-44 fedora-rawhide
2227 #, no-wrap
2228 msgid "I<neigh/*>"
2229 msgstr ""
2230
2231 #
2232 #. FIXME Document the conf/*/* interfaces
2233 #. FIXME Document the route/* interfaces
2234 #. type: Plain text
2235 #: debian-trixie fedora-44 fedora-rawhide
2236 msgid "See B<arp>(7)."
2237 msgstr ""
2238
2239 #. type: TP
2240 #: debian-trixie
2241 #, no-wrap
2242 msgid "B<ENOPROTOOPT> and B<EOPNOTSUPP>"
2243 msgstr ""
2244
2245 #. IP_XFRM_POLICY is Linux-specific
2246 #. IP_IPSEC_POLICY is a nonstandard extension, also present on some BSDs
2247 #. type: Plain text
2248 #: debian-trixie fedora-44 fedora-rawhide
2249 msgid ""
2250 "B<IP_FREEBIND>, B<IP_MSFILTER>, B<IP_MTU>, B<IP_MTU_DISCOVER>, "
2251 "B<IP_RECVORIGDSTADDR>, B<IP_PASSSEC>, B<IP_PKTINFO>, B<IP_RECVERR>, "
2252 "B<IP_ROUTER_ALERT>, and B<IP_TRANSPARENT> are Linux-specific."
2253 msgstr ""
2254
2255 #. type: Plain text
2256 #: debian-trixie fedora-44 fedora-rawhide
2257 msgid ""
2258 "Some other BSD sockets implementations provide B<IP_RCVDSTADDR> and "
2259 "B<IP_RECVIF> socket options to get the destination address and the interface "
2260 "of received datagrams. Linux has the more general B<IP_PKTINFO> for the "
2261 "same task."
2262 msgstr ""
2263
2264 #. type: Plain text
2265 #: debian-trixie fedora-44 fedora-rawhide
2266 msgid ""
2267 "Some BSD sockets implementations also provide an B<IP_RECVTTL> option, but "
2268 "an ancillary message with type B<IP_RECVTTL> is passed with the incoming "
2269 "packet. This is different from the B<IP_TTL> option used in Linux."
2270 msgstr ""
2271
2272 #. type: Plain text
2273 #: debian-trixie fedora-44 fedora-rawhide
2274 msgid ""
2275 "B<recvmsg>(2), B<sendmsg>(2), B<byteorder>(3), B<capabilities>(7), "
2276 "B<icmp>(7), B<ipv6>(7), B<netdevice>(7), B<netlink>(7), B<raw>(7), "
2277 "B<socket>(7), B<tcp>(7), B<udp>(7), B<ip>(8)"
2278 msgstr ""
2279
2280 #. type: Plain text
2281 #: debian-trixie fedora-44 fedora-rawhide
2282 msgid "The kernel source file I<Documentation/networking/ip-sysctl.txt>."
2283 msgstr ""
2284
2285 #. type: TH
2286 #: fedora-44 fedora-rawhide
2287 #, no-wrap
2288 msgid "2024-06-28"
2289 msgstr ""
2290
2291 #. type: TH
2292 #: fedora-44 fedora-rawhide
2293 #, no-wrap
2294 msgid "Linux man-pages 6.13"
2295 msgstr ""
2296
2297 #. type: TH
2298 #: mageia-cauldron
2299 #, no-wrap
2300 msgid "Linux man-pages 6.17"
2301 msgstr ""
2302
2303 #. type: TH
2304 #: opensuse-leap-16-1 opensuse-tumbleweed
2305 #, no-wrap
2306 msgid "Linux man-pages (unreleased)"
2307 msgstr ""