ovpn_get_dev_from_attrs(9)
okay so bestie, welcome to the ovpn_get_dev_from_attrs(9) page from the Kernel API Manual β this helper is literally here to retrieve the ovpn private data from the netdevice a netlink message is targeting. it's giving netlink-to-netdev matchmaking, and we're obsessed. β¨
π NAME π
ovpn_get_dev_from_attrs β retrieve the ovpn private data from the netdevice a netlink message is targeting. π
πΈ SYNOPSIS πΈ
struct ovpn_priv * ovpn_get_dev_from_attrs (struct net *net , const
struct genl_info *info , netdevice_tracker *tracker );
π ARGUMENTS π
netβ the network namespace where to look for the interface. πinfoβ the generic netlink info from the user request. π«Άtrackerβ the tracker object to be used for the netdev reference acquisition. π₯
π RETURN π
the ovpn private data, if found, or an error otherwise. no cap. π
π¦ SEE ALSO π¦
Kernel file ./drivers/net/ovpn/netlink.c and these besties:
ovpn_nl_peer_modify(9)ovpn_nl_key_new_doit(9)ovpn_nl_peer_del_notify(9)ovpn_nl_peer_float_notify(9)ovpn_nl_key_swap_notify(9)ovpn_nl_register(9)ovpn_nl_unregister(9)
and that's the whole page, bestie! source/version: ./drivers/net/ovpn; date: October 2026. mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms