ofproto-dpif: Break send_packet_in() into two separate functions.
authorBen Pfaff <blp@nicira.com>
Tue, 27 Sep 2011 22:22:22 +0000 (15:22 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 14 Oct 2011 21:08:44 +0000 (14:08 -0700)
commit62cd70721ac27719a1d41225563e2496f49f0312
tree664dd37523eba0b6d7aa40e5e4feef0d1c29e6cf
parent6bc6002490ae127a6d0c1dc6f6b8843cac8e0c22
ofproto-dpif: Break send_packet_in() into two separate functions.

It's been more or less convenient to pass a dpif_upcall to send_packet_in()
in the past, because most callers had one handy.  But an upcoming commit
won't have such easy access, so this commit breaks send_packet_in() into
two functions for the different types of packets to send to the controller,
each of which takes appropriate parameters instead of dpif_upcall.
ofproto/ofproto-dpif.c