ofproto-dpif: Move send_packet() to ofproto-dpif-xlate module.
authorAlex Wang <alexw@nicira.com>
Wed, 9 Oct 2013 04:30:33 +0000 (04:30 +0000)
committerEthan Jackson <ethan@nicira.com>
Wed, 9 Oct 2013 00:57:21 +0000 (17:57 -0700)
commit91d6cd12da72f9f0f510c9c66ecb1772197f4678
tree260919deb3c78770b885250fb3db5ef57e9e1f68
parent3b8ba1744b0fdcd6955af0b03e8a057516fa0b54
ofproto-dpif: Move send_packet() to ofproto-dpif-xlate module.

This commit moves the main logic of send_packet() function into
the ofproto-dpif-xlate module.  Also, modification is made to
guarantee the thread safety of ofproto-dpif-xlate module.

Signed-off-by: Alex Wang <alexw@nicira.com>
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif-xlate.h
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h