STRUCT ETHNL_REPLY_DATA(9)
π struct ethnl_reply_data(9)
okay so bestie, welcome to the Kernel API Manual β¨ β we're talking about the struct ethnl_reply_data today, and honestly? it's giving lowkey essential. it's the base type of reply data for GET requests π«Ά
πΈ NAME πΈ
struct ethnl_reply_data β the base type of reply data for GET requests, no cap π
β¨ SYNOPSIS β¨
struct ethnl_reply_data {
struct net_device *dev;
};
look at her. one member. iconic. minimalist queen π
π¦ Members π¦
devβ this is the device for the current reply message π₯ and here's the tea: in single shot requests it is equal toethnl_req_info.dev; but in dumps it's different for each reply message π so like, don't assume, mkay?
π Description π
So this struct is the common base for request specific structures that hold data for a kernel reply message π« These always embed struct ethnl_reply_data at zero offset β yes bestie, zero offset, that's the whole vibe π§
π SEE ALSO π
- Kernel file
./net/ethtool/netlink.h ethnl_strz_size(9)ethnl_put_strz(9)ethnl_update_u32(9)ethnl_update_u8(9)ethnl_update_u8_u32(9)ethnl_update_bool32(9)ethnl_update_bool(9)ethnl_update_binary(9)ethnl_update_bitfield32(9)ethnl_reply_header_size(9)struct ethnl_req_info(9)ethnl_req_get_phydev(9)struct ethnl_request_ops(9)
like, go read all of those too, they're literally all connected π
and that's the whole page bestie!! this came straight out of ./net/ethtool and it's dated October 2026 β so yes, we're being very future-forward here β slay, bye!! π
π
π¦ 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