]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/phonet.h
Merge tag 'writeback-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg...
[mirror_ubuntu-bionic-kernel.git] / include / linux / phonet.h
CommitLineData
bce7b154
RDC
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 */
bce7b154
RDC
22#ifndef LINUX_PHONET_H
23#define LINUX_PHONET_H
24
607ca46e 25#include <uapi/linux/phonet.h>
bce7b154 26
f5bb1c55
RDC
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
bce7b154 40#endif