Linux 4.6-rc6
[cris-mirror.git] / include / linux / phonet.h
blobf691b04fc5cebec9e4f4254a81e9e4a3a0c06494
1 /**
2 * file phonet.h
4 * Phonet sockets kernel interface
6 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
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.
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.
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
22 #ifndef LINUX_PHONET_H
23 #define LINUX_PHONET_H
25 #include <uapi/linux/phonet.h>
27 #define SIOCPNGAUTOCONF (SIOCDEVPRIVATE + 0)
29 struct if_phonet_autoconf {
30 uint8_t device;
33 struct if_phonet_req {
34 char ifr_phonet_name[16];
35 union {
36 struct if_phonet_autoconf ifru_phonet_autoconf;
37 } ifr_ifru;
39 #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
40 #endif