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