diff options
author | Ben Pfaff <blp@nicira.com> | 2013-05-10 14:39:19 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-05-10 14:39:36 -0700 |
commit | 796223f5bc3a4896e6398733c798390158479400 (patch) | |
tree | 22bee34ee7f351bedd75b440b536d0865a48c430 /lib/netdev-vport.c | |
parent | 33ab38d9b861ab07fc4a291b77ce426bb3a1609e (diff) | |
download | openvswitch-796223f5bc3a4896e6398733c798390158479400.tar.gz |
netdev: Add new "struct netdev_rx" for capturing packets from a netdev.
Separating packet capture from "struct netdev" means that there is no
remaining per-"struct netdev" state, which will allow us to get rid of
"struct netdev_dev" (by renaming it "struct netdev").
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/netdev-vport.c')
-rw-r--r-- | lib/netdev-vport.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/netdev-vport.c b/lib/netdev-vport.c index 07117314d..c1c3cbbc7 100644 --- a/lib/netdev-vport.c +++ b/lib/netdev-vport.c @@ -644,10 +644,7 @@ get_stats(const struct netdev *netdev, struct netdev_stats *stats) netdev_vport_open, \ netdev_vport_close, \ \ - NULL, /* listen */ \ - NULL, /* recv */ \ - NULL, /* recv_wait */ \ - NULL, /* drain */ \ + NULL, /* rx_open */ \ \ NULL, /* send */ \ NULL, /* send_wait */ \ |