STRUCT OVS_SKB_CB(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is struct ovs_skb_cb from the Kernel API Manual, and it is literally OVS data in skb CB. That’s the whole vibe. 🫢

πŸ’… SYNOPSIS πŸ’…

       struct ovs_skb_cb {
           struct vport            *input_vport;
           u16 mru;
           u16 acts_origlen;
           u32 cutlen;
           u32 probability;
           u32 upcall_pid;
        };

πŸŽ€ Members πŸŽ€

bestie, here’s the member-by-member tea β˜• β€” all six, no skips:

  • input_vport β€” the original vport packet came in on. This value is cached when a packet is received by OVS. πŸ’–
  • mru β€” the maximum received fragement size; 0 if the packet is not fragmented. πŸ¦‹
  • acts_origlen β€” the netlink size of the flow actions applied to this skb. ✨
  • cutlen β€” the number of bytes in the packet to preserve on output. πŸŽ€
  • probability β€” the sampling probability that was applied to this skb; 0 means no sampling has occurred; U32_MAX means 100% probability. πŸ”₯
  • upcall_pid β€” Netlink socket PID to use for sending this packet to userspace; 0 means "not set" and default per-CPU or per-vport dispatch should be used. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./net/openvswitch/datapath.h β€” go peek at the whole squad: struct dp_stats_percpu(9), struct dp_nlsk_pids(9), struct datapath(9), struct dp_upcall_info(9), struct ovs_net(9), enum ovs_pkt_hash_types(9). Periodt. πŸ’…

mwah πŸ’‹ β€” source/version: ./net/openvswitch; date: October 2026; page: struct ovs_skb_cb(9). bye bestie, go slay those skbs! 🌈

πŸ“¦ where this page comes from