| version 1.186, 2003/11/24 20:54:59 |
version 1.187, 2003/11/26 21:15:47 |
| Line 199 int ip_mtudisc_timeout = IPMTUDISCTIMEOU |
|
| Line 199 int ip_mtudisc_timeout = IPMTUDISCTIMEOU |
|
| int ipprintfs = 0; |
int ipprintfs = 0; |
| #endif |
#endif |
| |
|
| #ifdef RANDOM_IP_ID |
|
| int ip_do_randomid = 0; |
int ip_do_randomid = 0; |
| #endif |
|
| |
|
| /* |
/* |
| * XXX - Setting ip_checkinterface mostly implements the receive side of |
* XXX - Setting ip_checkinterface mostly implements the receive side of |
| Line 2075 ip_sysctl(name, namelen, oldp, oldlenp, |
|
| Line 2073 ip_sysctl(name, namelen, oldp, oldlenp, |
|
| newp, newlen, &ipintrq)); |
newp, newlen, &ipintrq)); |
| |
|
| case IPCTL_RANDOMID: |
case IPCTL_RANDOMID: |
| #ifdef RANDOM_IP_ID |
|
| return (sysctl_int(oldp, oldlenp, newp, newlen, |
return (sysctl_int(oldp, oldlenp, newp, newlen, |
| &ip_do_randomid)); |
&ip_do_randomid)); |
| #else |
|
| return (sysctl_rdint(oldp, oldlenp, newp, 0)); |
|
| #endif |
|
| |
|
| default: |
default: |
| return (EOPNOTSUPP); |
return (EOPNOTSUPP); |