home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.unix.questions
- Subject: Re: UDP checksum OFF in SunOS 4.1.2
- Date: 15 Sep 1992 20:00:23 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 20
- Message-ID: <195fcnINN3ml@early-bird.think.com>
- References: <136341@lll-winken.LLNL.GOV>
- NNTP-Posting-Host: telecaster.think.com
- Keywords: UDP CHECKSUM OFF SUNOS 4.1
-
- In article <136341@lll-winken.LLNL.GOV> jallen@litani.nersc.gov (John Allen) writes:
- >I know how to turn off udp checksum under ultrix:
-
- I won't ask why you want to do such a silly thing.
- >$ dbx -k vmunix
- >print udpcksum (shows current state)
- >assign udpcksum=0 (to turn off)
- >assign udpcksum=1 (to turn on)
-
- >How can I do it under SunOS 4.1.2?
-
- The same way, except the name of the variable is udp_cksum.
-
- You can also edit /sys/netinet/in_proto.c, changing the value of udp_cksum,
- and rebuild your kernel.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-