ovs_nla_get_match(9)
π 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 nestedOVS_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 nestedOVS_KEY_ATTR_*Netlink attribute that specifies the mask field of the wildcarded flow πlogβ boolean to allow kernel error logging. normallytrue, but when probing for feature compatibility this should be passed in asfalseto suppress unnecessary error logging π
π¦ SEE ALSO π¦
- Kernel file
./net/openvswitch/flow_netlink.c ovs_nla_get_flow_metadata(9)
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
- 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