diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-08-06 14:33:34 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-08-06 14:33:34 +0000 |
commit | b1794bc9350af573958b3ab1be77c732b1109cc5 (patch) | |
tree | 885a0e7ed480733b38bb2597dae27465eb55c273 /sys/net/if_vxlan.h | |
parent | 30a1274d5c2707fdf478fa5ecc23f6f9986dfddf (diff) |
Add support for IPv6 tunnel endpoints. This currently only works for
unicast mode, multicast is not yet supported.
ifconfig vxlan0 tunnel fd00::1 fd00::2
Roughly based on an earlier diff by goda@
OK yasuoka@
Diffstat (limited to 'sys/net/if_vxlan.h')
-rw-r--r-- | sys/net/if_vxlan.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/net/if_vxlan.h b/sys/net/if_vxlan.h index 1d7201ea7de..2e43ccdd0d5 100644 --- a/sys/net/if_vxlan.h +++ b/sys/net/if_vxlan.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vxlan.h,v 1.8 2015/11/27 16:17:52 mpi Exp $ */ +/* $OpenBSD: if_vxlan.h,v 1.9 2016/08/06 14:33:33 reyk Exp $ */ /* * Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org> @@ -33,10 +33,9 @@ struct vxlan_header { #define VXLAN_RESERVED2 0x000000ff } __packed; -struct vxlanudpiphdr { - struct ipovly ui_i; - struct udphdr ui_u; - struct vxlan_header ui_v; +struct vxlanudphdr { + struct udphdr vu_u; + struct vxlan_header vu_v; } __packed; #ifdef _KERNEL |