Add common definitions for Windows builds.

Signed-off-by: Alin Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Initial noEthernetOnly work
Changes asked by Jesse
Add is_layer3 property to struct ofport_dpif
Implement format_odp_action() for push/pop eth
Fix whitespace according to style
Remove unnecessary assignment after rebase
Shifting TODOs
dataplane: fix layer 3 marking
Implement L2 -> L3 switching
ofproto-dpif: fix some unit tests

port->is_layer3 is uninitialized when patch ports are added, set its
value before the patch port test
Don't update learning table with input from L3 ports
Make Ethernet attribute optional
Fix datapath flow validation
datapath: fix push_eth() action
odp-util: add support for reading push_eth and pop_eth actions from CLI
Partially implement L3 -> L2 switching
datapath: remove debug printk
ofproto: fix a segfault
lib: don't add redundant set(eth()) action