If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:NETLINK GENERIC

From BoxMatrix


BoxMatrix >> System >> NETLINK_GENERIC @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Devices Filesystems Partitions Sockets Netlink Pipes Interfaces Bridges Ports Events Sources Sinks AVMIPC Processes Watchdogs Memory Slab Vmalloc ProcFS SysFS Research

Netlink-Family

Goto:   FRITZ!OS  -  Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

NETLINK_GENERIC is a family of Netlink-Sockets defined in include/uapi/linux/netlink.h (blame, raw).
It is an interface to the Generic Netlink (genetlink) family for simplified netlink usage.

Excerpt from the netlink(7) man page:

NETLINK_GENERIC (since Linux 2.6.15)

    Generic netlink family for simplified netlink usage.

See also the Generic Netlink Howto and some Example Code.

FRITZ!OS

libnl

In fw 7.14 AVM started to add the libnl-3.so netlink socket API suite to FRITZ!OS.
It includes libnl-genl-3.so to handle genetlink sockets, used by many third party commands.

See also the Netlink Protocol Library Suite (libnl) docs.

libewnwlinux

In fw 5.55 AVM implemented genetlink functions in libewnwlinux.so:

  • genetlink_init
  • genetlink_poll   -   used by l2tpv3d (5.55+) and libavmpcp.so (7.39+)
  • genetlink_exit
  • genetlink_is_exit_complete

In fw 6.10 they added:

In fw 6.98 they added:

  • genetlink_add_membership   -   only used by libavmpcp.so.
  • genetlink_dump_families   -   used by nltest (7.39+) and library internal for this aicmd enhancement:
aicmd <daemon> ewnwlinux show genetlink 

This lists all generic netlink families registered through libewnwlinux.so from aicmd listeners which use this library.
This only works if the respective listener has an open genetlink csock, otherwise the list is empty. This could be queried:

aicmd <daemon> avmcsock show csock | grep genetlink

The most reliable and box mode independent aicmd listener capable to list genetlink sockets is l2tpv3d.

Examples

fw 7.39 example:

root@fritz:/var/mod/root# aicmd l2tpv3d ewnwlinux show genetlink 

16: nlctrl           ver 2 hdrsiz 0 maxattr 7  mcast 16 (notify)
19: thermal_event    ver 1 hdrsiz 0 maxattr 1  mcast 2 (thermal_mc_grp)
20: tcp_metrics      ver 1 hdrsiz 0 maxattr 12
21: switch           ver 1 hdrsiz 0 maxattr 24
22: l2tp             ver 1 hdrsiz 0 maxattr 34 mcast 3 (l2tp)
23: pcp              ver 1 hdrsiz 0 maxattr 24 mcast 4 (pcpannounce)

Dependencies

Daily updated index of all dependencies of this netlink family. Last update: 2024-12-20 18:05 GMT.
A ** in the Mod column marks info from Supportdata2 probes, which will always stay incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the Object occurs, not the Relation.

