]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Add genetlink utilities for payload length calculation
authorBalbir Singh <balbir@in.ibm.com>
Sun, 1 Oct 2006 06:28:51 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:29 +0000 (00:39 -0700)
commit4d64aff6643910deac634504fe287f36e274a983
tree5c8c83c75be3eb95065ec5241bfd82142622a91d
parentf29de3420732c9fb667477f05d0620f36169766b
[PATCH] Add genetlink utilities for payload length calculation

Add two utility helper functions genlmsg_msg_size() and genlmsg_total_size().
These functions are derived from their netlink counterparts.

Signed-off-by: Balbir Singh <balbir@in.ibm.com>
Cc: Jamal Hadi <hadi@cyberus.ca>
Cc: Shailabh Nagar <nagar@watson.ibm.com>
Cc: Thomas Graf <tgraf@suug.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jay Lan <jlan@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/net/genetlink.h