# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2025-08-10 07:55+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "libnetlink" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "libnetlink - A library for accessing the netlink service" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "#include Easm/types.hE\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "#include Elibnetlink.hE\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "#include Elinux/netlink.hE\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "#include Elinux/rtnetlink.hE\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rtnl_open(struct rtnl_handle *rth, unsigned subscriptions)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rtnl_wilddump_request(struct rtnl_handle *rth, int family, int type)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rtnl_send(struct rtnl_handle *rth, char *buf, int len)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rtnl_dump_request(struct rtnl_handle *rth, int type, void *req, int len)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "" "int rtnl_dump_filter(struct rtnl_handle *rth,\n" "\t\t int (*filter)(struct sockaddr_nl *, struct nlmsghdr *n, void *),\n" "\t\t void *arg1,\n" "\t\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n" "\t\t void *arg2)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "" "int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,\n" "\t unsigned groups, struct nlmsghdr *answer,\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "\t int (*junk)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "\t void *jarg)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "" "int rtnl_listen(struct rtnl_handle *rtnl,\n" "\t int (*handler)(struct sockaddr_nl *, struct rtnl_ctrl_data *,\n" "\t\t\t struct nlmsghdr *n, void *),\n" "\t void *jarg)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "" "int rtnl_from_file(FILE *rtnl,\n" "\t int (*handler)(struct sockaddr_nl *,struct nlmsghdr *n, void *),\n" "\t void *jarg)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rta_addattr32(struct rtattr *rta, int maxlen, int type, __u32 data)\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen)\n" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "libnetlink provides a higher level interface to B(7). The read " "functions return 0 on success and a negative errno on failure. The send " "functions return the amount of data sent, or -1 on error." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_open" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Open a rtnetlink socket and save the state into the B handle. This " "handle is passed to all subsequent calls. B is a bitmap of " "the rtnetlink multicast groups the socket will be a member of." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_wilddump_request" msgstr "" #. XXX #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Request a full dump of the B database for B addresses. " "B is a rtnetlink message type." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_dump_request" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Request a full dump of the B data buffer into B with maximum " "length of B B is a rtnetlink message type." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_dump_filter" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Receive netlink data after a request and filter it. The B callback " "checks if the received message is wanted. It gets the source address of the " "message, the message itself and B as arguments. 0 as return means that " "the filter passed, a negative value is returned by I in " "case of error. NULL for I means to not use a filter. B is " "used to filter messages not destined to the local socket. Only one message " "bundle is received. If there is a message pending, this function does not " "block." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_listen" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Receive netlink data after a request and pass it to I B " "is a callback that gets the message source address, anscillary data, the " "message itself, and the B cookie as arguments. It will get called for " "all received messages. Only one message bundle is received. If there is a " "message pending this function does not block." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_from_file" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Works like I but reads a netlink message bundle from the file " "B and passes the messages to B for parsing. The file should " "contain raw data as received from a rtnetlink socket." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "The following functions are useful to construct custom rtnetlink messages. " "For simple database dumping with filtering it is better to use the higher " "level functions above. See B(3) and B(3) on how to " "generate a rtnetlink message. The following utility functions require a " "continuous buffer that already contains a netlink message header and a " "rtnetlink request." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rtnl_send" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "Send the rtnetlink message in B of length B to handle B" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "addattr32" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Add a __u32 attribute of type B and with value B to netlink " "message B which is part of a buffer of length B" msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "addattr_l" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Add a variable length attribute of type B and with value B and " "B length to netlink message B which is part of a buffer of length " "B B is copied." msgstr "" #. type: TP #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "rta_addattr32" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "Initialize the rtnetlink attribute B with a __u32 data value." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "Initialize the rtnetlink attribute B with a variable length data value." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "This library is meant for internal use, use libmnl for new programs." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "The functions sometimes use fprintf and exit when a fatal error occurs. " "This library should be named librtnetlink." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "AUTHORS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "" "netlink/rtnetlink was designed and written by Alexey Kuznetsov. Andi Kleen " "wrote the man page." msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable mageia-cauldron #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "B(7), B(7)" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable mageia-cauldron msgid "/usr/include/linux/rtnetlink.h" msgstr ""