STRUCT OVS_SKB_CB(9)
β¨ 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;0if 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;0means no sampling has occurred;U32_MAXmeans 100% probability. π₯upcall_pidβ Netlink socket PID to use for sending this packet to userspace;0means "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
- 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