Home
last modified time | relevance | path

Searched refs:NLMSG_HDRLEN (Results 1 – 21 of 21) sorted by relevance

/OK3568_Linux_fs/kernel/include/net/
H A Dgenetlink.h204 NLMSG_HDRLEN); in genlmsg_nlhdr()
285 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end()
296 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel()
384 NLMSG_HDRLEN); in genlmsg_len()
385 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
H A Dnetlink.h543 return NLMSG_HDRLEN + payload; in nlmsg_msg_size()
570 return (unsigned char *) nlh + NLMSG_HDRLEN; in nlmsg_data()
579 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_len()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dnetlink.h91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dnetlink.h91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dnetlink.h91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dnetlink.h91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
/OK3568_Linux_fs/kernel/drivers/connector/
H A Dconnector.c142 if (nlh->nlmsg_len < NLMSG_HDRLEN + sizeof(struct cn_msg) + msg->len) in cn_call_callback()
175 if (skb->len >= NLMSG_HDRLEN) { in cn_rx_skb()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnfnetlink.c393 if (nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv_batch()
560 if (skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv_skb_batch()
587 if (skb->len < NLMSG_HDRLEN || in nfnetlink_rcv()
588 nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_netlink.c39 while (skb->len >= NLMSG_HDRLEN) { in scsi_nl_rcv_msg()
H A Dpmcraid.c1415 + NLMSG_HDRLEN); in pmcraid_notify_aen()
H A Dscsi_transport_iscsi.c4007 while (skb->len >= NLMSG_HDRLEN) { in iscsi_if_rx()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_compat.c468 memcpy(dst, src, NLMSG_HDRLEN); in xfrm_xlate32()
469 dst->nlmsg_len = NLMSG_HDRLEN + xfrm_msg_min[type]; in xfrm_xlate32()
611 len += NLMSG_HDRLEN; in xfrm_user_rcv_msg_compat()
/OK3568_Linux_fs/kernel/drivers/staging/gdm724x/
H A Dnetlink_k.c42 if (skb->len < NLMSG_HDRLEN) { in netlink_rcv_cb()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dnlattr.c83 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_len()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnetlink.h200 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Dnetlink.c221 if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) in rdma_nl_rcv_skb()
/OK3568_Linux_fs/kernel/lib/
H A Dkobject_uevent.c711 skb_pull(skbc, NLMSG_HDRLEN); in uevent_net_broadcast()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_api.c214 return NLMSG_HDRLEN /* struct nlmsghdr */ in tcf_action_full_attrs_size()
/OK3568_Linux_fs/kernel/kernel/
H A Daudit.c2422 nlh->nlmsg_len = skb->len - NLMSG_HDRLEN; in audit_log_end()
/OK3568_Linux_fs/kernel/net/netlink/
H A Daf_netlink.c2504 if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) in netlink_rcv_skb()
/OK3568_Linux_fs/kernel/security/selinux/
H A Dhooks.c5943 if (nlh->nlmsg_len < NLMSG_HDRLEN || nlh->nlmsg_len > data_len) in selinux_netlink_send()