phonet.h 537 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /**
  3. * file phonet.h
  4. *
  5. * Phonet sockets kernel interface
  6. *
  7. * Copyright (C) 2008 Nokia Corporation. All rights reserved.
  8. */
  9. #ifndef LINUX_PHONET_H
  10. #define LINUX_PHONET_H
  11. #include <uapi/linux/phonet.h>
  12. #define SIOCPNGAUTOCONF (SIOCDEVPRIVATE + 0)
  13. struct if_phonet_autoconf {
  14. uint8_t device;
  15. };
  16. struct if_phonet_req {
  17. char ifr_phonet_name[16];
  18. union {
  19. struct if_phonet_autoconf ifru_phonet_autoconf;
  20. } ifr_ifru;
  21. };
  22. #define ifr_phonet_autoconf ifr_ifru.ifru_phonet_autoconf
  23. #endif