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