Blame view

include/linux/phonet.h 537 Bytes
2b27bdcc2   Thomas Gleixner   treewide: Replace...
1
  /* SPDX-License-Identifier: GPL-2.0-only */
bce7b1542   Remi Denis-Courmont   Phonet: global de...
2
3
4
5
6
7
  /**
   * file phonet.h
   *
   * Phonet sockets kernel interface
   *
   * Copyright (C) 2008 Nokia Corporation. All rights reserved.
bce7b1542   Remi Denis-Courmont   Phonet: global de...
8
   */
bce7b1542   Remi Denis-Courmont   Phonet: global de...
9
10
  #ifndef LINUX_PHONET_H
  #define LINUX_PHONET_H
607ca46e9   David Howells   UAPI: (Scripted) ...
11
  #include <uapi/linux/phonet.h>
bce7b1542   Remi Denis-Courmont   Phonet: global de...
12

f5bb1c558   RĂ©mi Denis-Courmont   Phonet: back-end ...
13
14
15
16
17
18
19
20
21
22
23
24
25
  #define SIOCPNGAUTOCONF		(SIOCDEVPRIVATE + 0)
  
  struct if_phonet_autoconf {
  	uint8_t device;
  };
  
  struct if_phonet_req {
  	char ifr_phonet_name[16];
  	union {
  		struct if_phonet_autoconf ifru_phonet_autoconf;
  	} ifr_ifru;
  };
  #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
bce7b1542   Remi Denis-Courmont   Phonet: global de...
26
  #endif