ethnl_default_parse(9)
okay bestie, welcome to the Kernel API Manual page for ethnl_default_parse(9) β it's giving "parse the request message" energy and honestly? iconic π
β¨
π NAME
ethnl_default_parse β parse the request message π
β¨ SYNOPSIS
int ethnl_default_parse (struct ethnl_req_info *req_info , const struct genl_info *info , const struct ethnl_request_ops *request_ops , bool require_dev );
π ARGUMENTS
req_infoβ pointer to the structure we're putting data into π«Άinfoβ thegenl_infofrom the request β¨request_opsβ thestruct request_opsfor the request type πrequire_devβ fail if no device is identified in the header π this one is strict, no cap
π¦ DESCRIPTION
So it parses the universal request header, then calls the request-specific ->parse_request callback β if one is defined β to parse the rest of the message. That's the vibe: header first, callback second, no skipping steps π
πΈ RETURN
0 on success, or a negative error code π pretty straightforward, periodt.
π₯ SEE ALSO
- Kernel file
./net/ethtool/netlink.c ethnl_parse_header_dev_get(9)ethnl_fill_reply_header(9)ethnl_reply_init(9)struct ethnl_dump_ctx(9)struct ethnl_perphy_dump_ctx(9)ethnl_init_reply_data(9)
bye bestie π«Ά this page's source/version is ./net/ethtool, dated October 2026, and it's all about ethnl_default_parse(9) π
π¦ 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