2019-05-30 07:57:50 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2008-09-23 10:51:15 +08:00
|
|
|
/**
|
|
|
|
* file phonet.h
|
|
|
|
*
|
|
|
|
* Phonet sockets kernel interface
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008 Nokia Corporation. All rights reserved.
|
|
|
|
*/
|
|
|
|
#ifndef LINUX_PHONET_H
|
|
|
|
#define LINUX_PHONET_H
|
|
|
|
|
2012-10-13 17:46:48 +08:00
|
|
|
#include <uapi/linux/phonet.h>
|
2008-09-23 10:51:15 +08:00
|
|
|
|
2009-09-09 08:00:05 +08:00
|
|
|
#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
|
2008-09-23 10:51:15 +08:00
|
|
|
#endif
|