aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phonet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/phonet.h')
-rw-r--r--include/linux/phonet.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/phonet.h b/include/linux/phonet.h
index ee5e3c9e2bca..82b45d16e50c 100644
--- a/include/linux/phonet.h
+++ b/include/linux/phonet.h
@@ -170,4 +170,21 @@ static inline __u8 pn_sockaddr_get_resource(const struct sockaddr_pn *spn)
170 return spn->spn_resource; 170 return spn->spn_resource;
171} 171}
172 172
173/* Phonet device ioctl requests */
174#ifdef __KERNEL__
175#define SIOCPNGAUTOCONF (SIOCDEVPRIVATE + 0)
176
177struct if_phonet_autoconf {
178 uint8_t device;
179};
180
181struct if_phonet_req {
182 char ifr_phonet_name[16];
183 union {
184 struct if_phonet_autoconf ifru_phonet_autoconf;
185 } ifr_ifru;
186};
187#define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
188#endif /* __KERNEL__ */
189
173#endif 190#endif