Home
last modified time | relevance | path

Searched refs:NCSI_ATTR_DATA (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dncsi.h71 NCSI_ATTR_DATA, enumerator
/openbmc/phosphor-networkd/src/
H A Dncsi_util.cpp250 if (tb[NCSI_ATTR_DATA] == nullptr) in __anon66112f010202()
256 auto data_len = nla_len(tb[NCSI_ATTR_DATA]) - sizeof(NCSIPacketHeader); in __anon66112f010202()
258 (unsigned char*)nla_data(tb[NCSI_ATTR_DATA]) + sizeof(NCSIPacketHeader); in __anon66112f010202()
379 ret = nla_put(msg.get(), ncsi_nl_attrs::NCSI_ATTR_DATA, pl.size(), in applyCmd()
/openbmc/linux/net/ncsi/
H A Dncsi-netlink.c28 [NCSI_ATTR_DATA] = { .type = NLA_BINARY, .len = 2048 },
425 if (!info->attrs[NCSI_ATTR_DATA]) { in ncsi_send_cmd_nl()
445 len = nla_len(info->attrs[NCSI_ATTR_DATA]); in ncsi_send_cmd_nl()
452 data = (unsigned char *)nla_data(info->attrs[NCSI_ATTR_DATA]); in ncsi_send_cmd_nl()
512 rc = nla_put(skb, NCSI_ATTR_DATA, nr->rsp->len, (void *)nr->rsp->data); in ncsi_send_netlink_rsp()