func (r *Match) SetInPort(port openflow.InPort) { r.inPort = uint16(port.Value()) r.wildcards.InPort = false }
func (r *Match) SetInPort(port openflow.InPort) { r.mutex.Lock() defer r.mutex.Unlock() r.m[OFPXMT_OFB_IN_PORT] = uint32(port.Value()) }