blob: f691b04fc5cebec9e4f4254a81e9e4a3a0c06494 [file] [log] [blame]
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -07001/**
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 */
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -070022#ifndef LINUX_PHONET_H
23#define LINUX_PHONET_H
24
David Howells607ca462012-10-13 10:46:48 +010025#include <uapi/linux/phonet.h>
Jaswinder Singh Rajput06f43ad2009-01-30 22:03:25 +053026
RĂ©mi Denis-Courmontf5bb1c52009-09-09 00:00:05 +000027#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
Remi Denis-Courmontbce7b152008-09-22 19:51:15 -070040#endif