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 6 #include <net/netlink.h> 7 #include <net/genetlink.h> 8 9 #include "binder_netlink.h" 10 11 #include <uapi/linux/android/binder_netlink.h> 12 13 /* Ops table for binder */ 14 static const struct genl_split_ops binder_nl_ops[] = { 15 }; 16 17 static const struct genl_multicast_group binder_nl_mcgrps[] = { 18 [BINDER_NLGRP_REPORT] = { "report", }, 19 }; 20 21 struct genl_family binder_nl_family __ro_after_init = { 22 .name = BINDER_FAMILY_NAME, 23 .version = BINDER_FAMILY_VERSION, 24 .netnsok = true, 25 .parallel_ops = true, 26 .module = THIS_MODULE, 27 .split_ops = binder_nl_ops, 28 .n_split_ops = ARRAY_SIZE(binder_nl_ops), 29 .mcgrps = binder_nl_mcgrps, 30 .n_mcgrps = ARRAY_SIZE(binder_nl_mcgrps), 31 }; 32