Home
last modified time | relevance | path

Searched refs:nlmsghdr (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/msm8996/original-kernel-headers/linux/
Dnetlink.h41 struct nlmsghdr { struct
80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
100 struct nlmsghdr msg;
/hardware/qcom/msm8996/kernel-headers/linux/
Dnetlink.h61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) argument
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *)…
95 … NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nl…
106 struct nlmsghdr msg;
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dnetlink.h41 struct nlmsghdr { struct
80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
100 struct nlmsghdr msg;
/hardware/qcom/msm8994/kernel-headers/linux/
Dnetlink.h61 struct nlmsghdr { struct
89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) argument
94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(…
95 … NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct n…
106 struct nlmsghdr msg;
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
DNetlinkRequest.cpp23 static struct rtattr* nlmsg_tail(struct nlmsghdr* n) { in nlmsg_tail()
28 struct rtattr* addattr_l(struct nlmsghdr* n, size_t maxLen, rtattrtype_t type, const void* data, in addattr_l()
45 struct rtattr* addattr_nest(struct nlmsghdr* n, size_t maxLen, rtattrtype_t type) { in addattr_nest()
49 void addattr_nest_end(struct nlmsghdr* n, struct rtattr* nest) { in addattr_nest_end()
DNetlinkRequest.h32 struct rtattr* addattr_l(struct nlmsghdr* n, size_t maxLen, rtattrtype_t type, const void* data,
34 struct rtattr* addattr_nest(struct nlmsghdr* n, size_t maxLen, rtattrtype_t type);
35 void addattr_nest_end(struct nlmsghdr* n, struct rtattr* nest);
60 struct nlmsghdr* header() { in header()
136 struct nlmsghdr nlmsg;
DNetlinkSocket.cpp41 bool NetlinkSocket::send(struct nlmsghdr* nlmsg) { in send()
92 for (auto nlmsg = reinterpret_cast<struct nlmsghdr*>(buf); NLMSG_OK(nlmsg, remainingLen); in receiveAck()
DNetlinkSocket.h61 bool send(struct nlmsghdr* msg);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Netlink.cpp429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link()
433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link()
446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr()
451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr()
487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh()
492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh()
535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route()
540 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_route()
611 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_nlmsg()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link()
433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link()
446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr()
451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr()
487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh()
492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh()
535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route()
540 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_route()
611 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_nlmsg()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Netlink.cpp429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link()
433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link()
446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr()
451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr()
487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh()
492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh()
535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route()
540 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_route()
611 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_nlmsg()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.h133 struct nlmsghdr nlh; // Netlink Header
Dwifi_hal.cpp1057 static int validate_cld80211_msg(nlmsghdr *nlh, int family, int cmd) in validate_cld80211_msg()
1085 static int validate_genl_msg(nlmsghdr *nlh, int family, int cmd) in validate_genl_msg()
1209 struct nlmsghdr *nlh = (struct nlmsghdr *)ctrl_msg->data; in register_monitor_sock()
1566 struct nlmsghdr *nlh = nlmsg_hdr(msg); in internal_valid_message_handler()
Dwifilogger_diag.cpp2578 struct nlmsghdr *nlh = nlmsg_hdr(msg); in diag_message_handler()
2764 struct nlmsghdr *nlh = nlmsg_hdr(msg); in diag_message_handler()