linux/include/uapi/linux/net.h

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
 * NET		An implementation of the SOCKET network access protocol.
 *		This is the master header file for the Linux NET layer,
 *		or, in plain English: the networking handling part of the
 *		kernel.
 *
 * Version:	@(#)net.h	1.0.3	05/25/93
 *
 * Authors:	Orest Zborowski, <[email protected]>
 *		Ross Biro
 *		Fred N. van Kempen, <[email protected]>
 *
 *		This program is free software; you can redistribute it and/or
 *		modify it under the terms of the GNU General Public License
 *		as published by the Free Software Foundation; either version
 *		2 of the License, or (at your option) any later version.
 */
#ifndef _UAPI_LINUX_NET_H
#define _UAPI_LINUX_NET_H

#include <linux/socket.h>
#include <asm/socket.h>

#define NPROTO

#define SYS_SOCKET
#define SYS_BIND
#define SYS_CONNECT
#define SYS_LISTEN
#define SYS_ACCEPT
#define SYS_GETSOCKNAME
#define SYS_GETPEERNAME
#define SYS_SOCKETPAIR
#define SYS_SEND
#define SYS_RECV
#define SYS_SENDTO
#define SYS_RECVFROM
#define SYS_SHUTDOWN
#define SYS_SETSOCKOPT
#define SYS_GETSOCKOPT
#define SYS_SENDMSG
#define SYS_RECVMSG
#define SYS_ACCEPT4
#define SYS_RECVMMSG
#define SYS_SENDMMSG

socket_state;

#define __SO_ACCEPTCON

#endif /* _UAPI_LINUX_NET_H */