Searched defs:nlmsghdr (Results 1 - 12 of 12) sorted by relevance

/external/strace/
H A Dnetlink_selinux.c37 const struct nlmsghdr *const nlmsghdr,
41 switch (nlmsghdr->nlmsg_type) {
36 decode_netlink_selinux(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const unsigned int len) argument
H A Dnetlink_route.c126 const struct nlmsghdr *const nlmsghdr,
132 if (nlmsghdr->nlmsg_type == NLMSG_DONE)
136 const unsigned int index = nlmsghdr->nlmsg_type - RTM_BASE;
140 route_decoders[index](tcp, nlmsghdr, family, addr, len);
125 decode_netlink_route(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const unsigned int len) argument
H A Dnetlink_sock_diag.c65 const struct nlmsghdr *const nlmsghdr,
71 if (nlmsghdr->nlmsg_type == NLMSG_DONE)
78 (nlmsghdr->nlmsg_flags & NLM_F_REQUEST)
83 decoder(tcp, nlmsghdr, family, addr, len);
64 decode_netlink_sock_diag(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const unsigned int len) argument
H A Dnetlink_crypto.c226 const struct nlmsghdr *const nlmsghdr,
230 switch (nlmsghdr->nlmsg_type) {
225 decode_netlink_crypto(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const unsigned int len) argument
H A Dnetlink_inet_diag.c191 const struct nlmsghdr *const nlmsghdr,
234 const struct nlmsghdr *const nlmsghdr,
276 if (nlmsghdr->nlmsg_type == TCPDIAG_GETSOCK
277 || nlmsghdr->nlmsg_type == DCCPDIAG_GETSOCK)
278 decode_inet_diag_req_compat(tcp, nlmsghdr, family, addr, len);
280 decode_inet_diag_req_v2(tcp, nlmsghdr, family, addr, len);
190 decode_inet_diag_req_compat(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const uint8_t family, const kernel_ulong_t addr, const unsigned int len) argument
233 decode_inet_diag_req_v2(struct tcb *const tcp, const struct nlmsghdr *const nlmsghdr, const uint8_t family, const kernel_ulong_t addr, const unsigned int len) argument
H A Dnetlink.c64 * Fetch a struct nlmsghdr from the given address.
67 fetch_nlmsghdr(struct tcb *const tcp, struct nlmsghdr *const nlmsghdr, argument
70 if (len < sizeof(struct nlmsghdr)) {
75 if (umove_or_printaddr(tcp, addr, nlmsghdr))
441 const struct nlmsghdr *const nlmsghdr)
445 tprintf("{len=%u, type=", nlmsghdr->nlmsg_len);
447 decode_nlmsg_type(tcp, nlmsghdr->nlmsg_type, family);
450 decode_nlmsg_flags(nlmsghdr
438 print_nlmsghdr(struct tcb *tcp, const int fd, const int family, const struct nlmsghdr *const nlmsghdr) argument
558 decode_payload(struct tcb *const tcp, const int fd, const int family, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const unsigned int len) argument
600 decode_nlmsghdr_with_payload(struct tcb *const tcp, const int fd, const int family, const struct nlmsghdr *const nlmsghdr, const kernel_ulong_t addr, const kernel_ulong_t len) argument
636 struct nlmsghdr nlmsghdr; local
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr)))
55 (struct nlmsghdr *) \
57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
84 struct nlmsghdr struct
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr)))
55 (struct nlmsghdr *) \
57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
84 struct nlmsghdr struct
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr)))
55 (struct nlmsghdr *) \
57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
84 struct nlmsghdr struct
/external/libnl/include/linux-private/linux/
H A Dnetlink.h38 struct nlmsghdr { struct
77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
97 struct nlmsghdr msg;
/external/iproute2/include/uapi/linux/
H A Dnetlink.h44 struct nlmsghdr { struct
91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
111 struct nlmsghdr msg;
/external/kernel-headers/original/uapi/linux/
H A Dnetlink.h44 struct nlmsghdr { struct
91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \
98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
111 struct nlmsghdr msg;

Completed in 391 milliseconds