summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vxlan.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for a multipoint-to-multipoint mode in vxlan(4). In thisreyk2016-09-031-3/+5
| | | | | | | | | | | | mode, vxlan(4) must be configured to accept any virtual network identifier with "vnetid any" and added to a bridge(4) or switch(4). This way the driver will dynamically learn the tunnel endpoints and their vnetids for the responses and can be used to dynamically bridge between VXLANs. It is also being used in combination with switch(4) and the OpenFlow tunnel classifiers. With input from yasuoka@ goda@ OK deraadt@ dlg@
* Define VXLAN_VNI_UNSET and VXLAN_VNI_MAX instead of using magic numbers.reyk2016-08-071-1/+4
| | | | No functional change.
* Add support for IPv6 tunnel endpoints. This currently only works forreyk2016-08-061-5/+4
| | | | | | | | | unicast mode, multicast is not yet supported. ifconfig vxlan0 tunnel fd00::1 fd00::2 Roughly based on an earlier diff by goda@ OK yasuoka@
* Keep "struct vxlan_softc" private to prevent pulling more headers whenmpi2015-11-271-20/+1
| | | | <net/if_vxlan.h> is included.
* tweak the vnetid so it can be optional and therefore cleared/deleted.dlg2015-10-231-2/+2
| | | | | | | | | | | | | | the abstract vnetid is promoted to a uin32_t, and adds a SIOCDVNETID ioctl so it can be cleared. this is all because i set an assignment on implementing a virtual network interface and the students got confused when vnetid 0 didnt show up in ifconfig output. the vnetid in the vxlan(4) protocol is optional, but the current code confuses 0 with no vnetid being set. this makes it clear. ok reyk@ who also simplified my diff
* unifdef INET in net code as a precursor to removing the pretend option.tedu2014-12-191-3/+1
| | | | | long live the one true internet. ok henning mikeb
* Interfaces are associated to rdomains, make it clear by renamingmpi2014-04-111-2/+2
| | | | | | `sc_rtableid' into `sc_rdomain'. No functional change. ok reyk@
* Improve the address and linkstate hooks and add an additional detachreyk2013-10-191-1/+2
| | | | hook to track any changes of the parent multicast interface.
* forgot the cookiesreyk2013-10-191-1/+5
|
* Remove obsolete ioctl defines and struct (I overloaded the pflowreyk2013-10-141-9/+1
| | | | | | | ioctls when I started vxlan, but replaced them later with own ifr-based ioctls). Found by mpi@
* Import vxlan(4), the virtual extensible local area network tunnelreyk2013-10-131-0/+77
interface. VXLAN is a UDP-based tunnelling protocol for overlaying virtualized layer 2 networks over layer 3 networks. The implementation is based on draft-mahalingam-dutt-dcops-vxlan-04 and has been tested with other implementations in the wild. put it in deraadt@