]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: Add socket options to get number of queued messages
authoroscar.medina@motorola.com <oscar.medina@motorola.com>
Tue, 30 Jun 2009 03:25:39 +0000 (03:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jul 2009 02:16:11 +0000 (19:16 -0700)
commitb6b5c73658db9fab84afc1ccc310ec2a50e6e1a5
tree395be1b4fe613f8016d306f5ba39b98630360740
parent94df3d58cdaf9dccd3026435ec7fa206f6cb336f
tipc: Add socket options to get number of queued messages

This patch allows a TIPC application to determine the number of messages
currently waiting in a socket's receive queue (TIPC_SOCK_RECVQ_DEPTH) or
in all TIPC socket receive queues (TIPC_NODE_RECVQ_DEPTH).

Signed-off-by: Oscar Medina <oscar.medina@motorola.com>
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/tipc.h
net/tipc/socket.c