blob: 409e9262a9ab0126f68f88c9c4b83c63977060dd [file] [log] [blame]
@nl1@
identifier notify;
@@
struct netlink_notify *notify;
@@
identifier nl1.notify;
@@
-notify->portid
+netlink_notify_portid(notify)
// This works because no other struct in the kernel
// has an snd_portid member.
@@
expression info;
@@
-info->snd_portid
+genl_info_snd_portid(info)
// skb is an expression since it could be something
// other than just an identifier, e.g. cb->skb
@@
expression skb;
@@
-NETLINK_CB(skb).portid
+NETLINK_CB_PORTID(skb)