18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * include/asm-xtensa/sockios.h 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Socket-level I/O control calls. Copied from MIPS. 68c2ecf20Sopenharmony_ci * 78c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 88c2ecf20Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 98c2ecf20Sopenharmony_ci * for more details. 108c2ecf20Sopenharmony_ci * 118c2ecf20Sopenharmony_ci * Copyright (C) 1995 by Ralf Baechle 128c2ecf20Sopenharmony_ci * Copyright (C) 2001 Tensilica Inc. 138c2ecf20Sopenharmony_ci */ 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#ifndef _XTENSA_SOCKIOS_H 168c2ecf20Sopenharmony_ci#define _XTENSA_SOCKIOS_H 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#include <asm/ioctl.h> 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci/* Socket-level I/O control calls. */ 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#define FIOGETOWN _IOR('f', 123, int) 238c2ecf20Sopenharmony_ci#define FIOSETOWN _IOW('f', 124, int) 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#define SIOCATMARK _IOR('s', 7, int) 268c2ecf20Sopenharmony_ci#define SIOCSPGRP _IOW('s', 8, pid_t) 278c2ecf20Sopenharmony_ci#define SIOCGPGRP _IOR('s', 9, pid_t) 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci#define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */ 308c2ecf20Sopenharmony_ci#define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */ 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci#endif /* _XTENSA_SOCKIOS_H */ 33