home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / protocol / tcpip / 3887 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.1 KB

  1. Path: sparky!uunet!gatech!purdue!mentor.cc.purdue.edu!dls
  2. From: dls@mentor.cc.purdue.edu (David L Stevens)
  3. Newsgroups: comp.protocols.tcp-ip
  4. Subject: Re: UDP Broadcast - Maximum message size
  5. Message-ID: <55407@mentor.cc.purdue.edu>
  6. Date: 29 Jul 92 14:36:35 GMT
  7. References: <92209.111748KKEYTE@ESOC.BITNET>
  8. Organization: PUCC UNIX Group
  9. Lines: 27
  10.  
  11.  
  12.     The default BSD code prohibits fragmenting broadcast packets. You
  13. can disable that (with kernel sources) by just #ifdef'ing out the check;
  14. we've run it that way here for years with no noticeable performance problem.
  15.     Diffs below for 4.3 Tahoe sources; replace "PUCC" with a symbol
  16. defined for your site, or change the name to something more descriptive.
  17.  
  18. *** NEW ip_output.c    Wed Jul 29 09:33:06 1992
  19. --- OLD ip_output.c    Mon Jun 12 23:08:33 1989
  20. ***************
  21. *** 156,166 ****
  22. --- 156,170 ----
  23.               error = EACCES;
  24.               goto bad;
  25.           }
  26. + #ifndef    PUCC
  27.           /* don't allow broadcast messages to be fragmented */
  28.           if (ip->ip_len > ifp->if_mtu) {
  29.               error = EMSGSIZE;
  30.               goto bad;
  31.           }
  32. + #endif    /* NOT PUCC */
  33.       }
  34. -- 
  35.                     +-DLS  (dls@mentor.cc.purdue.edu)
  36.