rmnet_aps_genl.c 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. */
  12. #include "rmnet_aps_genl.h"
  13. #include "rmnet_aps.h"
  14. static struct nla_policy DATARMNET157d4c7a8a[DATARMNET3b044438b9+
  15. (0xd26+209-0xdf6)]={[DATARMNET98b93f2e86]=NLA_POLICY_EXACT_LEN(sizeof(struct
  16. DATARMNET5d4139d9d7)),[DATARMNET818a0b6438]=NLA_POLICY_EXACT_LEN(sizeof(struct
  17. DATARMNETca79857d4a)),[DATARMNET572e4a28eb]=NLA_POLICY_EXACT_LEN(sizeof(struct
  18. DATARMNET797a5b1493)),[DATARMNETe54d857ffe]=NLA_POLICY_EXACT_LEN(sizeof(struct
  19. DATARMNET9a727f81bc)),[DATARMNET7edfedec7f]=NLA_POLICY_EXACT_LEN(sizeof(struct
  20. DATARMNETd51e57e3f4)),[DATARMNETd2b1517d6b]=NLA_POLICY_EXACT_LEN(sizeof(struct
  21. DATARMNET15bcb4844b)),[DATARMNET24b8b9ef93]=NLA_POLICY_EXACT_LEN(sizeof(struct
  22. DATARMNET7fb3ee4333)),};
  23. #define DATARMNET7dc6237681(DATARMNET5aeb0ef9bc, DATARMNETbd9859b58e)\
  24. \
  25. { \
  26. .cmd = DATARMNET5aeb0ef9bc, .doit = DATARMNETbd9859b58e, .dumpit = NULL, .\
  27. flags = (0xd2d+202-0xdf7), \
  28. }
  29. static const struct genl_ops DATARMNET27a52625e4[]={DATARMNET7dc6237681(
  30. DATARMNET15437be67e,DATARMNET37a9efbbcb),DATARMNET7dc6237681(DATARMNET4f09ad7688
  31. ,DATARMNET1998d09852),DATARMNET7dc6237681(DATARMNET97eefd45e3,
  32. DATARMNETae6b282c61),DATARMNET7dc6237681(DATARMNET30180ab70e,DATARMNET568dffe281
  33. ),};struct genl_family DATARMNETcdba30eca9={.hdrsize=(0xd2d+202-0xdf7),.name=
  34. DATARMNETa4a6e34e45,.version=DATARMNET33d1a3e23a,.maxattr=DATARMNET3b044438b9,.
  35. policy=DATARMNET157d4c7a8a,.ops=DATARMNET27a52625e4,.n_ops=ARRAY_SIZE(
  36. DATARMNET27a52625e4),};int DATARMNETcfa8d492f8(void){return genl_register_family
  37. (&DATARMNETcdba30eca9);}void DATARMNETca7606cfd1(void){genl_unregister_family(&
  38. DATARMNETcdba30eca9);}