1/**
2 * file phonet.h
3 *
4 * Phonet sockets kernel interface
5 *
6 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * version 2 as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */
22#ifndef LINUX_PHONET_H
23#define LINUX_PHONET_H
24
25#include <uapi/linux/phonet.h>
26
27#define SIOCPNGAUTOCONF		(SIOCDEVPRIVATE + 0)
28
29struct if_phonet_autoconf {
30	uint8_t device;
31};
32
33struct if_phonet_req {
34	char ifr_phonet_name[16];
35	union {
36		struct if_phonet_autoconf ifru_phonet_autoconf;
37	} ifr_ifru;
38};
39#define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
40#endif
41