[BACK]Return to ip_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/ip_input.c between version 1.52 and 1.53

version 1.52, 1997/10/17 21:20:57 version 1.53, 1997/10/18 21:18:31
Line 83 
Line 83 
 #ifndef IPALLOWSRCRT  #ifndef IPALLOWSRCRT
 #define IPALLOWSRCRT    1       /* allow source-routed packets */  #define IPALLOWSRCRT    1       /* allow source-routed packets */
 #endif  #endif
   #ifndef IPMTUDISC
   #define IPMTUDISC       0
   #endif
   
 /*  /*
  * Note: DIRECTED_BROADCAST is handled this way so that previous   * Note: DIRECTED_BROADCAST is handled this way so that previous
  * configuration using this option will Just Work.   * configuration using this option will Just Work.
Line 100  int ip_defttl = IPDEFTTL;
Line 104  int ip_defttl = IPDEFTTL;
 int     ip_forwsrcrt = IPFORWSRCRT;  int     ip_forwsrcrt = IPFORWSRCRT;
 int     ip_directedbcast = IPDIRECTEDBCAST;  int     ip_directedbcast = IPDIRECTEDBCAST;
 int     ip_allowsrcrt = IPALLOWSRCRT;  int     ip_allowsrcrt = IPALLOWSRCRT;
   int     ip_mtudisc = IPMTUDISC;
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
 int     ipprintfs = 0;  int     ipprintfs = 0;
 #endif  #endif
Line 1277  ip_sysctl(name, namelen, oldp, oldlenp, 
Line 1282  ip_sysctl(name, namelen, oldp, oldlenp, 
         case IPCTL_SUBNETSARELOCAL:          case IPCTL_SUBNETSARELOCAL:
                 return (sysctl_int(oldp, oldlenp, newp, newlen,                  return (sysctl_int(oldp, oldlenp, newp, newlen,
                     &subnetsarelocal));                      &subnetsarelocal));
           case IPCTL_MTUDISC:
                   return (sysctl_int(oldp, oldlenp, newp, newlen,
                       &ip_mtudisc));
         default:          default:
                 return (EOPNOTSUPP);                  return (EOPNOTSUPP);
         }          }

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

CVSweb <webmaster@jp.NetBSD.org>