Relation Typ Object Mod Firmware Info Group
Kernel cmd (kernel) 30** 5.04 - 7.90 Dummy representing the Linux kernel 0x00000000
Unicast cmd (unknown) 8** 6.04 - 7.58 Dummy unresolvable command 0x00000000
Multicast cmd (unknown) 1** 7.39 Dummy unresolvable command AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd (unknown) 2** 6.87 - 6.88 Dummy unresolvable command AVMGGRP_GENETLINK_ALL
Multicast cmd (unknown) 5** 7.01 - 7.31 Dummy unresolvable command AVMGGRP_L2TP
Multicast cmd (unknown) 7** 7.29 - 7.58 Dummy unresolvable command AVMGGRP_NL80211_CONFIG
Multicast cmd (unknown) 12** 7.01 - 7.31 Dummy unresolvable command AVMGGRP_NLCTRL_NOTIFY
Multicast cmd (unknown) 1** 7.29 Dummy unresolvable command AVMGGRP_PCP_ANNOUNCE
Multicast cmd (unknown) 1** 7.29 Dummy unresolvable command AVMGGRP_THERMAL_EVENT
Multicast cmd (unknown) 2** 7.29 - 7.30 Dummy unresolvable command AVMGGRP_UNKNOWN_0001
Multicast cmd (unknown) 1** 7.29 Dummy unresolvable command AVMGGRP_UNKNOWN_0002
Multicast cmd (unknown) 1** 7.29 Dummy unresolvable command AVMGGRP_UNKNOWN_0008
Multicast cmd (unknown) 3** 7.31 - 7.39 Dummy unresolvable command AVMGGRP_UNKNOWN_0040
Multicast cmd (unknown) 6** 7.29 - 7.39 Dummy unresolvable command AVMGGRP_UNKNOWN_0080
Multicast cmd (unknown) 6** 7.29 - 7.39 Dummy unresolvable command AVMGGRP_UNKNOWN_0100
Multicast cmd (unknown) 3** 7.29 - 7.39 Dummy unresolvable command AVMGGRP_UNKNOWN_0200
Multicast cmd avmike (avmcmd) 2** 7.39 ISAKMP / IPSec negotiation server / proxy. AVMGGRP_L2TP
Multicast cmd avmike (avmcmd) 2** 7.39 ISAKMP / IPSec negotiation server / proxy. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd cloudmsgd (avmcmd) 1** 7.50 Remote message peering daemon for AVM Smartphone-Apps. AVMGGRP_L2TP
Multicast cmd cloudmsgd (avmcmd) 1** 7.50 Remote message peering daemon for AVM Smartphone-Apps. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd ctlmgr (avmcmd) 1** 7.57 - 7.90 System meta daemon also serving the Webinterface. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd ctlmgr (avmcmd) 2** 6.87 - 6.88 System meta daemon also serving the Webinterface. AVMGGRP_GENETLINK_ALL
Multicast cmd ctlmgr (avmcmd) 11** 7.01 - 7.90 System meta daemon also serving the Webinterface. AVMGGRP_L2TP
Multicast cmd ctlmgr (avmcmd) 14** 7.01 - 7.90 System meta daemon also serving the Webinterface. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd ctlmgr (avmcmd) 1** 7.29 System meta daemon also serving the Webinterface. AVMGGRP_THERMAL_EVENT
Multicast cmd ctlmgr (avmcmd) 2** 7.29 - 7.30 System meta daemon also serving the Webinterface. AVMGGRP_UNKNOWN_0001
Multicast cmd ctlmgr (avmcmd) 1** 7.29 System meta daemon also serving the Webinterface. AVMGGRP_UNKNOWN_0008
Multicast cmd dsld (avmcmd) 1** 7.57 - 7.90 Internet routing daemon. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd dsld (avmcmd) 8** 7.39 - 7.90 Internet routing daemon. AVMGGRP_L2TP
Multicast cmd dsld (avmcmd) 8** 7.39 - 7.90 Internet routing daemon. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd l2tpv3d (avmcmd) 13** 7.39 - 7.90 Layer 2 tunneling protocol v3 daemon. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd multid (avmcmd) 1** 7.57 - 7.90 LAN management daemon. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd multid (avmcmd) 2** 6.87 - 6.88 LAN management daemon. AVMGGRP_GENETLINK_ALL
Multicast cmd multid (avmcmd) 11** 7.01 - 7.90 LAN management daemon. AVMGGRP_L2TP
Multicast cmd multid (avmcmd) 14** 7.01 - 7.90 LAN management daemon. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd multid (avmcmd) 1** 7.29 LAN management daemon. AVMGGRP_THERMAL_EVENT
Multicast cmd multid (avmcmd) 2** 7.29 - 7.30 LAN management daemon. AVMGGRP_UNKNOWN_0001
Multicast cmd multid (avmcmd) 1** 7.29 LAN management daemon. AVMGGRP_UNKNOWN_0008
Multicast cmd nltest 1** 7.39 Netlink MDB / FDB test daemon. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd pcpd (avmcmd) 1** 7.57 - 7.90 Port Control Protocol (PCP) daemon. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd pcpd (avmcmd) 2** 6.87 - 6.88 Port Control Protocol (PCP) daemon. AVMGGRP_GENETLINK_ALL
Multicast cmd pcpd (avmcmd) 11** 7.01 - 7.90 Port Control Protocol (PCP) daemon. AVMGGRP_L2TP
Multicast cmd pcpd (avmcmd) 14** 7.01 - 7.90 Port Control Protocol (PCP) daemon. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd pcpd (avmcmd) 1** 7.29 Port Control Protocol (PCP) daemon. AVMGGRP_THERMAL_EVENT
Multicast cmd pcpd (avmcmd) 2** 7.29 - 7.30 Port Control Protocol (PCP) daemon. AVMGGRP_UNKNOWN_0001
Multicast cmd pcpd (avmcmd) 1** 7.29 Port Control Protocol (PCP) daemon. AVMGGRP_UNKNOWN_0008
Multicast cmd voipd (avmcmd) 1** 7.57 - 7.90 VoIP daemon, also performs T.38 Fax. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd voipd (avmcmd) 8** 7.39 - 7.90 VoIP daemon, also performs T.38 Fax. AVMGGRP_L2TP
Multicast cmd voipd (avmcmd) 8** 7.39 - 7.90 VoIP daemon, also performs T.38 Fax. AVMGGRP_NLCTRL_NOTIFY
Multicast cmd vpnd (avmcmd) 1** 7.57 - 7.90 VPN daemon. AVMGGRP_ETH_DRV_NOTIFY
Multicast cmd vpnd (avmcmd) 8** 7.39 - 7.90 VPN daemon. AVMGGRP_L2TP
Multicast cmd vpnd (avmcmd) 8** 7.39 - 7.90 VPN daemon. AVMGGRP_NLCTRL_NOTIFY
52 dependencies for this netlink family

Model-Matrix

Daily updated index of the presence, path and size of this netlink family for each model. Last update: 2024-12-20 18:05 GMT.
Showing all models using this netlink family. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.

Help Supportdata2

The data in this article is incomplete since it was manually collected using the Supportdata2 project.

Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.

It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

N