home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / question / 11100 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  1.0 KB

  1. Path: sparky!uunet!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: UDP checksum OFF in SunOS 4.1.2
  5. Date: 15 Sep 1992 20:00:23 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 20
  8. Message-ID: <195fcnINN3ml@early-bird.think.com>
  9. References: <136341@lll-winken.LLNL.GOV>
  10. NNTP-Posting-Host: telecaster.think.com
  11. Keywords: UDP CHECKSUM OFF SUNOS 4.1
  12.  
  13. In article <136341@lll-winken.LLNL.GOV> jallen@litani.nersc.gov (John Allen) writes:
  14. >I know how to turn off udp checksum under ultrix:
  15.  
  16. I won't ask why you want to do such a silly thing.
  17. >$ dbx -k vmunix 
  18. >print udpcksum    (shows current state)
  19. >assign udpcksum=0 (to turn off)
  20. >assign udpcksum=1 (to turn on)
  21.  
  22. >How can I do it under SunOS 4.1.2?
  23.  
  24. The same way, except the name of the variable is udp_cksum.
  25.  
  26. You can also edit /sys/netinet/in_proto.c, changing the value of udp_cksum,
  27. and rebuild your kernel.
  28. -- 
  29. Barry Margolin
  30. System Manager, Thinking Machines Corp.
  31.  
  32. barmar@think.com          {uunet,harvard}!think!barmar
  33.