summaryrefslogtreecommitdiff
path: root/lib/rtnetlink-link.h
Commit message (Collapse)AuthorAgeFilesLines
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | 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>
* netdev-linux: Cache error code from ether-addr ioctl.Pravin B Shelar2012-03-091-0/+3
| | | | Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
* netdev-linux: Cache error code from mtu ioctl.Pravin B Shelar2012-03-091-0/+1
| | | | | | | | | 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>
* netdev-linux: Cache flags using netlink.Ethan Jackson2012-02-141-1/+1
| | | | | | | | | | | | 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>
* rtnetlink-link: Expose carrier changes.Ethan Jackson2011-10-171-0/+1
| | | | This will be used in a future commit.
* notifiers: Create and destroy nln_notifiers.Ethan Jackson2011-09-161-3/+3
| | | | | | | | 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.
* notifiers: Rename run and wait functions.Ethan Jackson2011-09-161-2/+2
| | | | | | | | 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.
* netlink-notifier: Rename rtnetlink code.Ethan Jackson2011-09-011-3/+3
| | | | | | 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.
* lib: Show tunnel egress interface in ovsdbEthan Jackson2011-01-041-0/+5
| | | | | | | | This commit parses rtnetlink address notifications from the kernel in order to display the egress interface of tunnels in the database. Bug #4103.
* rtnetlink: Remove LINK specific messages from rtnetlinkEthan Jackson2011-01-041-0/+53
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.