| version 1.82.2.2.2.2, 1999/07/01 23:47:01 |
version 1.82.2.2.2.3, 1999/08/02 22:34:58 |
|
|
| |
|
| #include "opt_gateway.h" |
#include "opt_gateway.h" |
| #include "opt_pfil_hooks.h" |
#include "opt_pfil_hooks.h" |
| |
#include "opt_ipsec.h" |
| #include "opt_mrouting.h" |
#include "opt_mrouting.h" |
| |
|
| #include <sys/param.h> |
#include <sys/param.h> |
|
|
| |
|
| #ifdef IPSEC |
#ifdef IPSEC |
| #include <netinet6/ipsec.h> |
#include <netinet6/ipsec.h> |
| #include <netinet6/ah.h> |
|
| #ifdef IPSEC_ESP |
|
| #include <netinet6/esp.h> |
|
| #endif |
|
| #include <netkey/key.h> |
#include <netkey/key.h> |
| #include <netkey/key_debug.h> |
#include <netkey/key_debug.h> |
| #endif |
#endif |
| Line 1638 ip_sysctl(name, namelen, oldp, oldlenp, |
|
| Line 1635 ip_sysctl(name, namelen, oldp, oldlenp, |
|
| return (error); |
return (error); |
| } |
} |
| #endif |
#endif |
| |
case IPCTL_HOSTZEROBROADCAST: |
| |
return (sysctl_int(oldp, oldlenp, newp, newlen, |
| |
&hostzeroisbroadcast)); |
| #if NGIF > 0 |
#if NGIF > 0 |
| case IPCTL_GIF_TTL: |
case IPCTL_GIF_TTL: |
| return(sysctl_int(oldp, oldlenp, newp, newlen, |
return(sysctl_int(oldp, oldlenp, newp, newlen, |
| &gif_ttl)); |
&ip_gif_ttl)); |
| #endif |
#endif |
| case IPCTL_HOSTZEROBROADCAST: |
|
| return (sysctl_int(oldp, oldlenp, newp, newlen, |
|
| &hostzeroisbroadcast)); |
|
| |
|
| default: |
default: |
| return (EOPNOTSUPP); |
return (EOPNOTSUPP); |