[NETLINK]: Do precise netlink message allocations where possible
[deliverable/linux.git] / include / linux / netlink.h
index 66411622e06eb2964d3f27426b9f83c17e49c51c..e61e1e1384217677e8227bfc3dc5b3012c16e711 100644 (file)
@@ -174,6 +174,7 @@ int netlink_sendskb(struct sock *sk, struct sk_buff *skb, int protocol);
  */
 #define NLMSG_GOODORDER 0
 #define NLMSG_GOODSIZE (SKB_MAX_ORDER(0, NLMSG_GOODORDER))
+#define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
 
 
 struct netlink_callback
This page took 0.037611 seconds and 5 git commands to generate.