Home
last modified time | relevance | path

Searched refs:nlmsg (Results 1 – 7 of 7) sorted by relevance

/openbmc/inarp/
H A Dinarp.c92 #define for_each_nlmsg(buf, nlmsg, len) \ argument
93 for (nlmsg = (struct nlmsghdr *)buf; \
94 NLMSG_OK(nlmsg, len) && nlmsg->nlmsg_type != NLMSG_DONE; \
95 nlmsg = NLMSG_NEXT(nlmsg, len))
221 struct nlmsghdr nlmsg; in init_netlink() member
246 msg.nlmsg.nlmsg_len = sizeof(msg); in init_netlink()
247 msg.nlmsg.nlmsg_type = RTM_GETLINK; in init_netlink()
335 ifmsg = NLMSG_DATA(nlmsg); in netlink_nlmsg()
339 switch (nlmsg->nlmsg_type) { in netlink_nlmsg()
353 struct nlmsghdr *nlmsg; in netlink_recv() local
[all …]
/openbmc/linux/tools/net/ynl/lib/
H A Dynl.py270 nlmsg = struct.pack("HHII", nl_type, nl_flags, seq, 0)
272 return nlmsg + genlmsg
353 nlmsg = struct.pack("HHII", nl_type, nl_flags, seq, 0)
354 return nlmsg
389 nlmsg = self._message(self.family_id, flags, seq)
391 return nlmsg + genlmsg
/openbmc/linux/net/xfrm/
H A Dxfrm_compat.c402 struct nlmsghdr *nlmsg = dst; in xfrm_attr_cpy32() local
420 nlmsg->nlmsg_len += nla->nla_len; in xfrm_attr_cpy32()
/openbmc/linux/net/tipc/
H A Dnetlink_compat.c186 struct nlmsghdr *nlmsg; in __tipc_nl_compat_dumpit() local
226 nlmsg_for_each_msg(nlmsg, nlmsg_hdr(buf), len, rem) { in __tipc_nl_compat_dumpit()
227 err = nlmsg_parse_deprecated(nlmsg, GENL_HDRLEN, in __tipc_nl_compat_dumpit()
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c101 typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, dump_nlmsg_t, void *cookie);
/openbmc/linux/net/bridge/
H A Dbr_private.h2078 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags,
2080 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
/openbmc/linux/tools/lib/bpf/
H A Dnetlink.c28 typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, libbpf_dump_nlmsg_t,