ovpn_peer_id_from_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ovpn_peer_id_from_skb(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual corner of the group chat. this page is all about ovpn_peer_id_from_skb, and it's giving β€œtiny helper, very specific job” energy. πŸ¦‹

✨ NAME ✨

ovpn_peer_id_from_skb β€” extract peer ID from skb at specified offset

πŸŽ€ SYNOPSIS πŸŽ€

u32 ovpn_peer_id_from_skb (const struct sk_buff *skb , u16 offset );

πŸ’… ARGUMENTS πŸ’…

  • skb β€” the packet to extract the OP code from
  • offset β€” the offset in the data buffer where the OP code is located

πŸ’€ NOTE πŸ’€

this function assumes that the skb head was pulled enough to access the first 4 bytes.

like, do not skip the vibe check on that one β€” those first 4 bytes need to be reachable. 😭

πŸ”₯ RETURN πŸ”₯

the peer ID. that's the whole return value, no extra lore. 🫢

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” source/version: ./drivers/net/ovpn, dated October 2026, and yes bestie, the page is ovpn_peer_id_from_skb(9). bye, slay your packet parsing πŸ‘‘βœ¨

πŸ“¦ where this page comes from