Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /**
0003  * file phonet.h
0004  *
0005  * Phonet sockets kernel interface
0006  *
0007  * Copyright (C) 2008 Nokia Corporation. All rights reserved.
0008  */
0009 #ifndef LINUX_PHONET_H
0010 #define LINUX_PHONET_H
0011 
0012 #include <uapi/linux/phonet.h>
0013 
0014 #define SIOCPNGAUTOCONF     (SIOCDEVPRIVATE + 0)
0015 
0016 struct if_phonet_autoconf {
0017     uint8_t device;
0018 };
0019 
0020 struct if_phonet_req {
0021     char ifr_phonet_name[16];
0022     union {
0023         struct if_phonet_autoconf ifru_phonet_autoconf;
0024     } ifr_ifru;
0025 };
0026 #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
0027 #endif