aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-linux.h
AgeCommit message (Collapse)Author
2013-08-09netdev-linux, netdev-bsd: Make access to AF_INET socket thread-safe.Ben Pfaff
The only uses of 'af_inet_sock', in both drivers, were ioctls, so it seemed like a good abstraction to write a function that just does such an ioctl, and to factor out shared code into socket-util. Signed-off-by: Ben Pfaff <blp@nicira.com> CC: Ed Maste <emaste@freebsd.org>
2013-08-07netdev-linux: Remove unneeded struct forward declarations from header.Ben Pfaff
Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Andy Zhou <azhou@nicira.com>
2012-05-02Global replace of Nicira Networks.Raju Subramanian
Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
2011-11-23vlandev: New library for working with Linux VLAN devices.Ben Pfaff
2011-09-30Remove a pair of unnecessary dependencies on datapath-protocol.h.Ben Pfaff
These headers don't really need datapath-protocol.h. connmgr.h indirectly used "struct nlattr" from that header, so add a forward declaration. (The next commit will remove use of struct nlattr entirely from that header, since it is not really appropriate.)
2011-09-15datapath: Always use generic stats for devices (vports)Pravin Shelar
Currently ovs is using device stats for Linux devices and count them itself in other situations. This leads to overlap with hardware stats, inconsistencies, etc. It's much better to just always count the packets flowing through the switch and let userspace do any merging that it wants. Following patch removes vport->get_stats() interface. vport-stat is changed to use new `struct ovs_vport_stat` rather than rtnl_link_stats64. Definitions of rtnl_link_stats64 is removed from OVS. dipf_port->stat is also removed as aggregate stats are only available at netdev layer. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
2011-08-28netdev-linux: Introduce netdev_linux_ethtool_set_flag().Justin Pettit
There will be a caller added soon.
2011-05-02netdev-linux: New functions for converting netdev stats formats.Ben Pfaff
An upcoming commit will introduce another function that needs to convert between rtnl_link_stats64 and netdev_stats, so it seemed best to just add functions to do the conversion.