Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dgenetlink.h208 NLMSG_HDRLEN); in genlmsg_nlhdr()
270 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_end()
281 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_cancel()
369 NLMSG_HDRLEN); in genlmsg_len()
370 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
Dnetlink.h267 return NLMSG_HDRLEN + payload; in nlmsg_msg_size()
294 return (unsigned char *) nlh + NLMSG_HDRLEN; in nlmsg_data()
303 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_len()
/linux-4.1.27/drivers/staging/gdm72xx/
Dnetlink_k.c23 #if !defined(NLMSG_HDRLEN)
24 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
55 if (skb->len >= NLMSG_HDRLEN) { in netlink_rcv_cb()
/linux-4.1.27/include/uapi/linux/
Dnetlink.h81 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
82 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
/linux-4.1.27/drivers/connector/
Dconnector.c153 if (nlh->nlmsg_len < NLMSG_HDRLEN + sizeof(struct cn_msg) + msg->len) in cn_call_callback()
186 if (skb->len >= NLMSG_HDRLEN) { in cn_rx_skb()
/linux-4.1.27/drivers/scsi/
Dscsi_netlink.c53 while (skb->len >= NLMSG_HDRLEN) { in scsi_nl_rcv_msg()
Dpmcraid.c1447 + NLMSG_HDRLEN); in pmcraid_notify_aen()
Dscsi_transport_iscsi.c3688 while (skb->len >= NLMSG_HDRLEN) { in iscsi_if_rx()
/linux-4.1.27/net/netfilter/
Dnfnetlink.c438 if (nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv()
454 if (nlh->nlmsg_len < NLMSG_HDRLEN || in nfnetlink_rcv()
455 skb->len < NLMSG_HDRLEN + sizeof(struct nfgenmsg)) in nfnetlink_rcv()
/linux-4.1.27/drivers/staging/gdm724x/
Dnetlink_k.c57 if (skb->len < NLMSG_HDRLEN) { in netlink_rcv_cb()
/linux-4.1.27/include/linux/
Dnetlink.h117 #define NLMSG_DEFAULT_SIZE (NLMSG_GOODSIZE - NLMSG_HDRLEN)
/linux-4.1.27/net/ipv4/
Dfib_frontend.c1028 if (skb->len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len || in nl_fib_input()
/linux-4.1.27/kernel/
Daudit.c1967 nlh->nlmsg_len -= NLMSG_HDRLEN; in audit_log_end()
/linux-4.1.27/net/netlink/
Daf_netlink.c2897 if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len) in netlink_rcv_skb()
/linux-4.1.27/security/selinux/
Dhooks.c4762 if (skb->len < NLMSG_HDRLEN) { in selinux_nlmsg_perm()