Bug 273851

Summary: missing documentation for udp_set_kernel_tunneling
Product: Documentation Reporter: Mina Galić <freebsd>
Component: Manual PagesAssignee: freebsd-net (Nobody) <net>
Status: Open ---    
Severity: Affects Some People CC: doc
Priority: --- Keywords: needs-patch
Version: Latest   
Hardware: Any   
OS: Any   

Description Mina Galić freebsd_triage 2023-09-16 12:01:18 UTC
Watching kp@'s https://2023.eurobsdcon.org/program/ talk about if_opvn.
So i decided to look up some APIs he mentions.

udp_set_kernel_tunneling(9) and its related functions aren't documented.

I reckon these functions from sys/udp_var.h are the related ones:

```
int		udp_ctloutput(struct socket *, struct sockopt *);
void		udplite_input(struct mbuf *, int);
struct inpcb	*udp_notify(struct inpcb *inp, int errno);
int		udp_shutdown(struct socket *so);

int		udp_set_kernel_tunneling(struct socket *so, udp_tun_func_t f,
		    udp_tun_icmp_t i, void *ctx);
```