version 1.52, 1997/10/17 21:20:57 |
version 1.53, 1997/10/18 21:18:31 |
|
|
#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); |
} |
} |