| 1 | |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 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 |
|
| 15 | static const struct genl_split_ops binder_nl_ops[] = {
|
| 16 | };
|
| 17 |
|
| 18 | static const struct genl_multicast_group binder_nl_mcgrps[] = {
|
| 19 | [BINDER_NLGRP_REPORT] = { "report", },
|
| 20 | };
|
| 21 |
|
| 22 | struct 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 | };
|