blob: bc7d1e529efc64f68f64e38948a7c49c8313a7a2 [file] [log] [blame]
Thomas Gleixner2b27bdc2019-05-29 16:57:50 -07001/* SPDX-License-Identifier: GPL-2.0-only */
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -07002/**
3 * file phonet.h
4 *
5 * Phonet sockets kernel interface
6 *
7 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -07008 */
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -07009#ifndef LINUX_PHONET_H
10#define LINUX_PHONET_H
11
David Howells607ca462012-10-13 10:46:48 +010012#include <uapi/linux/phonet.h>
Jaswinder Singh Rajput06f43ad2009-01-30 22:03:25 +053013
RĂ©mi Denis-Courmontf5bb1c52009-09-09 00:00:05 +000014#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
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -070027#endif