cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

sockios.h (768B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2/*
      3 * Socket-level I/O control calls.
      4 *
      5 * This file is subject to the terms and conditions of the GNU General Public
      6 * License.  See the file "COPYING" in the main directory of this archive
      7 * for more details.
      8 *
      9 * Copyright (C) 1995 by Ralf Baechle
     10 */
     11#ifndef _ASM_SOCKIOS_H
     12#define _ASM_SOCKIOS_H
     13
     14#include <asm/ioctl.h>
     15
     16/* Socket-level I/O control calls. */
     17#define FIOGETOWN	_IOR('f', 123, int)
     18#define FIOSETOWN	_IOW('f', 124, int)
     19
     20#define SIOCATMARK	_IOR('s', 7, int)
     21#define SIOCSPGRP	_IOW('s', 8, pid_t)
     22#define SIOCGPGRP	_IOR('s', 9, pid_t)
     23
     24#define SIOCGSTAMP_OLD	0x8906		/* Get stamp (timeval) */
     25#define SIOCGSTAMPNS_OLD 0x8907		/* Get stamp (timespec) */
     26
     27#endif /* _ASM_SOCKIOS_H */