STRUCT OVS_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct ovs_header(9) 🌸

okay so bestie, welcome to the Kernel API Manual entry for struct ovs_header β€” she's small, she's iconic, she's literally the header for OVS Generic Netlink messages πŸ’…


✨ NAME ✨

struct ovs_header β€” the header for OVS Generic Netlink messages. that's her whole job and she ate πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

struct ovs_header {
    int dp_ifindex;
 };

look at her. one member. main character energy fr fr πŸ‘‘


πŸ“ Members πŸ“

  • dp_ifindex β€” the ifindex of the local port for the datapath πŸ’– and ooh, key detail: set it to 0 if you wanna make a request that's not specific to a datapath. no cap, that zero matters 🫢

🌈 Description 🌈

so here's the vibe check: the attributes that come after the header are specific to one particular OVS Generic Netlink family β€” like each family has its own little aesthetic ✨ β€” but all of the OVS families use this header. every single one. she's the shared glue, the group chat everyone's in πŸ’€πŸ’–


⭐ SEE ALSO ⭐

go read these next, bestie, i'm obsessed with this whole lineup 😭πŸ”₯

  • Kernel file ./include/uapi/linux/openvswitch.h enum ovs_datapath_attr(9)
  • enum ovs_packet_attr(9)
  • enum ovs_vport_type(9)
  • enum ovs_vport_attr(9)
  • enum ovs_vport_upcall_attr(9)
  • enum ovs_frag_type(9)
  • enum ovs_flow_attr(9)
  • enum ovs_sample_attr(9)
  • enum ovs_userspace_attr(9)
  • struct ovs_action_push_mpls(9)
  • struct ovs_action_add_mpls(9)
  • struct ovs_action_push_vlan(9)
  • enum ovs_ct_attr(9)
  • enum ovs_nat_attr(9)
  • struct ovs_action_push_eth(9)
  • enum ovs_check_pkt_len_attr(9)
  • enum ovs_psample_attr(9)
  • enum ovs_action_attr(9)

lowkey a whole reading list but trust me, it's worth it πŸ§šβ€β™€οΈπŸ’œ

and that's the tea, babe β€” this page lives in ./include/uapi/linux, dated October 2026, and she's filed under struct ovs_header(9). slay, go read some kernel headers for me πŸ’…πŸ’–πŸŒΈ

πŸ“¦ where this page comes from