[ovs-discuss] Can't set IPv6 next header field in packet buffer

Alan Kayahan hsykay at gmail.com
Wed Jan 17 12:50:54 UTC 2018


That something simple was my port connection. Traffic was never passing
through the switch.

2018-01-17 12:06 GMT+01:00 Alan Kayahan <hsykay at gmail.com>:

> Hello,
>
> In my custom action, setting the ethertype as following works
>
> struct eth_header *eh = dp_packet_eth(b);
> eh->eth_type = htons(ETH_TYPE_IPV6)
>
> However setting the next header field in IPv6 header as following doesn't.
>
> struct ip6_hdr *nh = dp_packet_l3(b)
> nh->ip6_nxt = htons(IPPROTO_AH);
>
> I guess I am missing something simple and would appreciate some guidance.
>
> Alan
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180117/d403b577/attachment.html>


More information about the discuss mailing list