From owner-freebsd-questions Wed May 13 11:11:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA12060 for freebsd-questions-outgoing; Wed, 13 May 1998 11:11:01 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA12019 for ; Wed, 13 May 1998 11:10:50 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id LAA01534; Wed, 13 May 1998 11:10:50 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Wed, 13 May 1998 11:10:50 -0700 (PDT) From: Doug White Reply-To: Doug White To: Sumit Gupta cc: freebsd-questions@FreeBSD.ORG Subject: Re: how to add a new system call? In-Reply-To: <199805122316.SAA07977@eesun3.tamu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 12 May 1998, Sumit Gupta wrote: > I have added some global varables in the /usr/src/sys/netinet/ip_input.c > file. I use those for some IP layer hacking and have currently hardcoded > them (just integers) and have to recompile and reboot every time I > change the value. > > How can I change the values in a running system? Is adding a new sytem > call to set them the only way? (if that IS a way :-)) The usual way to tune system values at runtime is using sysctl. Don't ask me how to use it, I only know its name. :) Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message