ovs_nla_get_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ovs_nla_get_match(9) πŸ’–

okay bestie, this one's straight from the Kernel API Manual, and it's giving β€œparse Netlink attributes into a flow key and mask” realness. no cap 🫢

🌸 NAME 🌸

ovs_nla_get_match β€” parses Netlink attributes into a flow key and mask.

If the mask is NULL, the flow is treated as an exact match flow. Otherwise, it's treated as a wildcarded flow β€” except the mask does not include any don't care bit. periodt πŸ’…

✨ SYNOPSIS ✨

int ovs_nla_get_match (struct net *net , struct sw_flow_match *match ,
const struct nlattr *nla_key , const struct nlattr *nla_mask , bool log
);

πŸŽ€ ARGUMENTS πŸŽ€

  • net β€” used to determine per-namespace field support. literally namespace field-support vibes 🌈
  • match β€” receives the extracted flow match information. it's the main character that gets the info πŸ‘‘
  • nla_key β€” a Netlink attribute holding a nested OVS_KEY_ATTR_* Netlink attribute sequence. the fields should be those of the packet that triggered the creation of this flow πŸ”₯
  • nla_mask β€” optional. a Netlink attribute holding a nested OVS_KEY_ATTR_* Netlink attribute that specifies the mask field of the wildcarded flow πŸŽ€
  • log β€” boolean to allow kernel error logging. normally true, but when probing for feature compatibility this should be passed in as false to suppress unnecessary error logging πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ that's the whole page, bestie β€” sourced from ./net/openvswitch, dated October 2026, and starring ovs_nla_get_match(9) πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from