No subject



Thu Sep 9 18:53:38 2004
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Thu, 09 Sep 2004 11:54:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.11/8.12.8) with ESMTP id i89Is1TN076227
	for <atanu@tigger.icir.org>; Thu, 9 Sep 2004 11:54:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i89Is1NK000204
	for <atanu@icir.org>; Thu, 9 Sep 2004 11:54:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i89Is1rY016602;
	Thu, 9 Sep 2004 11:54:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id i89IrdrY016589
	for <xorp-cvs@icsi.berkeley.edu>; Thu, 9 Sep 2004 11:53:39 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.8) with ESMTP id i89IrdNK000198
	for <xorp-cvs@icir.org>; Thu, 9 Sep 2004 11:53:39 -0700 (PDT)
	(envelope-from pavlin@icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.8) with ESMTP id i89IrcIb005622
	for <xorp-cvs@icir.org>; Thu, 9 Sep 2004 11:53:38 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id i89Irc3O005621
	for xorp-cvs@icir.org; Thu, 9 Sep 2004 18:53:38 GMT
	(envelope-from pavlin)
Date: Thu, 9 Sep 2004 18:53:38 GMT
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200409091853.i89Irc3O005621@xorpc.icir.org>
To: xorp-cvs@icir.org
X-XORP-CVS-Branch: HEAD
Subject: [Xorp-cvs] XORP cvs commit: xorp/fea
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

CVSROOT:	/usr/local/share/doc/apache/cvs
Module name:	xorp
Changes by:	pavlin@xorpc.icir.org	2004-09-09 18:53:38 UTC

XORP CVS repository


Modified files:
	fea           netlink_socket.cc netlink_socket.hh 

Log message:
	* Modify the following method to NetlinkSocket and NetlinkSocketeReader
	  to return a success/error code, and to return the error message in
	  the return-by-reference "errmsg" argument:
	  - force_read()
	  - force_recvfrom()
	  - force_recvmsg()
	  - receive_data4()
	  - receive_data6()
	  - receive_data()
	
	* If NetlinkSocket::force_read() or force_recvfrom() or force_recvmsg()
	  method fails, don't call automatically
	  shutdown() to close the socket. The decision whether to close the
	  socket should be done by the caller.
	
	* Modify NetlinkSocket::select_hook(), NetlinkSocketReader::receive_data4()
	  NetlinkSocketReader::receive_data6() and NetlinkSocketReader::receive_data()
	  to check the return value of force_read().

Revision  Changes    Path
1.22      +68 -45    xorp/fea/netlink_socket.cc
1.11      +20 -7     xorp/fea/netlink_socket.hh
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs