Bug 273851 - missing documentation for udp_set_kernel_tunneling
Summary: missing documentation for udp_set_kernel_tunneling
Status: Open
Alias: None
Product: Documentation
Classification: Unclassified
Component: Manual Pages (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-net (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2023-09-16 12:01 UTC by Mina Galić
Modified: 2023-09-16 18:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);
```