binder_netlink.c 915 B

1234567891011121314151617181920212223242526272829303132
  1. // SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
  2. /* Do not edit directly, auto-generated from: */
  3. /* Documentation/netlink/specs/binder.yaml */
  4. /* YNL-GEN kernel source */
  5. /* To regenerate run: tools/net/ynl/ynl-regen.sh */
  6. #include <net/netlink.h>
  7. #include <net/genetlink.h>
  8. #include "binder_netlink.h"
  9. #include <uapi/linux/android/binder_netlink.h>
  10. /* Ops table for binder */
  11. static const struct genl_split_ops binder_nl_ops[] = {
  12. };
  13. static const struct genl_multicast_group binder_nl_mcgrps[] = {
  14. [BINDER_NLGRP_REPORT] = { "report", },
  15. };
  16. struct genl_family binder_nl_family __ro_after_init = {
  17. .name = BINDER_FAMILY_NAME,
  18. .version = BINDER_FAMILY_VERSION,
  19. .netnsok = true,
  20. .parallel_ops = true,
  21. .module = THIS_MODULE,
  22. .split_ops = binder_nl_ops,
  23. .n_split_ops = ARRAY_SIZE(binder_nl_ops),
  24. .mcgrps = binder_nl_mcgrps,
  25. .n_mcgrps = ARRAY_SIZE(binder_nl_mcgrps),
  26. };