ovpn_socket_new(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

ovpn_socket_new(9) πŸ’… β€” your Kernel API Manual bestie

okay so welcome to the Kernel API Manual, bestie! today’s main character is ovpn_socket_new(9), and honestly? iconic. we’re creating a new socket and initializing it, periodt. ✨


🌸 NAME 🌸

ovpn_socket_new β€” create a new socket and initialize it πŸ’–


✨ SYNOPSIS ✨

struct ovpn_socket * ovpn_socket_new (struct socket *sock , struct
       ovpn_peer *peer );

🫢 ARGUMENTS 🫢

  • sock β€” the kernel socket to embed, literally the socket we’re tucking in 🧚
  • peer β€” the peer reachable via this socket, iykyk πŸ‘‘

🌈 RETURN 🌈

an openvpn socket on success or a negative error code otherwise. slay when it works, and if not? negative error code, no cap. πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹


made with πŸ’– from ./drivers/net/ovpn β€” October 2026

πŸ“¦ where this page comes from