Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/bits
File: ioctls.h
/* Copyright (C) 1996-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _SYS_IOCTL_H
[17] Fix | Delete
# error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead."
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
/* Use the definitions from the kernel header files. */
[21] Fix | Delete
#include <asm/ioctls.h>
[22] Fix | Delete
[23] Fix | Delete
/* Routing table calls. */
[24] Fix | Delete
#define SIOCADDRT 0x890B /* add routing table entry */
[25] Fix | Delete
#define SIOCDELRT 0x890C /* delete routing table entry */
[26] Fix | Delete
#define SIOCRTMSG 0x890D /* call to routing system */
[27] Fix | Delete
[28] Fix | Delete
/* Socket configuration controls. */
[29] Fix | Delete
#define SIOCGIFNAME 0x8910 /* get iface name */
[30] Fix | Delete
#define SIOCSIFLINK 0x8911 /* set iface channel */
[31] Fix | Delete
#define SIOCGIFCONF 0x8912 /* get iface list */
[32] Fix | Delete
#define SIOCGIFFLAGS 0x8913 /* get flags */
[33] Fix | Delete
#define SIOCSIFFLAGS 0x8914 /* set flags */
[34] Fix | Delete
#define SIOCGIFADDR 0x8915 /* get PA address */
[35] Fix | Delete
#define SIOCSIFADDR 0x8916 /* set PA address */
[36] Fix | Delete
#define SIOCGIFDSTADDR 0x8917 /* get remote PA address */
[37] Fix | Delete
#define SIOCSIFDSTADDR 0x8918 /* set remote PA address */
[38] Fix | Delete
#define SIOCGIFBRDADDR 0x8919 /* get broadcast PA address */
[39] Fix | Delete
#define SIOCSIFBRDADDR 0x891a /* set broadcast PA address */
[40] Fix | Delete
#define SIOCGIFNETMASK 0x891b /* get network PA mask */
[41] Fix | Delete
#define SIOCSIFNETMASK 0x891c /* set network PA mask */
[42] Fix | Delete
#define SIOCGIFMETRIC 0x891d /* get metric */
[43] Fix | Delete
#define SIOCSIFMETRIC 0x891e /* set metric */
[44] Fix | Delete
#define SIOCGIFMEM 0x891f /* get memory address (BSD) */
[45] Fix | Delete
#define SIOCSIFMEM 0x8920 /* set memory address (BSD) */
[46] Fix | Delete
#define SIOCGIFMTU 0x8921 /* get MTU size */
[47] Fix | Delete
#define SIOCSIFMTU 0x8922 /* set MTU size */
[48] Fix | Delete
#define SIOCSIFNAME 0x8923 /* set interface name */
[49] Fix | Delete
#define SIOCSIFHWADDR 0x8924 /* set hardware address */
[50] Fix | Delete
#define SIOCGIFENCAP 0x8925 /* get/set encapsulations */
[51] Fix | Delete
#define SIOCSIFENCAP 0x8926
[52] Fix | Delete
#define SIOCGIFHWADDR 0x8927 /* Get hardware address */
[53] Fix | Delete
#define SIOCGIFSLAVE 0x8929 /* Driver slaving support */
[54] Fix | Delete
#define SIOCSIFSLAVE 0x8930
[55] Fix | Delete
#define SIOCADDMULTI 0x8931 /* Multicast address lists */
[56] Fix | Delete
#define SIOCDELMULTI 0x8932
[57] Fix | Delete
#define SIOCGIFINDEX 0x8933 /* name -> if_index mapping */
[58] Fix | Delete
#define SIOGIFINDEX SIOCGIFINDEX /* misprint compatibility :-) */
[59] Fix | Delete
#define SIOCSIFPFLAGS 0x8934 /* set/get extended flags set */
[60] Fix | Delete
#define SIOCGIFPFLAGS 0x8935
[61] Fix | Delete
#define SIOCDIFADDR 0x8936 /* delete PA address */
[62] Fix | Delete
#define SIOCSIFHWBROADCAST 0x8937 /* set hardware broadcast addr */
[63] Fix | Delete
#define SIOCGIFCOUNT 0x8938 /* get number of devices */
[64] Fix | Delete
[65] Fix | Delete
#define SIOCGIFBR 0x8940 /* Bridging support */
[66] Fix | Delete
#define SIOCSIFBR 0x8941 /* Set bridging options */
[67] Fix | Delete
[68] Fix | Delete
#define SIOCGIFTXQLEN 0x8942 /* Get the tx queue length */
[69] Fix | Delete
#define SIOCSIFTXQLEN 0x8943 /* Set the tx queue length */
[70] Fix | Delete
[71] Fix | Delete
[72] Fix | Delete
/* ARP cache control calls. */
[73] Fix | Delete
/* 0x8950 - 0x8952 * obsolete calls, don't re-use */
[74] Fix | Delete
#define SIOCDARP 0x8953 /* delete ARP table entry */
[75] Fix | Delete
#define SIOCGARP 0x8954 /* get ARP table entry */
[76] Fix | Delete
#define SIOCSARP 0x8955 /* set ARP table entry */
[77] Fix | Delete
[78] Fix | Delete
/* RARP cache control calls. */
[79] Fix | Delete
#define SIOCDRARP 0x8960 /* delete RARP table entry */
[80] Fix | Delete
#define SIOCGRARP 0x8961 /* get RARP table entry */
[81] Fix | Delete
#define SIOCSRARP 0x8962 /* set RARP table entry */
[82] Fix | Delete
[83] Fix | Delete
/* Driver configuration calls */
[84] Fix | Delete
[85] Fix | Delete
#define SIOCGIFMAP 0x8970 /* Get device parameters */
[86] Fix | Delete
#define SIOCSIFMAP 0x8971 /* Set device parameters */
[87] Fix | Delete
[88] Fix | Delete
/* DLCI configuration calls */
[89] Fix | Delete
[90] Fix | Delete
#define SIOCADDDLCI 0x8980 /* Create new DLCI device */
[91] Fix | Delete
#define SIOCDELDLCI 0x8981 /* Delete DLCI device */
[92] Fix | Delete
[93] Fix | Delete
/* Device private ioctl calls. */
[94] Fix | Delete
[95] Fix | Delete
/* These 16 ioctls are available to devices via the do_ioctl() device
[96] Fix | Delete
vector. Each device should include this file and redefine these
[97] Fix | Delete
names as their own. Because these are device dependent it is a good
[98] Fix | Delete
idea _NOT_ to issue them to random objects and hope. */
[99] Fix | Delete
[100] Fix | Delete
#define SIOCDEVPRIVATE 0x89F0 /* to 89FF */
[101] Fix | Delete
[102] Fix | Delete
/*
[103] Fix | Delete
* These 16 ioctl calls are protocol private
[104] Fix | Delete
*/
[105] Fix | Delete
[106] Fix | Delete
#define SIOCPROTOPRIVATE 0x89E0 /* to 89EF */
[107] Fix | Delete
[108] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function