nff-go
nff-go copied to clipboard
VXLAN example?
Hello. What kind of example would you like to see? If I understand it correctly, VXLAN is UDP encapsulation. Do you want to see an example application that adds VXLAN header or strips it? We have several other encapsulation examples for GTP UDP encapsulation https://github.com/intel-go/nff-go/blob/master/examples/nffPktgen/gtp-u/trafficgen.go#L212, GRE encapsulation https://github.com/intel-go/nff-go/blob/master/examples/lb/balancer.go#L58, IPSEC encapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L147 and decapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L52 which you could use to implement your own VXLAN encapsulation and decapsulation applications.
@gshimansky Hi, would be nice to have an example for VXLAN to VLAN translation.