From owner-freebsd-hackers Tue Jun 25 11:51:59 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA28185 for hackers-outgoing; Tue, 25 Jun 1996 11:51:59 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA28168 for ; Tue, 25 Jun 1996 11:51:55 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id EAA20563; Wed, 26 Jun 1996 04:51:12 +1000 Date: Wed, 26 Jun 1996 04:51:12 +1000 From: Bruce Evans Message-Id: <199606251851.EAA20563@godzilla.zeta.org.au> To: freebsd-hackers@freebsd.org, henrich@crh.cl.msu.edu Subject: Re: netinet/udp_usrreq.c and udpcksum Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Now I ask, why has udpcksum become static in -current, Because it is only referenced in one file. >and how does one go >about tweaking it now? The usual ways. Hack on it in /dev/kmem using a debugger or otherwise, or use sysctl: sysctl -a | grep udpcksum # to find the name and value sysctl net.inet.udp.checksum # to read the value when its # (inconsistent) name is known sysctl -w net.inet.udp.checksum=1234 # to write the value Using sysctl is by far the best method for those variables that sysctl supports. Bruce