ovpn_socket_new(9)
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 π¦
- Kernel file
./drivers/net/ovpn/socket.cβ go read the source, bestie ovpn_socket_put(9)ovpn_socket_release(9)
made with π from ./drivers/net/ovpn β October 2026
π¦ 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