Home
last modified time | relevance | path

Searched refs:nlattr (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/drivers/net/tap/
H A Dtap_netlink.c139 static const struct nlattr *
142 return (const struct nlattr *)((const char *)nh + NLMSG_SPACE(offset)); in tap_nl_attr_first()
145 static const struct nlattr *
146 tap_nl_attr_next(const struct nlattr *attr) in tap_nl_attr_next()
148 return (const struct nlattr *)((const char *)attr in tap_nl_attr_next()
153 tap_nl_attr_ok(const struct nlattr *attr, int len) in tap_nl_attr_ok()
155 if (len < (int)sizeof(struct nlattr)) in tap_nl_attr_ok()
157 if (attr->nla_len < sizeof(struct nlattr)) in tap_nl_attr_ok()
169 const struct nlattr *attr; in tap_nl_dump_ext_ack()
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.c1013 struct nlattr *na; in mlx5_nl_ifindex()
1316 static struct nlattr *
1319 return (struct nlattr *) in nl_msg_tail()
1326 struct nlattr *nla = nl_msg_tail(nlh); in nl_attr_put()
1336 static struct nlattr *
1339 struct nlattr *nest = (struct nlattr *)nl_msg_tail(nlh); in nl_attr_nest_start()
1372 NLMSG_ALIGN(sizeof(struct nlattr)) * 8 + in mlx5_nl_vlan_vmwa_create()
1378 struct nlattr *na_info; in mlx5_nl_vlan_vmwa_create()
1379 struct nlattr *na_vlan; in mlx5_nl_vlan_vmwa_create()
1477 NLMSG_ALIGN(sizeof(struct nlattr)) + in mlx5_nl_generic_family_id_get()
[all …]