Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 1996 04:51:12 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-hackers@freebsd.org, henrich@crh.cl.msu.edu
Subject:   Re: netinet/udp_usrreq.c and udpcksum
Message-ID:  <199606251851.EAA20563@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606251851.EAA20563>