ethnl_fill_reply_header(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ethnl_fill_reply_header(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for ethnl_fill_reply_header ✨ this one is short, sweet, and very β€œput the common header into a reply message” coded πŸ’Œ

🌸 NAME 🌸

ethnl_fill_reply_header β€” Put common header into a reply message πŸ’Œ

✨ SYNOPSIS ✨

int ethnl_fill_reply_header (struct sk_buff *skb , struct net_device
       *dev , u16 attrtype );

πŸŽ€ ARGUMENTS πŸŽ€

  • skb β€” the skb with the message πŸ“¨
  • dev β€” the network device to describe in the header πŸ–₯️
  • attrtype β€” the attribute type to use for the nest πŸͺΊ

πŸ’– DESCRIPTION πŸ’–

So what it does: it creates a nested attribute, and that nest is full of attributes describing the given network device 🌈. That’s the whole vibe β€” nested attribute, device description, iconic behavior, slay ✨

πŸ”₯ RETURN πŸ”₯

  • 0 on success πŸŽ‰
  • error value on error β€” and heads up, it’s -EMSGSIZE only, no cap 😭

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/ethtool/netlink.c has the friends:


mwah πŸ’‹ β€” from ./net/ethtool, dated October 2026. bye bestie, go put that common header in a reply message! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from