Searched refs:nlmsg (Results 1 – 7 of 7) sorted by relevance
/openbmc/inarp/ |
H A D | inarp.c | 92 #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() 248 msg.nlmsg.nlmsg_flags = NLM_F_REQUEST | NLM_F_ROOT; in init_netlink() 328 static void netlink_nlmsg(struct inarp_ctx *inarp, struct nlmsghdr *nlmsg) in netlink_nlmsg() argument 334 len = nlmsg->nlmsg_len - sizeof(*ifmsg); in netlink_nlmsg() [all …]
|
/openbmc/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 270 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 D | xfrm_compat.c | 402 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 D | netlink_compat.c | 186 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/net/bridge/ |
H A D | br_private.h | 2079 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags, 2081 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | net.c | 101 typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, dump_nlmsg_t, void *cookie);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | netlink.c | 28 typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, libbpf_dump_nlmsg_t,
|