Searched refs:CTRL_ATTR_FAMILY_ID (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/net/netlink/ |
H A D | genetlink.c | 1096 nla_put_u16(skb, CTRL_ATTR_FAMILY_ID, family->id) || in ctrl_fill_info() 1182 nla_put_u16(skb, CTRL_ATTR_FAMILY_ID, family->id)) in ctrl_fill_mcgrp_info() 1278 [CTRL_ATTR_FAMILY_ID] = { .type = NLA_U16 }, 1289 if (info->attrs[CTRL_ATTR_FAMILY_ID]) { in ctrl_getfamily() 1290 u16 id = nla_get_u16(info->attrs[CTRL_ATTR_FAMILY_ID]); in ctrl_getfamily() 1378 [CTRL_ATTR_FAMILY_ID] = { .type = NLA_U16 }, 1395 if (!tb[CTRL_ATTR_FAMILY_ID] && !tb[CTRL_ATTR_FAMILY_NAME]) in ctrl_dumppolicy_start() 1398 if (tb[CTRL_ATTR_FAMILY_ID]) { in ctrl_dumppolicy_start() 1399 ctx->fam_id = nla_get_u16(tb[CTRL_ATTR_FAMILY_ID]); in ctrl_dumppolicy_start() 1497 if (nla_put_u16(skb, CTRL_ATTR_FAMILY_ID, ctx->fam_id)) in ctrl_dumppolicy_prep()
|
/openbmc/linux/include/uapi/linux/ |
H A D | genetlink.h | 59 CTRL_ATTR_FAMILY_ID, enumerator
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 254 struct nlattr *tb[CTRL_ATTR_FAMILY_ID + 1]; in parse_genl_family_id() 257 libbpf_nla_parse(tb, CTRL_ATTR_FAMILY_ID, na, in parse_genl_family_id() 259 if (!tb[CTRL_ATTR_FAMILY_ID]) in parse_genl_family_id() 262 *id = libbpf_nla_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in parse_genl_family_id()
|
/openbmc/linux/tools/accounting/ |
H A D | procacct.c | 195 if (na->nla_type == CTRL_ATTR_FAMILY_ID) in get_family_id()
|
H A D | getdelays.c | 188 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 62 CTRL_ATTR_FAMILY_ID = 1 variable in Netlink 306 if attr.type == Netlink.CTRL_ATTR_FAMILY_ID:
|
H A D | ynl.c | 528 if (mnl_attr_get_type(attr) != CTRL_ATTR_FAMILY_ID) in ynl_get_family_info_cb()
|
/openbmc/linux/tools/testing/selftests/nci/ |
H A D | nci_dev.c | 206 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | intro.rst | 311 __u16 nla_type: CTRL_ATTR_FAMILY_ID 468 __u16 nla_type: CTRL_ATTR_FAMILY_ID
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 275 if (attrs->rta_type == CTRL_ATTR_FAMILY_ID) { in genl_parse_getfamily()
|