]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - include/linux/phonet.h
Merge tag 'csky-for-linus-5.2-fixup-gcc-unwind' of git://github.com/c-sky/csky-linux
[mirror_ubuntu-eoan-kernel.git] / include / linux / phonet.h
CommitLineData
2b27bdcc 1/* SPDX-License-Identifier: GPL-2.0-only */
bce7b154
RDC
2/**
3 * file phonet.h
4 *
5 * Phonet sockets kernel interface
6 *
7 * Copyright (C) 2008 Nokia Corporation. All rights reserved.
bce7b154 8 */
bce7b154
RDC
9#ifndef LINUX_PHONET_H
10#define LINUX_PHONET_H
11
607ca46e 12#include <uapi/linux/phonet.h>
bce7b154 13
f5bb1c55
RDC
14#define SIOCPNGAUTOCONF (SIOCDEVPRIVATE + 0)
15
16struct if_phonet_autoconf {
17 uint8_t device;
18};
19
20struct if_phonet_req {
21 char ifr_phonet_name[16];
22 union {
23 struct if_phonet_autoconf ifru_phonet_autoconf;
24 } ifr_ifru;
25};
26#define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
bce7b154 27#endif