Searched refs:nlh (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
D | netlink.h | 83 #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/ |
D | netlink.h | 83 #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/ |
D | netlink.h | 92 #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/ |
D | netlink.h | 92 #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/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Netlink.cpp | 429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link() local 432 link_info->metainfo = *(struct ifinfomsg *)NLMSG_DATA(nlh); in ipa_nl_decode_rtm_link() 446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr() local 450 addr_info->metainfo = *((struct ifaddrmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_addr() 456 rtah = IFA_RTA(NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_addr() 487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh() local 491 neigh_info->metainfo = *((struct ndmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_neigh() 497 rtah = NDA_RTA(NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_neigh() 535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route() local 539 route_info->metainfo = *((struct rtmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_route() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Netlink.cpp | 429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link() local 432 link_info->metainfo = *(struct ifinfomsg *)NLMSG_DATA(nlh); in ipa_nl_decode_rtm_link() 446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr() local 450 addr_info->metainfo = *((struct ifaddrmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_addr() 456 rtah = IFA_RTA(NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_addr() 487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh() local 491 neigh_info->metainfo = *((struct ndmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_neigh() 497 rtah = NDA_RTA(NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_neigh() 535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route() local 539 route_info->metainfo = *((struct rtmsg *)NLMSG_DATA(nlh)); in ipa_nl_decode_rtm_route() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifilogger_diag.cpp | 2566 struct nlmsghdr *nlh = nlmsg_hdr(msg); in diag_message_handler() local 2568 genlh = (struct genlmsghdr *)nlmsg_data(nlh); in diag_message_handler() 2592 cmd = wnl->nlh.nlmsg_type; in diag_message_handler() 2598 if ((wnl->nlh.nlmsg_len <= sizeof(tAniNlHdr)) || in diag_message_handler() 2599 (wnl->nlh.nlmsg_len < (sizeof(tAniNlHdr) + ntohs(wnl->clh.wmsg.length)))) { in diag_message_handler() 2601 wnl->nlh.nlmsg_len); in diag_message_handler() 2682 if ((wnl->nlh.nlmsg_len <= sizeof(tAniNlHdr)) || in diag_message_handler() 2683 (wnl->nlh.nlmsg_len < (sizeof(tAniNlHdr) + wnl->clh.wmsg.length))) { in diag_message_handler() 2685 wnl->nlh.nlmsg_len); in diag_message_handler() 2697 struct nlmsghdr *nlh = nlmsg_hdr(msg); in diag_message_handler() local [all …]
|
D | wifilogger_diag.h | 130 struct nlmsghdr nlh; // Netlink Header member
|