diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-03 11:22:16 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-08-03 11:22:16 +0000 |
commit | 4db9c1a02eeb9a2f2cab3f9d37ff1c15ce1b91dd (patch) | |
tree | 886d0b81496ebec1a778d257f7db7e5768c8399e /usr.sbin/traceroute6 | |
parent | b337bae270d603117da35f981f247b3da7e438c2 (diff) |
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 'usr.sbin/traceroute6')
0 files changed, 0 insertions, 0 deletions