No subject



Mon Oct 13 16:32:42 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Mon, 13 Oct 2003 16:33:10 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id h9DNXAko078523
	for <atanu@tigger.icir.org>; Mon, 13 Oct 2003 16:33:10 -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.3) with ESMTP id h9DNX6H5037494;
	Mon, 13 Oct 2003 16:33:06 -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 h9DNX1eb006928;
	Mon, 13 Oct 2003 16:33: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 h9DNWgeb006912
	for <xorp-cvs@icsi.berkeley.edu>; Mon, 13 Oct 2003 16:32:42 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9DNWgH5037492
	for <xorp-cvs@icir.org>; Mon, 13 Oct 2003 16:32:42 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
	by xorpc.icir.org (8.12.9p1/8.12.3) with ESMTP id h9DNWgsd067072
	for <xorp-cvs@icir.org>; Mon, 13 Oct 2003 16:32:42 -0700 (PDT)
	(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
	by xorpc.icir.org (8.12.9p1/8.12.3/Submit) id h9DNWgWo067071;
	Mon, 13 Oct 2003 16:32:42 -0700 (PDT)
	(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200310132332.h9DNWgWo067071@xorpc.icir.org>
Date:     Mon, 13 Oct 2003 16:32:42  ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/fea/ fticonfig_entry_get.hh fticonfig_entry_get_netlink.cc  	           fticonfig_entry_get_rtsock.cc fticonfig_entry_set.hh  	           fticonfig_entry_set_netlink.cc fticonfig_table_get.hh  	           fticonfig_table_get_netlink.cc ifconfig_get.hh  ...ifconfig_get_netlink.cc  ...ifconfig_set.hh  ...ifconfig_set_netlink.cc  ...netlink_socket.cc  ...netlink_socket.hh  ...netlink_socket_utils.cc  ...netlink_socket_utils.hh  ...routing_socket.cc  ...routing_socket.hh
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
Repository:	xorp/fea/
Changes by:	pavlin@xorpc.icir.org.	03/10/13 16:32:42

Modified files:
	xorp/fea/: fticonfig_entry_get.hh fticonfig_entry_get_netlink.cc 
	           fticonfig_entry_get_rtsock.cc fticonfig_entry_set.hh 
	           fticonfig_entry_set_netlink.cc fticonfig_table_get.hh 
	           fticonfig_table_get_netlink.cc ifconfig_get.hh 
	           ifconfig_get_netlink.cc ifconfig_set.hh 
	           ifconfig_set_netlink.cc netlink_socket.cc 
	           netlink_socket.hh netlink_socket_utils.cc 
	           netlink_socket_utils.hh routing_socket.cc 
	           routing_socket.hh 

Log message:
	Code refactoring, and removing duplicated code:
	
	* Add new classes NetlinkSocketReader and RoutingSocketReader,
	that are used to force synchronous reading from netlink
	or routing sockets respectively.
	* Add a new static method NlmUtils::check_netlink_request()
	that can be used by all ifconfig_* and fticonfig_*
	code.
	* Remove all duplicated Foo::nlsock_data() and
	Foo::rtsock_data() code that was used for syncronous reading
	from netlink or routing sockets, and use the new
	NetlinkSocketReader and RoutingSocketReader classes.
	* Remove all duplicated Foo::check_netlink_request(),
	and use the new NlmUtils::check_netlink_request()
	instead.
	* Added few extra XLOG_UNREACHABLE()
	* Replace few "#define FOOSIZE"
	with "static const size_t buffer_size"
	* Rename few "foobuf" to "buffer"

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs