summaryrefslogtreecommitdiff
path: root/sys/ddb/db_var.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-05-16 08:21:55 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-05-16 08:21:55 +0000
commite5bd2286e7b0e93cf1e98a5b18b344c7d50369d3 (patch)
tree1918788f397148c848fe337aa9ceb89d8fb8094c /sys/ddb/db_var.h
parenta132090e68072110247b931538908d87919fe5c8 (diff)
Do not put any link-layer address on the per-ifp lists or on the RB-
Tree. Since interfaces only support one link-layer address accessible via the if_sadl member, there's no need to have it elsewhere. This improves various address lookups because the first element of the list, the link- layer address, won't necessarily be discarded. Finally remove the empty netmask associated to every link-layer address. This hack was needed to (ab)use the address & netmask comparison code to do a strcmp() on the interface name embedded in the sdl_data field. ok henning@, claudio@
Diffstat (limited to 'sys/ddb/db_var.h')
0 files changed, 0 insertions, 0 deletions