netlink: New function nl_attr_type().
authorBen Pfaff <blp@nicira.com>
Tue, 7 Dec 2010 17:37:59 +0000 (09:37 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 19:13:31 +0000 (11:13 -0800)
commit7c6244783982509fddd62b3296bc627943bb7a1a
tree0e2064b181295e6432aa24cd048dde6b9442237a
parentee913f985d470515cc018e57ea56aac3f087702f
netlink: New function nl_attr_type().

Linux since v2.6.24 has a couple of couple of bits at the top of
nla_type that one is apparently supposed to ignore.  This commit
starts doing that in Open vSwitch userspace.

Acked-by: Jesse Gross <jesse@nicira.com>
lib/netlink-protocol.h
lib/netlink.c
lib/netlink.h