162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * include/asm-xtensa/sockios.h 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Socket-level I/O control calls. Copied from MIPS. 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 862306a36Sopenharmony_ci * License. See the file "COPYING" in the main directory of this archive 962306a36Sopenharmony_ci * for more details. 1062306a36Sopenharmony_ci * 1162306a36Sopenharmony_ci * Copyright (C) 1995 by Ralf Baechle 1262306a36Sopenharmony_ci * Copyright (C) 2001 Tensilica Inc. 1362306a36Sopenharmony_ci */ 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#ifndef _XTENSA_SOCKIOS_H 1662306a36Sopenharmony_ci#define _XTENSA_SOCKIOS_H 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include <asm/ioctl.h> 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci/* Socket-level I/O control calls. */ 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#define FIOGETOWN _IOR('f', 123, int) 2362306a36Sopenharmony_ci#define FIOSETOWN _IOW('f', 124, int) 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci#define SIOCATMARK _IOR('s', 7, int) 2662306a36Sopenharmony_ci#define SIOCSPGRP _IOW('s', 8, pid_t) 2762306a36Sopenharmony_ci#define SIOCGPGRP _IOR('s', 9, pid_t) 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci#define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */ 3062306a36Sopenharmony_ci#define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */ 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ci#endif /* _XTENSA_SOCKIOS_H */ 33