diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2022-02-16 01:25:46 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2022-02-16 01:25:46 +0000 |
commit | 4e7f3665cdf5668336d6f70cd91bc530836c8930 (patch) | |
tree | 62f52177a0727944efe1828707cde82434f2a944 /games/cribbage/extern.c | |
parent | 578221498a85cb3daba50e1815422dcd6de34679 (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 'games/cribbage/extern.c')
0 files changed, 0 insertions, 0 deletions