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

phonet.h (537B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/**
      3 * file phonet.h
      4 *
      5 * Phonet sockets kernel interface
      6 *
      7 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
      8 */
      9#ifndef LINUX_PHONET_H
     10#define LINUX_PHONET_H
     11
     12#include <uapi/linux/phonet.h>
     13
     14#define SIOCPNGAUTOCONF		(SIOCDEVPRIVATE + 0)
     15
     16struct if_phonet_autoconf {
     17	uint8_t device;
     18};
     19
     20struct if_phonet_req {
     21	char ifr_phonet_name[16];
     22	union {
     23		struct if_phonet_autoconf ifru_phonet_autoconf;
     24	} ifr_ifru;
     25};
     26#define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
     27#endif