home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!casper
- From: casper@fwi.uva.nl (Casper H.S. Dik)
- Subject: Re: UDP checksum OFF in SunOS 4.1.2
- Message-ID: <1992Sep15.195830.20424@fwi.uva.nl>
- Keywords: UDP CHECKSUM OFF SUNOS 4.1
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: adam.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- References: <136341@lll-winken.LLNL.GOV>
- Date: Tue, 15 Sep 1992 19:58:30 GMT
- Lines: 32
-
- jallen@litani.nersc.gov (John Allen) writes:
-
- >I know how to turn off udp checksum under ultrix:
-
- >$ 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?
-
- > John Allen
-
- Two ways:
- - edit /sys/conf.netinet/in_proto.c
- find the declaration `` int udp_cksum = 0'' and change it
- to ``int udp_cksum = 1'' (near the end of the file)
- rebuild the kernel
-
- - use adb
- adb -w -k /vmunix /dev/mem
- udp_cksum?W1
- udp_cksum/W1
- ^D
-
- (no need to reboot)
-
- Casper
- --
- | Casper H.S. Dik
- | casper@fwi.uva.nl
-