Home
last modified time | relevance | path

Searched refs:nlh (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/msm8994/original-kernel-headers/linux/
Dnetlink.h83 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
88 (nlh)->nlmsg_len <= (len))
89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dnetlink.h83 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
88 (nlh)->nlmsg_len <= (len))
89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/hardware/qcom/msm8994/kernel-headers/linux/
Dnetlink.h92 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)( argument
95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(st… argument
96 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/hardware/qcom/msm8996/kernel-headers/linux/
Dnetlink.h92 #define NLMSG_DATA(nlh) ((void *) (((char *) nlh) + NLMSG_LENGTH(0))) argument
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *)… argument
95 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(str… argument
96 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.h126 struct nlmsghdr nlh; // Netlink Header member
Dwifilogger_diag.cpp2048 if (wnl->nlh.nlmsg_type == ANI_NL_MSG_PUMAC) { in diag_message_handler()
2049 if ((wnl->nlh.nlmsg_len <= sizeof(tAniNlHdr)) || in diag_message_handler()
2050 (wnl->nlh.nlmsg_len < (sizeof(tAniNlHdr) + ntohs(wnl->wmsg.length)))) { in diag_message_handler()
2052 wnl->nlh.nlmsg_len); in diag_message_handler()
2126 } else if (wnl->nlh.nlmsg_type == ANI_NL_MSG_LOG) { in diag_message_handler()
2127 if ((wnl->nlh.nlmsg_len <= sizeof(tAniNlHdr)) || in diag_message_handler()
2128 (wnl->nlh.nlmsg_len < (sizeof(tAniNlHdr) + wnl->wmsg.length))) { in diag_message_handler()
2130 wnl->nlh.nlmsg_len); in diag_message_handler()
2138 } else if (wnl->nlh.nlmsg_type == ANI_NL_MSG_CNSS_DIAG) { in diag_message_handler()
2145 if ((wnl->nlh.nlmsg_len <= NLMSG_HDRLEN + sizeof(fw_event_hdr_t)) || in diag_message_handler()
[all …]