]> granicus.if.org Git - libnl/commit
link af ops: Add new ao_compare op to compare link af_data
authorroopa <roopa@cumulusnetworks.com>
Tue, 8 Jan 2013 13:29:08 +0000 (05:29 -0800)
committerThomas Graf <tgraf@suug.ch>
Sat, 12 Jan 2013 10:37:32 +0000 (11:37 +0100)
commit09213ee5ee9a7cd7a083ee6360efec006fc9adcc
tree8161636d51817045cc3d0d09f8e45a55865a91b3
parentb1ebda92410c57c09c7aff3e4d5ce3572d9fc1c1
link af ops: Add new ao_compare op to compare link af_data

This patch adds new operation to compare link af_data.
ao_compare is similar to object oo_compare operation.
This op can be used when two links are compared
 for their af data. It takes two link objects in
question, an object specific bitmask defining which
attributes should be compared and flags to control
the behaviour. The function must return a bitmask
with the relevant bit set for each attribute that mismatches.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/route/link/api.h