aboutsummaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.h
AgeCommit message (Collapse)Author
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>
2012-03-09netdev-linux: Cache error code from ether-addr ioctl.Pravin B Shelar
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
2012-03-09netdev-linux: Cache error code from mtu ioctl.Pravin B Shelar
netdev linux devices uses mtu ioctl to get and set MTU for a device. By caching error code from ioctl we can reduce number of ioctl calls for device which is unregistered from system. netdev notification is used to update mtu which saves get-mtu-ioctl. Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
2012-02-14netdev-linux: Cache flags using netlink.Ethan Jackson
Before this patch, every request for a 'netdev_dev''s flags required an ioctl call. This occurred every time netdev_get_carrier() was called, which theoretically was very often if there were a large number of devices. We were already using netlink to keep track of the IFF_RUNNING flag. This patch generalizes the code to keep track of all flags using the same netlink code. Signed-off-by: Ethan Jackson <ethan@nicira.com>
2011-10-17rtnetlink-link: Expose carrier changes.Ethan Jackson
This will be used in a future commit.
2011-09-16notifiers: Create and destroy nln_notifiers.Ethan Jackson
This patch changes the interface of netlink-notifier and rtnetlink-link. Now nln_notifiers are allocated and destroyed by the module instead of passed in by callers. This allows the definition of nln_notifier to be hidden, and generally cleans up the code.
2011-09-16notifiers: Rename run and wait functions.Ethan Jackson
It makes more sense to call nln_notifier_run() and nln_notifier_wait() simply nln_run() and nln_wait() since they don't operate on notifiers but the entire nln object. This patch changes the nln and the rtnetlink-link modules to the new convention.
2011-09-01netlink-notifier: Rename rtnetlink code.Ethan Jackson
This patch renames the rtnetlink module's code to "nln" for "netlink notifier". Callers are now required to pass in the netlink protocol to he newly renamed nln_create() function.
2011-01-04lib: Show tunnel egress interface in ovsdbEthan Jackson
This commit parses rtnetlink address notifications from the kernel in order to display the egress interface of tunnels in the database. Bug #4103.
2011-01-04rtnetlink: Remove LINK specific messages from rtnetlinkEthan Jackson
Abstracted rtnetlink so that it may be used for messages other than RTM LINK messages. Created a new rtnetlink-link module which specifically deals with these kinds of messages and follows the old rtnetlink API.