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