summaryrefslogtreecommitdiffstats
path: root/sys/dev/vnd.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-05-17 15:49:29 +0000
committerclaudio <claudio@openbsd.org>2010-05-17 15:49:29 +0000
commit610bcb44bd700145f58133f9ed176e90ad514ef4 (patch)
tree7545ebbb9af1084fa7692ea17262bc4da19bce42 /sys/dev/vnd.c
parentFix locking logic, remembering that hppa locks are inverted. Whilst here (diff)
downloadwireguard-openbsd-610bcb44bd700145f58133f9ed176e90ad514ef4.tar.xz
wireguard-openbsd-610bcb44bd700145f58133f9ed176e90ad514ef4.zip
Last bits of MPLS VPN support. Hook kernel routing tables and RIB together.
This adds a bit of new config to specify the mapping between an rdomain and the BGP MPLS VPN instance, example: rdomain 1 { descr "CUSTOMER1" rd 65003:1 import-target rt 65003:3 export-target rt 65003:1 depend on mpe0 network 192.168.224/24 } The "depend on mpe0" is a but ugly but for now this is the quickest way to figure out which interface bgp should use to insert the MPLS routes. A big side-effect of this diff is that networks are now internally distributed through kroute.c. This needs some kernel changes that will follow hopefully soon. OK henning@
Diffstat (limited to 'sys/dev/vnd.c')
0 files changed, 0 insertions, 0 deletions