version 1.155, 2002/08/14 00:23:31 |
version 1.156, 2002/09/11 02:41:19 |
Line 192 int ip_forwsrcrt = IPFORWSRCRT; |
|
Line 192 int ip_forwsrcrt = IPFORWSRCRT; |
|
int ip_directedbcast = IPDIRECTEDBCAST; |
int ip_directedbcast = IPDIRECTEDBCAST; |
int ip_allowsrcrt = IPALLOWSRCRT; |
int ip_allowsrcrt = IPALLOWSRCRT; |
int ip_mtudisc = IPMTUDISC; |
int ip_mtudisc = IPMTUDISC; |
u_int ip_mtudisc_timeout = IPMTUDISCTIMEOUT; |
int ip_mtudisc_timeout = IPMTUDISCTIMEOUT; |
#ifdef DIAGNOSTIC |
#ifdef DIAGNOSTIC |
int ipprintfs = 0; |
int ipprintfs = 0; |
#endif |
#endif |
Line 1865 ip_sysctl(name, namelen, oldp, oldlenp, |
|
Line 1865 ip_sysctl(name, namelen, oldp, oldlenp, |
|
case IPCTL_MTUDISCTIMEOUT: |
case IPCTL_MTUDISCTIMEOUT: |
error = sysctl_int(oldp, oldlenp, newp, newlen, |
error = sysctl_int(oldp, oldlenp, newp, newlen, |
&ip_mtudisc_timeout); |
&ip_mtudisc_timeout); |
|
if (ip_mtudisc_timeout < 0) |
|
return (EINVAL); |
if (ip_mtudisc_timeout_q != NULL) |
if (ip_mtudisc_timeout_q != NULL) |
rt_timer_queue_change(ip_mtudisc_timeout_q, |
rt_timer_queue_change(ip_mtudisc_timeout_q, |
ip_mtudisc_timeout); |
ip_mtudisc_timeout); |