Debian Codegraph @

templates/man3/libnetlink.3.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: 2025-08-10 07:55+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 mageia-cauldron
21 #, no-wrap
22 msgid "libnetlink"
23 msgstr ""
24
25 #. type: SH
26 #: archlinux debian-trixie debian-unstable mageia-cauldron
27 #, no-wrap
28 msgid "NAME"
29 msgstr ""
30
31 #. type: Plain text
32 #: archlinux debian-trixie debian-unstable mageia-cauldron
33 msgid "libnetlink - A library for accessing the netlink service"
34 msgstr ""
35
36 #. type: SH
37 #: archlinux debian-trixie debian-unstable mageia-cauldron
38 #, no-wrap
39 msgid "SYNOPSIS"
40 msgstr ""
41
42 #. type: Plain text
43 #: archlinux debian-trixie debian-unstable mageia-cauldron
44 #, no-wrap
45 msgid "#include E<lt>asm/types.hE<gt>\n"
46 msgstr ""
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable mageia-cauldron
50 #, no-wrap
51 msgid "#include E<lt>libnetlink.hE<gt>\n"
52 msgstr ""
53
54 #. type: Plain text
55 #: archlinux debian-trixie debian-unstable mageia-cauldron
56 #, no-wrap
57 msgid "#include E<lt>linux/netlink.hE<gt>\n"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable mageia-cauldron
62 #, no-wrap
63 msgid "#include E<lt>linux/rtnetlink.hE<gt>\n"
64 msgstr ""
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable mageia-cauldron
68 #, no-wrap
69 msgid "int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions)\n"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable mageia-cauldron
74 #, no-wrap
75 msgid "int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type)\n"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable mageia-cauldron
80 #, no-wrap
81 msgid "int rtnl_send(struct rtnl_handle *rth, char *buf, int len)\n"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable mageia-cauldron
86 #, no-wrap
87 msgid "int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)\n"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable mageia-cauldron
92 #, no-wrap
93 msgid ""
94 "int rtnl_dump_filter(struct rtnl_handle *rth,\n"
95 "\t\t int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),\n"
96 "\t\t void *arg1,\n"
97 "\t\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
98 "\t\t void *arg2)\n"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable mageia-cauldron
103 #, no-wrap
104 msgid ""
105 "int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,\n"
106 "\t unsigned groups, struct nlmsghdr *answer,\n"
107 msgstr ""
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable mageia-cauldron
111 #, no-wrap
112 msgid "\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable mageia-cauldron
117 #, no-wrap
118 msgid "\t void *jarg)\n"
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable mageia-cauldron
123 #, no-wrap
124 msgid ""
125 "int rtnl_listen(struct rtnl_handle *rtnl,\n"
126 "\t int (*handler)(struct sockaddr_nl *, struct rtnl_ctrl_data *,\n"
127 "\t\t\t struct nlmsghdr *n, void *),\n"
128 "\t void *jarg)\n"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable mageia-cauldron
133 #, no-wrap
134 msgid ""
135 "int rtnl_from_file(FILE *rtnl,\n"
136 "\t int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n"
137 "\t void *jarg)\n"
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable mageia-cauldron
142 #, no-wrap
143 msgid "int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)\n"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable mageia-cauldron
148 #, no-wrap
149 msgid "int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen)\n"
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable mageia-cauldron
154 #, no-wrap
155 msgid "int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data)\n"
156 msgstr ""
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable mageia-cauldron
160 #, no-wrap
161 msgid "int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen)\n"
162 msgstr ""
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable mageia-cauldron
166 #, no-wrap
167 msgid "DESCRIPTION"
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable mageia-cauldron
172 msgid ""
173 "libnetlink provides a higher level interface to B<rtnetlink>(7). The read "
174 "functions return 0 on success and a negative errno on failure. The send "
175 "functions return the amount of data sent, or -1 on error."
176 msgstr ""
177
178 #. type: TP
179 #: archlinux debian-trixie debian-unstable mageia-cauldron
180 #, no-wrap
181 msgid "rtnl_open"
182 msgstr ""
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable mageia-cauldron
186 msgid ""
187 "Open a rtnetlink socket and save the state into the B<rth> handle. This "
188 "handle is passed to all subsequent calls. B<subscriptions> is a bitmap of "
189 "the rtnetlink multicast groups the socket will be a member of."
190 msgstr ""
191
192 #. type: TP
193 #: archlinux debian-trixie debian-unstable mageia-cauldron
194 #, no-wrap
195 msgid "rtnl_wilddump_request"
196 msgstr ""
197
198 #. XXX
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable mageia-cauldron
201 msgid ""
202 "Request a full dump of the B<type> database for B<family> addresses. "
203 "B<type> is a rtnetlink message type."
204 msgstr ""
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable mageia-cauldron
208 #, no-wrap
209 msgid "rtnl_dump_request"
210 msgstr ""
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable mageia-cauldron
214 msgid ""
215 "Request a full dump of the B<type> data buffer into B<buf> with maximum "
216 "length of B<len.> B<type> is a rtnetlink message type."
217 msgstr ""
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable mageia-cauldron
221 #, no-wrap
222 msgid "rtnl_dump_filter"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable mageia-cauldron
227 msgid ""
228 "Receive netlink data after a request and filter it. The B<filter> callback "
229 "checks if the received message is wanted. It gets the source address of the "
230 "message, the message itself and B<arg1> as arguments. 0 as return means that "
231 "the filter passed, a negative value is returned by I<rtnl_dump_filter> in "
232 "case of error. NULL for I<filter> means to not use a filter. B<junk> is "
233 "used to filter messages not destined to the local socket. Only one message "
234 "bundle is received. If there is a message pending, this function does not "
235 "block."
236 msgstr ""
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable mageia-cauldron
240 #, no-wrap
241 msgid "rtnl_listen"
242 msgstr ""
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable mageia-cauldron
246 msgid ""
247 "Receive netlink data after a request and pass it to I<handler.> B<handler> "
248 "is a callback that gets the message source address, anscillary data, the "
249 "message itself, and the B<jarg> cookie as arguments. It will get called for "
250 "all received messages. Only one message bundle is received. If there is a "
251 "message pending this function does not block."
252 msgstr ""
253
254 #. type: TP
255 #: archlinux debian-trixie debian-unstable mageia-cauldron
256 #, no-wrap
257 msgid "rtnl_from_file"
258 msgstr ""
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable mageia-cauldron
262 msgid ""
263 "Works like I<rtnl_listen,> but reads a netlink message bundle from the file "
264 "B<file> and passes the messages to B<handler> for parsing. The file should "
265 "contain raw data as received from a rtnetlink socket."
266 msgstr ""
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable mageia-cauldron
270 msgid ""
271 "The following functions are useful to construct custom rtnetlink messages. "
272 "For simple database dumping with filtering it is better to use the higher "
273 "level functions above. See B<rtnetlink>(3) and B<netlink>(3) on how to "
274 "generate a rtnetlink message. The following utility functions require a "
275 "continuous buffer that already contains a netlink message header and a "
276 "rtnetlink request."
277 msgstr ""
278
279 #. type: TP
280 #: archlinux debian-trixie debian-unstable mageia-cauldron
281 #, no-wrap
282 msgid "rtnl_send"
283 msgstr ""
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable mageia-cauldron
287 msgid "Send the rtnetlink message in B<buf> of length B<len> to handle B<rth.>"
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable mageia-cauldron
292 #, no-wrap
293 msgid "addattr32"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable mageia-cauldron
298 msgid ""
299 "Add a __u32 attribute of type B<type> and with value B<data> to netlink "
300 "message B<n,> which is part of a buffer of length B<maxlen.>"
301 msgstr ""
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable mageia-cauldron
305 #, no-wrap
306 msgid "addattr_l"
307 msgstr ""
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable mageia-cauldron
311 msgid ""
312 "Add a variable length attribute of type B<type> and with value B<data> and "
313 "B<alen> length to netlink message B<n,> which is part of a buffer of length "
314 "B<maxlen.> B<data> is copied."
315 msgstr ""
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable mageia-cauldron
319 #, no-wrap
320 msgid "rta_addattr32"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable mageia-cauldron
325 msgid "Initialize the rtnetlink attribute B<rta> with a __u32 data value."
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable mageia-cauldron
330 msgid ""
331 "Initialize the rtnetlink attribute B<rta> with a variable length data value."
332 msgstr ""
333
334 #. type: SH
335 #: archlinux debian-trixie debian-unstable mageia-cauldron
336 #, no-wrap
337 msgid "BUGS"
338 msgstr ""
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable mageia-cauldron
342 msgid "This library is meant for internal use, use libmnl for new programs."
343 msgstr ""
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable mageia-cauldron
347 msgid ""
348 "The functions sometimes use fprintf and exit when a fatal error occurs. "
349 "This library should be named librtnetlink."
350 msgstr ""
351
352 #. type: SH
353 #: archlinux debian-trixie debian-unstable mageia-cauldron
354 #, no-wrap
355 msgid "AUTHORS"
356 msgstr ""
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable mageia-cauldron
360 msgid ""
361 "netlink/rtnetlink was designed and written by Alexey Kuznetsov. Andi Kleen "
362 "wrote the man page."
363 msgstr ""
364
365 #. type: SH
366 #: archlinux debian-trixie debian-unstable mageia-cauldron
367 #, no-wrap
368 msgid "SEE ALSO"
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable mageia-cauldron
373 msgid "B<netlink>(7), B<rtnetlink>(7)"
374 msgstr ""
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable mageia-cauldron
378 msgid "/usr/include/linux/rtnetlink.h"
379 msgstr ""