diff options
author | 2004-08-03 11:22:15 +0000 | |
---|---|---|
committer | 2004-08-03 11:22:15 +0000 | |
commit | 19e112c6533e21d05325868d6695d73b5584f69b (patch) | |
tree | 826c36c8135dd62c5e7a56d890b7a1b03ff5b3b1 /sys/compat/netbsd/netbsd_getcwd.c | |
parent | Rewrite the transport reference count code to avoid leaks. (diff) | |
download | wireguard-openbsd-19e112c6533e21d05325868d6695d73b5584f69b.tar.xz wireguard-openbsd-19e112c6533e21d05325868d6695d73b5584f69b.zip |
introduce route labels, allowing for up to 32 bytes of info to be attached
to a route.
the label is sent over the routing socket wrapped into a new
struct sockaddr_rtlabel, allowing for handling it like any other sockaddr.
struct rtentry only contains a (16 bit) label-ID, with the actual labels
kept outside the routing table.
ID allocator code inspired by my own code for altq and pf tags.
mostly hacked at the c2k4 hackathon, markus ok
Diffstat (limited to 'sys/compat/netbsd/netbsd_getcwd.c')
0 files changed, 0 insertions, 0 deletions