2019-05-29 23:57:50 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2008-09-23 02:51:15 +00: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 09:46:48 +00:00
|
|
|
#include <uapi/linux/phonet.h>
|
2008-09-23 02:51:15 +00:00
|
|
|
|
2009-09-09 00:00:05 +00: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 02:51:15 +00:00
|
|
|
#endif
|