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
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to