On Sun, Apr 08, 2018 at 04:34:16PM +0000, Vishal Deep Ajmera wrote: > Hi, > > We are trying to setup Neighbor Solicitation Responder using OpenFlow > pipeline in OVS however it seems some of the fields in Neighbor Advertisement > Message Format cannot be set using OpenFlow set actions. Following is the > frame format of NA message: > > 0 1 2 3 > 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Type | Code | Checksum | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > |R|S|O| Reserved | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | | > + + > | | > + Target Address + > | | > + + > | | > +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ > | Options ... > +-+-+-+-+-+-+-+-+-+-+-+- > > In the above message, fields R (Router flag), S (Solicited flag) and O > (Override flag) cannot be set. Is my understanding correct ?
Yes. It would be reasonable to be able to match and set these, so I imagine that we would accept patches to enable that. > Also, is there a way to recalculate the checksum and write it to > checksum field when we set the Target Address? Whenever OVS changes any field, it updates the associated checksum. _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss