[ovs-discuss] Need help with adding custom IPv6 extension header match and tag support

Gregory Rose gvrose8192 at gmail.com
Fri Dec 29 17:16:49 UTC 2017


On 12/19/2017 6:16 AM, Alan Kayahan wrote:
> Hello,
>
> I need to add a custom feature to OVS for my research where it can 
> match on a custom IPv6 extension header, and be able to perform the 
> action of appending a datagram with a custom IPv6 extension header.
>
> I cloned the latest version and followed 
> https://github.com/openvswitch/ovs/blob/7169d4fdc8e564331c7a5ad910bc1d99cb413712/FAQ.rst#development 
> <https://github.com/openvswitch/ovs/blob/7169d4fdc8e564331c7a5ad910bc1d99cb413712/FAQ.rst#development> however 
> couldn't locate the struct flow in lib/flow.h. The file 
> lib/meta-flow.h does not exist either.
>
> I'd appreciate if you could point me in the right direction. And btw, 
> is there some logging function which I can call anywhere to print to a 
> log file? For instance, calling log(packet->md) in miniflow_extract so 
> that the metadata of each passed packet is printed in some log file 
> live. That would help big time understanding the code.
>
> Regards,
> Alan

The Linux "find" utility works great for finding files.

$ find . -name flow.h
./datapath/flow.h
./include/openvswitch/flow.h
./lib/flow.h

$find . -name meta-flow.h
./include/openvswitch/meta-flow.h

- Greg

>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20171229/31c9b63a/attachment.html>


More information about the discuss mailing list