rfofmsg.cc: Increase limit on route packet size (CRC)

This patch includes the ethernet CRC in the calculations for the max
length of controller-bound routing packets.

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfofmsg.py: Match route packet limits of C version

This patch limits the max_len for route packets forwarded to the
controller. It brings the python code in line with rfofmsg.cc.

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rflib: Fix BGP flow installation
rflib: Install flows to match LDP
rfserver: Install flows to drop traffic by default

This limits the traffic that a switch will forward to the controller, so
we will only ever get traffic that we explicitly request -- messages
such as ARP,ICMP and routing protocol traffic.

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
nox/rfproxy: Whitespace fixes
nox/rfproxy: Fix ID output formatting on 64-bit
msgen: Use python str() to format types in __str__

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Makefile: Halt compilation on errors in lib,client

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rftest: Add vlan,tcpdump to dependencies
rflib: Code formatting for Datapath Config
rfofmsg.cc: Refactor protocol constants to header

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfofmsg.py: Refactor protocol constants

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfofmsg.cc: Document C function parameters

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Merge pull request #14 from joestringer/submit/121212

Several minor functional and cosmetic changes.

Functional changes:
* Set limits on packet_in events for python,c++ to a constant value (~1522)
* Fix the installation of BGP flows
* Match LDP flows and forward to controller
* By default, drop all traffic that we have not explicitly allowed to forward (even to controller)

Cosmetic changes:
* Code formatting/number formatting
* rfofmsg refactoring,documentation
* Halt compilation if a component fails