/openbmc/linux/include/net/ |
H A D | genetlink.h | 345 NLMSG_HDRLEN); in genlmsg_nlhdr() 426 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end() 437 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel() 525 NLMSG_HDRLEN); in genlmsg_len() 526 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
|
H A D | netlink.h | 555 return NLMSG_HDRLEN + payload; in nlmsg_msg_size() 582 return (unsigned char *) nlh + NLMSG_HDRLEN; in nlmsg_data() 591 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_len()
|
/openbmc/linux/include/uapi/linux/ |
H A D | netlink.h | 100 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro 101 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN) 103 #define NLMSG_DATA(nlh) ((void *)(((char *)nlh) + NLMSG_HDRLEN))
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | netlink.h | 91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro 92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
|
/openbmc/phosphor-networkd/src/ |
H A D | netlink.cpp | 42 auto msg = msgs.substr(NLMSG_HDRLEN, hdr.nlmsg_len - NLMSG_HDRLEN); in processMsg()
|
/openbmc/linux/drivers/connector/ |
H A D | connector.c | 146 if (nlh->nlmsg_len < NLMSG_HDRLEN + sizeof(struct cn_msg) + msg->len) in cn_call_callback() 204 if (skb->len >= NLMSG_HDRLEN) { in cn_rx_skb()
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink.c | 444 if (nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv_batch() 619 if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv_skb_batch() 646 if (skb->len < NLMSG_HDRLEN || in nfnetlink_rcv() 647 nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_netlink.c | 39 while (skb->len >= NLMSG_HDRLEN) { in scsi_nl_rcv_msg()
|
H A D | pmcraid.c | 1409 + NLMSG_HDRLEN); in pmcraid_notify_aen()
|
H A D | scsi_transport_iscsi.c | 4080 while (skb->len >= NLMSG_HDRLEN) { in iscsi_if_rx()
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | netlink_k.c | 42 if (skb->len < NLMSG_HDRLEN) { in netlink_rcv_cb()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | nlattr.c | 83 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_len()
|
/openbmc/linux/net/xfrm/ |
H A D | xfrm_compat.c | 472 memcpy(dst, src, NLMSG_HDRLEN); in xfrm_xlate32() 473 dst->nlmsg_len = NLMSG_HDRLEN + xfrm_msg_min[type]; in xfrm_xlate32() 615 len += NLMSG_HDRLEN; in xfrm_user_rcv_msg_compat()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | netlink.c | 221 if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) in rdma_nl_rcv_skb()
|
/openbmc/phosphor-networkd/test/ |
H A D | mock_syscall.cpp | 109 msgBuf.data() + nlbegin + NLMSG_HDRLEN); in sendmsg_link_dump()
|
/openbmc/linux/include/linux/ |
H A D | netlink.h | 275 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
|
/openbmc/linux/lib/ |
H A D | kobject_uevent.c | 726 skb_pull(skbc, NLMSG_HDRLEN); in uevent_net_broadcast()
|
/openbmc/linux/kernel/ |
H A D | audit.c | 2439 nlh->nlmsg_len = skb->len - NLMSG_HDRLEN; in audit_log_end()
|
/openbmc/linux/net/sched/ |
H A D | act_api.c | 462 return NLMSG_HDRLEN /* struct nlmsghdr */ in tcf_action_full_attrs_size()
|
/openbmc/linux/net/netlink/ |
H A D | af_netlink.c | 2526 if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) in netlink_rcv_skb()
|
/openbmc/linux/security/selinux/ |
H A D | hooks.c | 5934 if (nlh->nlmsg_len < NLMSG_HDRLEN || nlh->nlmsg_len > data_len) in selinux_netlink_send()
|