No subject
Fri Aug 15 16:58:36 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Fri, 15 Aug 2003 16:59:01 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by tigger.icir.org (8.12.8p1/8.12.3) with ESMTP id h7FNx1vs069628
for <atanu@tigger.icir.org>; Fri, 15 Aug 2003 16:59: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.8p1/8.12.3) with ESMTP id h7FNx1dk073604
for <atanu@icir.org>; Fri, 15 Aug 2003 16:59: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.9/8.12.9) with ESMTP id h7FNx1RW028751;
Fri, 15 Aug 2003 16:59:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
by fruitcake.ICSI.Berkeley.EDU (8.12.9/8.12.9) with ESMTP id h7FNwbRW028736
for <xorp-cvs@icsi.berkeley.edu>; Fri, 15 Aug 2003 16:58:37 -0700 (PDT)
Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68])
by wyvern.icir.org (8.12.8p1/8.12.3) with ESMTP id h7FNwbdk073602
for <xorp-cvs@icir.org>; Fri, 15 Aug 2003 16:58:37 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: from xorpc.icir.org (localhost [127.0.0.1])
by xorpc.icir.org (8.12.8p1/8.12.3) with ESMTP id h7FNwakN099382
for <xorp-cvs@icir.org>; Fri, 15 Aug 2003 16:58:36 -0700 (PDT)
(envelope-from pavlin@xorpc.icir.org)
Received: (from pavlin@localhost)
by xorpc.icir.org (8.12.8p1/8.12.3/Submit) id h7FNwa0q099381;
Fri, 15 Aug 2003 16:58:36 -0700 (PDT)
(envelope-from pavlin)
From: Pavlin Radoslavov <pavlin@icir.org>
Message-Id: <200308152358.h7FNwa0q099381@xorpc.icir.org>
Date: Fri, 15 Aug 2003 16:58:36 ()
To: xorp-cvs@icir.org
Reply-To: pavlin@icir.org
Subject: [Xorp-cvs] XORP cvs commit: xorp/fea/ fticonfig.hh fticonfig.cc
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/08/15 16:58:36
Modified files:
xorp/fea/: fticonfig.hh fticonfig.cc
Log message:
Add new methods to FtiConfig to get the status of the kernel whether
it was enabled to perform unicast forwarding, and methods to
enable/disable unicast forwarding:
- unicast_forwarding_enabled[4,6]
- accept_rtadv_enabled6
- set_unicast_forwarding_enabled[4,6]
- set_accept_rtadv_enabled6
Currently, the inner code of those methods uses sysctlbyname() and
is #ifdef for all supported OS-es: *BSD and Linux.
Later, when we have support for more OSes, we must add the appropriate
method for each new platform, otherwise the above code will
fail to compile with #error
The second and the fourth methods are needed for *BSD
to get/set the flag regarding acceptance of IPv6 Router Advertisement
messages, and are no-op for Linux.
_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs