summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/main.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2024-02-13 12:22:10 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2024-02-13 12:22:10 +0000
commit51a4bd63b67539da721dc5a35bb5bb2f89469b03 (patch)
tree39e4574b40e1dbe7366e3f136571e208bf64a921 /usr.bin/netstat/main.c
parent3c439a064ae7c61486a17ce1a42cb72e23a6b58f (diff)
Merge struct route and struct route_in6.
Use a common struct route for both inet and inet6. Unfortunately struct sockaddr is shorter than sockaddr_in6, so netinet/in.h has to be exposed from net/route.h. Struct route has to be bsd visible for userland as netstat kvm code inspects inp_route. Internet PCB and TCP SYN cache can use a plain struct route now. All specific sockaddr types for inet and inet6 are embeded there. OK claudio@
Diffstat (limited to 'usr.bin/netstat/main.c')
0 files changed, 0 insertions, 0 deletions