Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: net.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* NET An implementation of the SOCKET network access protocol.
[2] Fix | Delete
* This is the master header file for the Linux NET layer,
[3] Fix | Delete
* or, in plain English: the networking handling part of the
[4] Fix | Delete
* kernel.
[5] Fix | Delete
*
[6] Fix | Delete
* Version: @(#)net.h 1.0.3 05/25/93
[7] Fix | Delete
*
[8] Fix | Delete
* Authors: Orest Zborowski, <obz@Kodak.COM>
[9] Fix | Delete
* Ross Biro
[10] Fix | Delete
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
[11] Fix | Delete
*
[12] Fix | Delete
* This program is free software; you can redistribute it and/or
[13] Fix | Delete
* modify it under the terms of the GNU General Public License
[14] Fix | Delete
* as published by the Free Software Foundation; either version
[15] Fix | Delete
* 2 of the License, or (at your option) any later version.
[16] Fix | Delete
*/
[17] Fix | Delete
#ifndef _LINUX_NET_H
[18] Fix | Delete
#define _LINUX_NET_H
[19] Fix | Delete
[20] Fix | Delete
#include <linux/socket.h>
[21] Fix | Delete
#include <asm/socket.h>
[22] Fix | Delete
[23] Fix | Delete
#define NPROTO AF_MAX
[24] Fix | Delete
[25] Fix | Delete
#define SYS_SOCKET 1 /* sys_socket(2) */
[26] Fix | Delete
#define SYS_BIND 2 /* sys_bind(2) */
[27] Fix | Delete
#define SYS_CONNECT 3 /* sys_connect(2) */
[28] Fix | Delete
#define SYS_LISTEN 4 /* sys_listen(2) */
[29] Fix | Delete
#define SYS_ACCEPT 5 /* sys_accept(2) */
[30] Fix | Delete
#define SYS_GETSOCKNAME 6 /* sys_getsockname(2) */
[31] Fix | Delete
#define SYS_GETPEERNAME 7 /* sys_getpeername(2) */
[32] Fix | Delete
#define SYS_SOCKETPAIR 8 /* sys_socketpair(2) */
[33] Fix | Delete
#define SYS_SEND 9 /* sys_send(2) */
[34] Fix | Delete
#define SYS_RECV 10 /* sys_recv(2) */
[35] Fix | Delete
#define SYS_SENDTO 11 /* sys_sendto(2) */
[36] Fix | Delete
#define SYS_RECVFROM 12 /* sys_recvfrom(2) */
[37] Fix | Delete
#define SYS_SHUTDOWN 13 /* sys_shutdown(2) */
[38] Fix | Delete
#define SYS_SETSOCKOPT 14 /* sys_setsockopt(2) */
[39] Fix | Delete
#define SYS_GETSOCKOPT 15 /* sys_getsockopt(2) */
[40] Fix | Delete
#define SYS_SENDMSG 16 /* sys_sendmsg(2) */
[41] Fix | Delete
#define SYS_RECVMSG 17 /* sys_recvmsg(2) */
[42] Fix | Delete
#define SYS_ACCEPT4 18 /* sys_accept4(2) */
[43] Fix | Delete
#define SYS_RECVMMSG 19 /* sys_recvmmsg(2) */
[44] Fix | Delete
#define SYS_SENDMMSG 20 /* sys_sendmmsg(2) */
[45] Fix | Delete
[46] Fix | Delete
typedef enum {
[47] Fix | Delete
SS_FREE = 0, /* not allocated */
[48] Fix | Delete
SS_UNCONNECTED, /* unconnected to any socket */
[49] Fix | Delete
SS_CONNECTING, /* in process of connecting */
[50] Fix | Delete
SS_CONNECTED, /* connected to socket */
[51] Fix | Delete
SS_DISCONNECTING /* in process of disconnecting */
[52] Fix | Delete
} socket_state;
[53] Fix | Delete
[54] Fix | Delete
#define __SO_ACCEPTCON (1 << 16) /* performed a listen */
[55] Fix | Delete
[56] Fix | Delete
#endif /* _LINUX_NET_H */
[57] Fix | Delete
[58] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function