ovpn_nexthop_from_skb4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ovpn_nexthop_from_skb4(9) β€” Kernel API Manual πŸ’…

okay so bestie, welcome to the ovpn_nexthop_from_skb4(9) page β€” yes, we're in the Kernel API Manual, and this function is lowkey the friend who retrieves the IPv4 nexthop for an outgoing skb. No cap, that's the whole vibe.

✨ NAME ✨

ovpn_nexthop_from_skb4 β€” retrieve IPv4 nexthop for outgoing skb. That's it, that's the assignment: grab the IPv4 nexthop for a packet that's on its way out. πŸ’–

✨ SYNOPSIS ✨

__be32 ovpn_nexthop_from_skb4 (struct sk_buff *skb );

literally the signature, bestie β€” copy it exactly and don't fumble it. The return type is right there as __be32, and the argument is struct sk_buff *skb.

🫢 ARGUMENTS 🫢

  • skb β€” the outgoing packet. That's the one and only argument: the packet that is heading out. slay.

πŸ”₯ RETURN πŸ”₯

It returns the IPv4 of the nexthop. periodt β€” that's the value you get back.

🌈 SEE ALSO 🌈

The Kernel file is ./drivers/net/ovpn/peer.c, and these are all the related manual pages. iykyk β€” we do not skip the long list around here, because every single one matters:


cute sign-off time: this ovpn_nexthop_from_skb4(9) page comes from ./drivers/net/ovpn, dated October 2026 β€” and it ate, no notes πŸ’…πŸ’–

πŸ“¦ where this page comes from