ovpn_nexthop_from_skb4(9)
π 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:
ovpn_peer_keepalive_set(9)ovpn_peer_keepalive_send(9)ovpn_peer_new(9)ovpn_peer_reset_sockaddr(9)ovpn_peer_endpoints_update(9)ovpn_peer_release_rcu(9)ovpn_peer_release(9)ovpn_peer_release_kref(9)ovpn_peer_skb_to_sockaddr(9)ovpn_nexthop_from_skb6(9)ovpn_peer_get_by_vpn_addr4(9)ovpn_peer_get_by_vpn_addr6(9)ovpn_peer_vpn_addr_conflict4(9)ovpn_peer_vpn_addr_conflict6(9)ovpn_peer_transp_match(9)ovpn_peer_get_by_transp_addr_p2p(9)ovpn_peer_get_by_transp_addr(9)ovpn_peer_get_by_id_p2p(9)ovpn_peer_get_by_id(9)ovpn_peer_get_by_dst(9)ovpn_nexthop_from_rt4(9)ovpn_nexthop_from_rt6(9)ovpn_peer_check_by_src(9)ovpn_peer_add_mp(9)ovpn_peer_add_p2p(9)ovpn_peer_add(9)ovpn_peer_del_mp(9)ovpn_peer_del_p2p(9)ovpn_peer_del(9)ovpn_peer_release_p2p(9)ovpn_peers_free(9)ovpn_peer_keepalive_work(9)
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
- 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