fix idle_timeout

flow was removed at hard_timeout.
fix port destination selection.

packets will be sent back to input port only with OFPP_IN_PORT.
This rule should also be applied to group bucket output actions.
fix bucket selection

fix pointer handling in the containers.
add meter implementation

When packet drop happens, new error code ERROR_DROP_PACKET will
be returned to pipeline.
fix meter burst bucket drain speed (kilobits)
prevent wrap-around for rate limiter
fix gcc warnings with -Wall -Wextra
fix typo
nsec was 10^-9 sec
DSCP calculation

Handles AF classes only 1-4 encoded in first 3 bits (RFC2597).
The final bit in DSCP must be 0 by RFC2474.
The addition performs in 1-3 in 4-6 bits, excluding 000.
fix value size to be that of specification
reduce log output, which is normal in operation
add flow removal triggered by meter deletetion

removal of a meter will also remove associated flows by specification.
make queue thread safe in push/pop operation
performance tuning
call pcap_setnonblock() after pcap_activate()

libpcap looks expecting the function call order, that
pcap_setnonblock() is called after pcap_activate().

This makes TPACKET_V3, TPACKET_V2(USE_PCAP_IMMEDIATE_MODE) both
work fine.
Merge pull request #123 from iHiroakiKawai/libpcap_setnonblock

call pcap_setnonblock() after pcap_activate()
Merge pull request #121 from iHiroakiKawai/trivial2

fix typo
Merge pull request #122 from iHiroakiKawai/queue_thread_safe

make queue thread safe in push/pop operation
Merge pull request #112 from iHiroakiKawai/idle

fix idle_timeout