Home
last modified time | relevance | path

Searched refs:CTRL_ATTR_FAMILY_ID (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/net/netlink/
H A Dgenetlink.c1096 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 Dgenetlink.h59 CTRL_ATTR_FAMILY_ID, enumerator
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c254 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 Dprocacct.c195 if (na->nla_type == CTRL_ATTR_FAMILY_ID) in get_family_id()
H A Dgetdelays.c188 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py62 CTRL_ATTR_FAMILY_ID = 1 variable in Netlink
306 if attr.type == Netlink.CTRL_ATTR_FAMILY_ID:
H A Dynl.c528 if (mnl_attr_get_type(attr) != CTRL_ATTR_FAMILY_ID) in ynl_get_family_info_cb()
/openbmc/linux/tools/testing/selftests/nci/
H A Dnci_dev.c206 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dintro.rst311 __u16 nla_type: CTRL_ATTR_FAMILY_ID
468 __u16 nla_type: CTRL_ATTR_FAMILY_ID
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c275 if (attrs->rta_type == CTRL_ATTR_FAMILY_ID) { in genl_parse_getfamily()