Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: sysctl.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* sysctl.h: General linux system control interface
[2] Fix | Delete
*
[3] Fix | Delete
* Begun 24 March 1995, Stephen Tweedie
[4] Fix | Delete
*
[5] Fix | Delete
****************************************************************
[6] Fix | Delete
****************************************************************
[7] Fix | Delete
**
[8] Fix | Delete
** WARNING:
[9] Fix | Delete
** The values in this file are exported to user space via
[10] Fix | Delete
** the sysctl() binary interface. Do *NOT* change the
[11] Fix | Delete
** numbering of any existing values here, and do not change
[12] Fix | Delete
** any numbers within any one set of values. If you have to
[13] Fix | Delete
** redefine an existing interface, use a new number for it.
[14] Fix | Delete
** The kernel will then return -ENOTDIR to any application using
[15] Fix | Delete
** the old binary interface.
[16] Fix | Delete
**
[17] Fix | Delete
****************************************************************
[18] Fix | Delete
****************************************************************
[19] Fix | Delete
*/
[20] Fix | Delete
[21] Fix | Delete
#ifndef _LINUX_SYSCTL_H
[22] Fix | Delete
#define _LINUX_SYSCTL_H
[23] Fix | Delete
[24] Fix | Delete
#include <linux/kernel.h>
[25] Fix | Delete
#include <linux/types.h>
[26] Fix | Delete
[27] Fix | Delete
[28] Fix | Delete
#define CTL_MAXNAME 10 /* how many path components do we allow in a
[29] Fix | Delete
call to sysctl? In other words, what is
[30] Fix | Delete
the largest acceptable value for the nlen
[31] Fix | Delete
member of a struct __sysctl_args to have? */
[32] Fix | Delete
[33] Fix | Delete
struct __sysctl_args {
[34] Fix | Delete
int *name;
[35] Fix | Delete
int nlen;
[36] Fix | Delete
void *oldval;
[37] Fix | Delete
size_t *oldlenp;
[38] Fix | Delete
void *newval;
[39] Fix | Delete
size_t newlen;
[40] Fix | Delete
unsigned long __unused[4];
[41] Fix | Delete
};
[42] Fix | Delete
[43] Fix | Delete
/* Define sysctl names first */
[44] Fix | Delete
[45] Fix | Delete
/* Top-level names: */
[46] Fix | Delete
[47] Fix | Delete
enum
[48] Fix | Delete
{
[49] Fix | Delete
CTL_KERN=1, /* General kernel info and control */
[50] Fix | Delete
CTL_VM=2, /* VM management */
[51] Fix | Delete
CTL_NET=3, /* Networking */
[52] Fix | Delete
CTL_PROC=4, /* removal breaks strace(1) compilation */
[53] Fix | Delete
CTL_FS=5, /* Filesystems */
[54] Fix | Delete
CTL_DEBUG=6, /* Debugging */
[55] Fix | Delete
CTL_DEV=7, /* Devices */
[56] Fix | Delete
CTL_BUS=8, /* Busses */
[57] Fix | Delete
CTL_ABI=9, /* Binary emulation */
[58] Fix | Delete
CTL_CPU=10, /* CPU stuff (speed scaling, etc) */
[59] Fix | Delete
CTL_ARLAN=254, /* arlan wireless driver */
[60] Fix | Delete
CTL_S390DBF=5677, /* s390 debug */
[61] Fix | Delete
CTL_SUNRPC=7249, /* sunrpc debug */
[62] Fix | Delete
CTL_PM=9899, /* frv power management */
[63] Fix | Delete
CTL_FRV=9898, /* frv specific sysctls */
[64] Fix | Delete
};
[65] Fix | Delete
[66] Fix | Delete
/* CTL_BUS names: */
[67] Fix | Delete
enum
[68] Fix | Delete
{
[69] Fix | Delete
CTL_BUS_ISA=1 /* ISA */
[70] Fix | Delete
};
[71] Fix | Delete
[72] Fix | Delete
/* /proc/sys/fs/inotify/ */
[73] Fix | Delete
enum
[74] Fix | Delete
{
[75] Fix | Delete
INOTIFY_MAX_USER_INSTANCES=1, /* max instances per user */
[76] Fix | Delete
INOTIFY_MAX_USER_WATCHES=2, /* max watches per user */
[77] Fix | Delete
INOTIFY_MAX_QUEUED_EVENTS=3 /* max queued events per instance */
[78] Fix | Delete
};
[79] Fix | Delete
[80] Fix | Delete
/* CTL_KERN names: */
[81] Fix | Delete
enum
[82] Fix | Delete
{
[83] Fix | Delete
KERN_OSTYPE=1, /* string: system version */
[84] Fix | Delete
KERN_OSRELEASE=2, /* string: system release */
[85] Fix | Delete
KERN_OSREV=3, /* int: system revision */
[86] Fix | Delete
KERN_VERSION=4, /* string: compile time info */
[87] Fix | Delete
KERN_SECUREMASK=5, /* struct: maximum rights mask */
[88] Fix | Delete
KERN_PROF=6, /* table: profiling information */
[89] Fix | Delete
KERN_NODENAME=7, /* string: hostname */
[90] Fix | Delete
KERN_DOMAINNAME=8, /* string: domainname */
[91] Fix | Delete
[92] Fix | Delete
KERN_PANIC=15, /* int: panic timeout */
[93] Fix | Delete
KERN_REALROOTDEV=16, /* real root device to mount after initrd */
[94] Fix | Delete
[95] Fix | Delete
KERN_SPARC_REBOOT=21, /* reboot command on Sparc */
[96] Fix | Delete
KERN_CTLALTDEL=22, /* int: allow ctl-alt-del to reboot */
[97] Fix | Delete
KERN_PRINTK=23, /* struct: control printk logging parameters */
[98] Fix | Delete
KERN_NAMETRANS=24, /* Name translation */
[99] Fix | Delete
KERN_PPC_HTABRECLAIM=25, /* turn htab reclaimation on/off on PPC */
[100] Fix | Delete
KERN_PPC_ZEROPAGED=26, /* turn idle page zeroing on/off on PPC */
[101] Fix | Delete
KERN_PPC_POWERSAVE_NAP=27, /* use nap mode for power saving */
[102] Fix | Delete
KERN_MODPROBE=28, /* string: modprobe path */
[103] Fix | Delete
KERN_SG_BIG_BUFF=29, /* int: sg driver reserved buffer size */
[104] Fix | Delete
KERN_ACCT=30, /* BSD process accounting parameters */
[105] Fix | Delete
KERN_PPC_L2CR=31, /* l2cr register on PPC */
[106] Fix | Delete
[107] Fix | Delete
KERN_RTSIGNR=32, /* Number of rt sigs queued */
[108] Fix | Delete
KERN_RTSIGMAX=33, /* Max queuable */
[109] Fix | Delete
[110] Fix | Delete
KERN_SHMMAX=34, /* long: Maximum shared memory segment */
[111] Fix | Delete
KERN_MSGMAX=35, /* int: Maximum size of a messege */
[112] Fix | Delete
KERN_MSGMNB=36, /* int: Maximum message queue size */
[113] Fix | Delete
KERN_MSGPOOL=37, /* int: Maximum system message pool size */
[114] Fix | Delete
KERN_SYSRQ=38, /* int: Sysreq enable */
[115] Fix | Delete
KERN_MAX_THREADS=39, /* int: Maximum nr of threads in the system */
[116] Fix | Delete
KERN_RANDOM=40, /* Random driver */
[117] Fix | Delete
KERN_SHMALL=41, /* int: Maximum size of shared memory */
[118] Fix | Delete
KERN_MSGMNI=42, /* int: msg queue identifiers */
[119] Fix | Delete
KERN_SEM=43, /* struct: sysv semaphore limits */
[120] Fix | Delete
KERN_SPARC_STOP_A=44, /* int: Sparc Stop-A enable */
[121] Fix | Delete
KERN_SHMMNI=45, /* int: shm array identifiers */
[122] Fix | Delete
KERN_OVERFLOWUID=46, /* int: overflow UID */
[123] Fix | Delete
KERN_OVERFLOWGID=47, /* int: overflow GID */
[124] Fix | Delete
KERN_SHMPATH=48, /* string: path to shm fs */
[125] Fix | Delete
KERN_HOTPLUG=49, /* string: path to uevent helper (deprecated) */
[126] Fix | Delete
KERN_IEEE_EMULATION_WARNINGS=50, /* int: unimplemented ieee instructions */
[127] Fix | Delete
KERN_S390_USER_DEBUG_LOGGING=51, /* int: dumps of user faults */
[128] Fix | Delete
KERN_CORE_USES_PID=52, /* int: use core or core.%pid */
[129] Fix | Delete
KERN_TAINTED=53, /* int: various kernel tainted flags */
[130] Fix | Delete
KERN_CADPID=54, /* int: PID of the process to notify on CAD */
[131] Fix | Delete
KERN_PIDMAX=55, /* int: PID # limit */
[132] Fix | Delete
KERN_CORE_PATTERN=56, /* string: pattern for core-file names */
[133] Fix | Delete
KERN_PANIC_ON_OOPS=57, /* int: whether we will panic on an oops */
[134] Fix | Delete
KERN_HPPA_PWRSW=58, /* int: hppa soft-power enable */
[135] Fix | Delete
KERN_HPPA_UNALIGNED=59, /* int: hppa unaligned-trap enable */
[136] Fix | Delete
KERN_PRINTK_RATELIMIT=60, /* int: tune printk ratelimiting */
[137] Fix | Delete
KERN_PRINTK_RATELIMIT_BURST=61, /* int: tune printk ratelimiting */
[138] Fix | Delete
KERN_PTY=62, /* dir: pty driver */
[139] Fix | Delete
KERN_NGROUPS_MAX=63, /* int: NGROUPS_MAX */
[140] Fix | Delete
KERN_SPARC_SCONS_PWROFF=64, /* int: serial console power-off halt */
[141] Fix | Delete
KERN_HZ_TIMER=65, /* int: hz timer on or off */
[142] Fix | Delete
KERN_UNKNOWN_NMI_PANIC=66, /* int: unknown nmi panic flag */
[143] Fix | Delete
KERN_BOOTLOADER_TYPE=67, /* int: boot loader type */
[144] Fix | Delete
KERN_RANDOMIZE=68, /* int: randomize virtual address space */
[145] Fix | Delete
KERN_SETUID_DUMPABLE=69, /* int: behaviour of dumps for setuid core */
[146] Fix | Delete
KERN_SPIN_RETRY=70, /* int: number of spinlock retries */
[147] Fix | Delete
KERN_ACPI_VIDEO_FLAGS=71, /* int: flags for setting up video after ACPI sleep */
[148] Fix | Delete
KERN_IA64_UNALIGNED=72, /* int: ia64 unaligned userland trap enable */
[149] Fix | Delete
KERN_COMPAT_LOG=73, /* int: print compat layer messages */
[150] Fix | Delete
KERN_MAX_LOCK_DEPTH=74, /* int: rtmutex's maximum lock depth */
[151] Fix | Delete
KERN_NMI_WATCHDOG=75, /* int: enable/disable nmi watchdog */
[152] Fix | Delete
KERN_PANIC_ON_NMI=76, /* int: whether we will panic on an unrecovered */
[153] Fix | Delete
KERN_PANIC_ON_WARN=77, /* int: call panic() in WARN() functions */
[154] Fix | Delete
KERN_PANIC_PRINT=78, /* ulong: bitmask to print system info on panic */
[155] Fix | Delete
};
[156] Fix | Delete
[157] Fix | Delete
[158] Fix | Delete
[159] Fix | Delete
/* CTL_VM names: */
[160] Fix | Delete
enum
[161] Fix | Delete
{
[162] Fix | Delete
VM_UNUSED1=1, /* was: struct: Set vm swapping control */
[163] Fix | Delete
VM_UNUSED2=2, /* was; int: Linear or sqrt() swapout for hogs */
[164] Fix | Delete
VM_UNUSED3=3, /* was: struct: Set free page thresholds */
[165] Fix | Delete
VM_UNUSED4=4, /* Spare */
[166] Fix | Delete
VM_OVERCOMMIT_MEMORY=5, /* Turn off the virtual memory safety limit */
[167] Fix | Delete
VM_UNUSED5=6, /* was: struct: Set buffer memory thresholds */
[168] Fix | Delete
VM_UNUSED7=7, /* was: struct: Set cache memory thresholds */
[169] Fix | Delete
VM_UNUSED8=8, /* was: struct: Control kswapd behaviour */
[170] Fix | Delete
VM_UNUSED9=9, /* was: struct: Set page table cache parameters */
[171] Fix | Delete
VM_PAGE_CLUSTER=10, /* int: set number of pages to swap together */
[172] Fix | Delete
VM_DIRTY_BACKGROUND=11, /* dirty_background_ratio */
[173] Fix | Delete
VM_DIRTY_RATIO=12, /* dirty_ratio */
[174] Fix | Delete
VM_DIRTY_WB_CS=13, /* dirty_writeback_centisecs */
[175] Fix | Delete
VM_DIRTY_EXPIRE_CS=14, /* dirty_expire_centisecs */
[176] Fix | Delete
VM_NR_PDFLUSH_THREADS=15, /* nr_pdflush_threads */
[177] Fix | Delete
VM_OVERCOMMIT_RATIO=16, /* percent of RAM to allow overcommit in */
[178] Fix | Delete
VM_PAGEBUF=17, /* struct: Control pagebuf parameters */
[179] Fix | Delete
VM_HUGETLB_PAGES=18, /* int: Number of available Huge Pages */
[180] Fix | Delete
VM_SWAPPINESS=19, /* Tendency to steal mapped memory */
[181] Fix | Delete
VM_LOWMEM_RESERVE_RATIO=20,/* reservation ratio for lower memory zones */
[182] Fix | Delete
VM_MIN_FREE_KBYTES=21, /* Minimum free kilobytes to maintain */
[183] Fix | Delete
VM_MAX_MAP_COUNT=22, /* int: Maximum number of mmaps/address-space */
[184] Fix | Delete
VM_LAPTOP_MODE=23, /* vm laptop mode */
[185] Fix | Delete
VM_BLOCK_DUMP=24, /* block dump mode */
[186] Fix | Delete
VM_HUGETLB_GROUP=25, /* permitted hugetlb group */
[187] Fix | Delete
VM_VFS_CACHE_PRESSURE=26, /* dcache/icache reclaim pressure */
[188] Fix | Delete
VM_LEGACY_VA_LAYOUT=27, /* legacy/compatibility virtual address space layout */
[189] Fix | Delete
VM_SWAP_TOKEN_TIMEOUT=28, /* default time for token time out */
[190] Fix | Delete
VM_DROP_PAGECACHE=29, /* int: nuke lots of pagecache */
[191] Fix | Delete
VM_PERCPU_PAGELIST_FRACTION=30,/* int: fraction of pages in each percpu_pagelist */
[192] Fix | Delete
VM_ZONE_RECLAIM_MODE=31, /* reclaim local zone memory before going off node */
[193] Fix | Delete
VM_MIN_UNMAPPED=32, /* Set min percent of unmapped pages */
[194] Fix | Delete
VM_PANIC_ON_OOM=33, /* panic at out-of-memory */
[195] Fix | Delete
VM_VDSO_ENABLED=34, /* map VDSO into new processes? */
[196] Fix | Delete
VM_MIN_SLAB=35, /* Percent pages ignored by zone reclaim */
[197] Fix | Delete
};
[198] Fix | Delete
[199] Fix | Delete
[200] Fix | Delete
/* CTL_NET names: */
[201] Fix | Delete
enum
[202] Fix | Delete
{
[203] Fix | Delete
NET_CORE=1,
[204] Fix | Delete
NET_ETHER=2,
[205] Fix | Delete
NET_802=3,
[206] Fix | Delete
NET_UNIX=4,
[207] Fix | Delete
NET_IPV4=5,
[208] Fix | Delete
NET_IPX=6,
[209] Fix | Delete
NET_ATALK=7,
[210] Fix | Delete
NET_NETROM=8,
[211] Fix | Delete
NET_AX25=9,
[212] Fix | Delete
NET_BRIDGE=10,
[213] Fix | Delete
NET_ROSE=11,
[214] Fix | Delete
NET_IPV6=12,
[215] Fix | Delete
NET_X25=13,
[216] Fix | Delete
NET_TR=14,
[217] Fix | Delete
NET_DECNET=15,
[218] Fix | Delete
NET_ECONET=16,
[219] Fix | Delete
NET_SCTP=17,
[220] Fix | Delete
NET_LLC=18,
[221] Fix | Delete
NET_NETFILTER=19,
[222] Fix | Delete
NET_DCCP=20,
[223] Fix | Delete
NET_IRDA=412,
[224] Fix | Delete
};
[225] Fix | Delete
[226] Fix | Delete
/* /proc/sys/kernel/random */
[227] Fix | Delete
enum
[228] Fix | Delete
{
[229] Fix | Delete
RANDOM_POOLSIZE=1,
[230] Fix | Delete
RANDOM_ENTROPY_COUNT=2,
[231] Fix | Delete
RANDOM_READ_THRESH=3,
[232] Fix | Delete
RANDOM_WRITE_THRESH=4,
[233] Fix | Delete
RANDOM_BOOT_ID=5,
[234] Fix | Delete
RANDOM_UUID=6
[235] Fix | Delete
};
[236] Fix | Delete
[237] Fix | Delete
/* /proc/sys/kernel/pty */
[238] Fix | Delete
enum
[239] Fix | Delete
{
[240] Fix | Delete
PTY_MAX=1,
[241] Fix | Delete
PTY_NR=2
[242] Fix | Delete
};
[243] Fix | Delete
[244] Fix | Delete
/* /proc/sys/bus/isa */
[245] Fix | Delete
enum
[246] Fix | Delete
{
[247] Fix | Delete
BUS_ISA_MEM_BASE=1,
[248] Fix | Delete
BUS_ISA_PORT_BASE=2,
[249] Fix | Delete
BUS_ISA_PORT_SHIFT=3
[250] Fix | Delete
};
[251] Fix | Delete
[252] Fix | Delete
/* /proc/sys/net/core */
[253] Fix | Delete
enum
[254] Fix | Delete
{
[255] Fix | Delete
NET_CORE_WMEM_MAX=1,
[256] Fix | Delete
NET_CORE_RMEM_MAX=2,
[257] Fix | Delete
NET_CORE_WMEM_DEFAULT=3,
[258] Fix | Delete
NET_CORE_RMEM_DEFAULT=4,
[259] Fix | Delete
/* was NET_CORE_DESTROY_DELAY */
[260] Fix | Delete
NET_CORE_MAX_BACKLOG=6,
[261] Fix | Delete
NET_CORE_FASTROUTE=7,
[262] Fix | Delete
NET_CORE_MSG_COST=8,
[263] Fix | Delete
NET_CORE_MSG_BURST=9,
[264] Fix | Delete
NET_CORE_OPTMEM_MAX=10,
[265] Fix | Delete
NET_CORE_HOT_LIST_LENGTH=11,
[266] Fix | Delete
NET_CORE_DIVERT_VERSION=12,
[267] Fix | Delete
NET_CORE_NO_CONG_THRESH=13,
[268] Fix | Delete
NET_CORE_NO_CONG=14,
[269] Fix | Delete
NET_CORE_LO_CONG=15,
[270] Fix | Delete
NET_CORE_MOD_CONG=16,
[271] Fix | Delete
NET_CORE_DEV_WEIGHT=17,
[272] Fix | Delete
NET_CORE_SOMAXCONN=18,
[273] Fix | Delete
NET_CORE_BUDGET=19,
[274] Fix | Delete
NET_CORE_AEVENT_ETIME=20,
[275] Fix | Delete
NET_CORE_AEVENT_RSEQTH=21,
[276] Fix | Delete
NET_CORE_WARNINGS=22,
[277] Fix | Delete
};
[278] Fix | Delete
[279] Fix | Delete
/* /proc/sys/net/ethernet */
[280] Fix | Delete
[281] Fix | Delete
/* /proc/sys/net/802 */
[282] Fix | Delete
[283] Fix | Delete
/* /proc/sys/net/unix */
[284] Fix | Delete
[285] Fix | Delete
enum
[286] Fix | Delete
{
[287] Fix | Delete
NET_UNIX_DESTROY_DELAY=1,
[288] Fix | Delete
NET_UNIX_DELETE_DELAY=2,
[289] Fix | Delete
NET_UNIX_MAX_DGRAM_QLEN=3,
[290] Fix | Delete
};
[291] Fix | Delete
[292] Fix | Delete
/* /proc/sys/net/netfilter */
[293] Fix | Delete
enum
[294] Fix | Delete
{
[295] Fix | Delete
NET_NF_CONNTRACK_MAX=1,
[296] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2,
[297] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3,
[298] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4,
[299] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5,
[300] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6,
[301] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7,
[302] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8,
[303] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9,
[304] Fix | Delete
NET_NF_CONNTRACK_UDP_TIMEOUT=10,
[305] Fix | Delete
NET_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11,
[306] Fix | Delete
NET_NF_CONNTRACK_ICMP_TIMEOUT=12,
[307] Fix | Delete
NET_NF_CONNTRACK_GENERIC_TIMEOUT=13,
[308] Fix | Delete
NET_NF_CONNTRACK_BUCKETS=14,
[309] Fix | Delete
NET_NF_CONNTRACK_LOG_INVALID=15,
[310] Fix | Delete
NET_NF_CONNTRACK_TCP_TIMEOUT_MAX_RETRANS=16,
[311] Fix | Delete
NET_NF_CONNTRACK_TCP_LOOSE=17,
[312] Fix | Delete
NET_NF_CONNTRACK_TCP_BE_LIBERAL=18,
[313] Fix | Delete
NET_NF_CONNTRACK_TCP_MAX_RETRANS=19,
[314] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_CLOSED=20,
[315] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_WAIT=21,
[316] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_COOKIE_ECHOED=22,
[317] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_ESTABLISHED=23,
[318] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_SENT=24,
[319] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_RECD=25,
[320] Fix | Delete
NET_NF_CONNTRACK_SCTP_TIMEOUT_SHUTDOWN_ACK_SENT=26,
[321] Fix | Delete
NET_NF_CONNTRACK_COUNT=27,
[322] Fix | Delete
NET_NF_CONNTRACK_ICMPV6_TIMEOUT=28,
[323] Fix | Delete
NET_NF_CONNTRACK_FRAG6_TIMEOUT=29,
[324] Fix | Delete
NET_NF_CONNTRACK_FRAG6_LOW_THRESH=30,
[325] Fix | Delete
NET_NF_CONNTRACK_FRAG6_HIGH_THRESH=31,
[326] Fix | Delete
NET_NF_CONNTRACK_CHECKSUM=32,
[327] Fix | Delete
};
[328] Fix | Delete
[329] Fix | Delete
/* /proc/sys/net/ipv4 */
[330] Fix | Delete
enum
[331] Fix | Delete
{
[332] Fix | Delete
/* v2.0 compatibile variables */
[333] Fix | Delete
NET_IPV4_FORWARD=8,
[334] Fix | Delete
NET_IPV4_DYNADDR=9,
[335] Fix | Delete
[336] Fix | Delete
NET_IPV4_CONF=16,
[337] Fix | Delete
NET_IPV4_NEIGH=17,
[338] Fix | Delete
NET_IPV4_ROUTE=18,
[339] Fix | Delete
NET_IPV4_FIB_HASH=19,
[340] Fix | Delete
NET_IPV4_NETFILTER=20,
[341] Fix | Delete
[342] Fix | Delete
NET_IPV4_TCP_TIMESTAMPS=33,
[343] Fix | Delete
NET_IPV4_TCP_WINDOW_SCALING=34,
[344] Fix | Delete
NET_IPV4_TCP_SACK=35,
[345] Fix | Delete
NET_IPV4_TCP_RETRANS_COLLAPSE=36,
[346] Fix | Delete
NET_IPV4_DEFAULT_TTL=37,
[347] Fix | Delete
NET_IPV4_AUTOCONFIG=38,
[348] Fix | Delete
NET_IPV4_NO_PMTU_DISC=39,
[349] Fix | Delete
NET_IPV4_TCP_SYN_RETRIES=40,
[350] Fix | Delete
NET_IPV4_IPFRAG_HIGH_THRESH=41,
[351] Fix | Delete
NET_IPV4_IPFRAG_LOW_THRESH=42,
[352] Fix | Delete
NET_IPV4_IPFRAG_TIME=43,
[353] Fix | Delete
NET_IPV4_TCP_MAX_KA_PROBES=44,
[354] Fix | Delete
NET_IPV4_TCP_KEEPALIVE_TIME=45,
[355] Fix | Delete
NET_IPV4_TCP_KEEPALIVE_PROBES=46,
[356] Fix | Delete
NET_IPV4_TCP_RETRIES1=47,
[357] Fix | Delete
NET_IPV4_TCP_RETRIES2=48,
[358] Fix | Delete
NET_IPV4_TCP_FIN_TIMEOUT=49,
[359] Fix | Delete
NET_IPV4_IP_MASQ_DEBUG=50,
[360] Fix | Delete
NET_TCP_SYNCOOKIES=51,
[361] Fix | Delete
NET_TCP_STDURG=52,
[362] Fix | Delete
NET_TCP_RFC1337=53,
[363] Fix | Delete
NET_TCP_SYN_TAILDROP=54,
[364] Fix | Delete
NET_TCP_MAX_SYN_BACKLOG=55,
[365] Fix | Delete
NET_IPV4_LOCAL_PORT_RANGE=56,
[366] Fix | Delete
NET_IPV4_ICMP_ECHO_IGNORE_ALL=57,
[367] Fix | Delete
NET_IPV4_ICMP_ECHO_IGNORE_BROADCASTS=58,
[368] Fix | Delete
NET_IPV4_ICMP_SOURCEQUENCH_RATE=59,
[369] Fix | Delete
NET_IPV4_ICMP_DESTUNREACH_RATE=60,
[370] Fix | Delete
NET_IPV4_ICMP_TIMEEXCEED_RATE=61,
[371] Fix | Delete
NET_IPV4_ICMP_PARAMPROB_RATE=62,
[372] Fix | Delete
NET_IPV4_ICMP_ECHOREPLY_RATE=63,
[373] Fix | Delete
NET_IPV4_ICMP_IGNORE_BOGUS_ERROR_RESPONSES=64,
[374] Fix | Delete
NET_IPV4_IGMP_MAX_MEMBERSHIPS=65,
[375] Fix | Delete
NET_TCP_TW_RECYCLE=66,
[376] Fix | Delete
NET_IPV4_ALWAYS_DEFRAG=67,
[377] Fix | Delete
NET_IPV4_TCP_KEEPALIVE_INTVL=68,
[378] Fix | Delete
NET_IPV4_INET_PEER_THRESHOLD=69,
[379] Fix | Delete
NET_IPV4_INET_PEER_MINTTL=70,
[380] Fix | Delete
NET_IPV4_INET_PEER_MAXTTL=71,
[381] Fix | Delete
NET_IPV4_INET_PEER_GC_MINTIME=72,
[382] Fix | Delete
NET_IPV4_INET_PEER_GC_MAXTIME=73,
[383] Fix | Delete
NET_TCP_ORPHAN_RETRIES=74,
[384] Fix | Delete
NET_TCP_ABORT_ON_OVERFLOW=75,
[385] Fix | Delete
NET_TCP_SYNACK_RETRIES=76,
[386] Fix | Delete
NET_TCP_MAX_ORPHANS=77,
[387] Fix | Delete
NET_TCP_MAX_TW_BUCKETS=78,
[388] Fix | Delete
NET_TCP_FACK=79,
[389] Fix | Delete
NET_TCP_REORDERING=80,
[390] Fix | Delete
NET_TCP_ECN=81,
[391] Fix | Delete
NET_TCP_DSACK=82,
[392] Fix | Delete
NET_TCP_MEM=83,
[393] Fix | Delete
NET_TCP_WMEM=84,
[394] Fix | Delete
NET_TCP_RMEM=85,
[395] Fix | Delete
NET_TCP_APP_WIN=86,
[396] Fix | Delete
NET_TCP_ADV_WIN_SCALE=87,
[397] Fix | Delete
NET_IPV4_NONLOCAL_BIND=88,
[398] Fix | Delete
NET_IPV4_ICMP_RATELIMIT=89,
[399] Fix | Delete
NET_IPV4_ICMP_RATEMASK=90,
[400] Fix | Delete
NET_TCP_TW_REUSE=91,
[401] Fix | Delete
NET_TCP_FRTO=92,
[402] Fix | Delete
NET_TCP_LOW_LATENCY=93,
[403] Fix | Delete
NET_IPV4_IPFRAG_SECRET_INTERVAL=94,
[404] Fix | Delete
NET_IPV4_IGMP_MAX_MSF=96,
[405] Fix | Delete
NET_TCP_NO_METRICS_SAVE=97,
[406] Fix | Delete
NET_TCP_DEFAULT_WIN_SCALE=105,
[407] Fix | Delete
NET_TCP_MODERATE_RCVBUF=106,
[408] Fix | Delete
NET_TCP_TSO_WIN_DIVISOR=107,
[409] Fix | Delete
NET_TCP_BIC_BETA=108,
[410] Fix | Delete
NET_IPV4_ICMP_ERRORS_USE_INBOUND_IFADDR=109,
[411] Fix | Delete
NET_TCP_CONG_CONTROL=110,
[412] Fix | Delete
NET_TCP_ABC=111,
[413] Fix | Delete
NET_IPV4_IPFRAG_MAX_DIST=112,
[414] Fix | Delete
NET_TCP_MTU_PROBING=113,
[415] Fix | Delete
NET_TCP_BASE_MSS=114,
[416] Fix | Delete
NET_IPV4_TCP_WORKAROUND_SIGNED_WINDOWS=115,
[417] Fix | Delete
NET_TCP_DMA_COPYBREAK=116,
[418] Fix | Delete
NET_TCP_SLOW_START_AFTER_IDLE=117,
[419] Fix | Delete
NET_CIPSOV4_CACHE_ENABLE=118,
[420] Fix | Delete
NET_CIPSOV4_CACHE_BUCKET_SIZE=119,
[421] Fix | Delete
NET_CIPSOV4_RBM_OPTFMT=120,
[422] Fix | Delete
NET_CIPSOV4_RBM_STRICTVALID=121,
[423] Fix | Delete
NET_TCP_AVAIL_CONG_CONTROL=122,
[424] Fix | Delete
NET_TCP_ALLOWED_CONG_CONTROL=123,
[425] Fix | Delete
NET_TCP_MAX_SSTHRESH=124,
[426] Fix | Delete
NET_TCP_FRTO_RESPONSE=125,
[427] Fix | Delete
};
[428] Fix | Delete
[429] Fix | Delete
enum {
[430] Fix | Delete
NET_IPV4_ROUTE_FLUSH=1,
[431] Fix | Delete
NET_IPV4_ROUTE_MIN_DELAY=2, /* obsolete since 2.6.25 */
[432] Fix | Delete
NET_IPV4_ROUTE_MAX_DELAY=3, /* obsolete since 2.6.25 */
[433] Fix | Delete
NET_IPV4_ROUTE_GC_THRESH=4,
[434] Fix | Delete
NET_IPV4_ROUTE_MAX_SIZE=5,
[435] Fix | Delete
NET_IPV4_ROUTE_GC_MIN_INTERVAL=6,
[436] Fix | Delete
NET_IPV4_ROUTE_GC_TIMEOUT=7,
[437] Fix | Delete
NET_IPV4_ROUTE_GC_INTERVAL=8, /* obsolete since 2.6.38 */
[438] Fix | Delete
NET_IPV4_ROUTE_REDIRECT_LOAD=9,
[439] Fix | Delete
NET_IPV4_ROUTE_REDIRECT_NUMBER=10,
[440] Fix | Delete
NET_IPV4_ROUTE_REDIRECT_SILENCE=11,
[441] Fix | Delete
NET_IPV4_ROUTE_ERROR_COST=12,
[442] Fix | Delete
NET_IPV4_ROUTE_ERROR_BURST=13,
[443] Fix | Delete
NET_IPV4_ROUTE_GC_ELASTICITY=14,
[444] Fix | Delete
NET_IPV4_ROUTE_MTU_EXPIRES=15,
[445] Fix | Delete
NET_IPV4_ROUTE_MIN_PMTU=16,
[446] Fix | Delete
NET_IPV4_ROUTE_MIN_ADVMSS=17,
[447] Fix | Delete
NET_IPV4_ROUTE_SECRET_INTERVAL=18,
[448] Fix | Delete
NET_IPV4_ROUTE_GC_MIN_INTERVAL_MS=19,
[449] Fix | Delete
};
[450] Fix | Delete
[451] Fix | Delete
enum
[452] Fix | Delete
{
[453] Fix | Delete
NET_PROTO_CONF_ALL=-2,
[454] Fix | Delete
NET_PROTO_CONF_DEFAULT=-3
[455] Fix | Delete
[456] Fix | Delete
/* And device ifindices ... */
[457] Fix | Delete
};
[458] Fix | Delete
[459] Fix | Delete
enum
[460] Fix | Delete
{
[461] Fix | Delete
NET_IPV4_CONF_FORWARDING=1,
[462] Fix | Delete
NET_IPV4_CONF_MC_FORWARDING=2,
[463] Fix | Delete
NET_IPV4_CONF_PROXY_ARP=3,
[464] Fix | Delete
NET_IPV4_CONF_ACCEPT_REDIRECTS=4,
[465] Fix | Delete
NET_IPV4_CONF_SECURE_REDIRECTS=5,
[466] Fix | Delete
NET_IPV4_CONF_SEND_REDIRECTS=6,
[467] Fix | Delete
NET_IPV4_CONF_SHARED_MEDIA=7,
[468] Fix | Delete
NET_IPV4_CONF_RP_FILTER=8,
[469] Fix | Delete
NET_IPV4_CONF_ACCEPT_SOURCE_ROUTE=9,
[470] Fix | Delete
NET_IPV4_CONF_BOOTP_RELAY=10,
[471] Fix | Delete
NET_IPV4_CONF_LOG_MARTIANS=11,
[472] Fix | Delete
NET_IPV4_CONF_TAG=12,
[473] Fix | Delete
NET_IPV4_CONF_ARPFILTER=13,
[474] Fix | Delete
NET_IPV4_CONF_MEDIUM_ID=14,
[475] Fix | Delete
NET_IPV4_CONF_NOXFRM=15,
[476] Fix | Delete
NET_IPV4_CONF_NOPOLICY=16,
[477] Fix | Delete
NET_IPV4_CONF_FORCE_IGMP_VERSION=17,
[478] Fix | Delete
NET_IPV4_CONF_ARP_ANNOUNCE=18,
[479] Fix | Delete
NET_IPV4_CONF_ARP_IGNORE=19,
[480] Fix | Delete
NET_IPV4_CONF_PROMOTE_SECONDARIES=20,
[481] Fix | Delete
NET_IPV4_CONF_ARP_ACCEPT=21,
[482] Fix | Delete
NET_IPV4_CONF_ARP_NOTIFY=22,
[483] Fix | Delete
};
[484] Fix | Delete
[485] Fix | Delete
/* /proc/sys/net/ipv4/netfilter */
[486] Fix | Delete
enum
[487] Fix | Delete
{
[488] Fix | Delete
NET_IPV4_NF_CONNTRACK_MAX=1,
[489] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_SENT=2,
[490] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_SYN_RECV=3,
[491] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_ESTABLISHED=4,
[492] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_FIN_WAIT=5,
[493] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE_WAIT=6,
[494] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_LAST_ACK=7,
[495] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_TIME_WAIT=8,
[496] Fix | Delete
NET_IPV4_NF_CONNTRACK_TCP_TIMEOUT_CLOSE=9,
[497] Fix | Delete
NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT=10,
[498] Fix | Delete
NET_IPV4_NF_CONNTRACK_UDP_TIMEOUT_STREAM=11,
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function