summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--trafgen_stddef.h (renamed from stddef.h)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7b8fd7d..5788f1a 100644
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,8 @@ astraceroute_distclean_custom:
netsniff-ng_install_custom flowtop_install_custom:
$(Q)$(foreach file,$(NCONF_FILES),$(call INST,$(file),$(ETCDIRE));)
trafgen_install_custom:
- $(Q)$(call INST,stddef.h,$(ETCDIRE))
+ $(Q)$(call INST,trafgen_stddef.h,$(ETCDIRE))
+ $(Q)ln -s $(ETCDIRE)/trafgen_stddef.h $(ETCDIRE)/stddef.h
astraceroute_install_custom:
$(Q)$(call INST,geoip.conf,$(ETCDIRE))
diff --git a/stddef.h b/trafgen_stddef.h
index 13688a6..13688a6 100644
--- a/stddef.h
+++ b/trafgen_stddef.h
device carrying the fdb table represented the source vni. With the vxlan device now representing multiple vnis, this patch adds a src vni attribute to the fdb entry. The remote vni already uses NDA_VNI attribute. This patch introduces NDA_SRC_VNI netlink attribute to represent the src vni in a multi vni fdb table. iproute2 example (patched and pruned iproute2 output to just show relevant fdb entries): example shows same host mac learnt on two vni's. before (netdev per vni): $bridge fdb show | grep "00:02:00:00:00:03" 00:02:00:00:00:03 dev vxlan1001 dst 12.0.0.8 self 00:02:00:00:00:03 dev vxlan1000 dst 12.0.0.8 self after this patch with collect metadata in bridged mode (single netdev): $bridge fdb show | grep "00:02:00:00:00:03" 00:02:00:00:00:03 dev vxlan0 src_vni 1001 dst 12.0.0.8 self 00:02:00:00:00:03 dev vxlan0 src_vni 1000 dst 12.0.0.8 self Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/neighbour.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h