summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2022-02-16 01:25:46 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2022-02-16 01:25:46 +0000
commit4e7f3665cdf5668336d6f70cd91bc530836c8930 (patch)
tree62f52177a0727944efe1828707cde82434f2a944 /bin
parent578221498a85cb3daba50e1815422dcd6de34679 (diff)
rewrite vxlan to better fit the current kernel infrastructure.
the big change is removing the integration with and reliance on bridge(4) for learning vxlan endpoints. we have the etherbridge layer now (which is used by veb, nvgre, bpe, etc) so vxlan can operate independently of bridge(4) (or any other driver) while still dynamically learning about other endpoints. vxlan now uses the udp socket upcall mechanism to receive packets. this means it actually creates and binds udp sockets to use rather adding code in the udp layer for stealing packets from the udp layer. i think it's also important to note that this adds loop prevention to the code. this stops a vxlan interface being used to transmit a packet that was encapsulated in itself. i want to clear this out of my tree where it's been sitting for nearly a year. noone seems too concerned with the change either way. ok claudio@
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions