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