Beispiel #1
0
func (r *Match) SetInPort(port openflow.InPort) {
	r.inPort = uint16(port.Value())
	r.wildcards.InPort = false
}
Beispiel #2
0
func (r *Match) SetInPort(port openflow.InPort) {
	r.mutex.Lock()
	defer r.mutex.Unlock()

	r.m[OFPXMT_OFB_IN_PORT] = uint32(port.Value())
}