ofproto: Move 'max_ports' from ofproto-dpif.c to ofproto.c.
authorBen Pfaff <blp@nicira.com>
Fri, 20 Jul 2012 01:30:12 +0000 (18:30 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 4 Sep 2012 18:19:14 +0000 (11:19 -0700)
commit9185896026dc384f39e9bce79a05b736e4cc4ba4
tree4e21a688b9a45cf30b36ed260a93ccd94e0ee949
parent43924b126d7a962889a755c0dddcce631d6ebda9
ofproto: Move 'max_ports' from ofproto-dpif.c to ofproto.c.

This allows port numbers in actions and elsewhere in OpenFlow messages to
be checked at a higher level.

Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c