/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 50 #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/strace/ |
netlink_route.h | 36 const struct nlmsghdr *nlmsghdr, \
|
netlink_sock_diag.h | 35 const struct nlmsghdr *nlmsghdr, \
|
/system/netd/libnetdutils/include/netdutils/ |
Netlink.h | 35 const std::function<void(const nlmsghdr&, const Slice)>& onMsg); 51 std::ostream& operator<<(std::ostream& os, const nlmsghdr& hdr);
|
/bionic/libc/bionic/ |
bionic_netlink.cpp | 69 nlmsghdr hdr; 80 bool NetlinkConnection::ReadResponses(void callback(void*, nlmsghdr*), void* context) { 84 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_);
|
/device/generic/goldfish/wifi/wifi_hal/ |
netlinkmessage.h | 40 nlmsghdr* header() { 41 return reinterpret_cast<nlmsghdr*>(mData.data()); 43 const nlmsghdr* header() const { 44 return reinterpret_cast<const nlmsghdr*>(mData.data());
|
/external/iproute2/include/ |
ll_map.h | 5 struct nlmsghdr *n, void *arg);
|
/external/iproute2/tipc/ |
bearer.h | 19 int cmd_bearer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, void *data);
|
cmdl.h | 38 int (*func)(struct nlmsghdr *nlh, const struct cmd *cmd, 54 int run_cmd(struct nlmsghdr *nlh, const struct cmd *caller,
|
msg.c | 33 static int family_id_cb(const struct nlmsghdr *nlh, void *data) 48 static struct mnl_socket *msg_send(struct nlmsghdr *nlh) 97 static int msg_query(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 116 struct nlmsghdr *nlh; 137 int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 143 int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 149 struct nlmsghdr *msg_init(char *buf, int cmd) 152 struct nlmsghdr *nlh;
|
/external/libnl/lib/genl/ |
genl.c | 117 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) 151 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, 191 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], 210 struct genlmsghdr *genlmsg_hdr(struct nlmsghdr *nlh) 226 const struct nlmsghdr *nlh; 228 nlh = (const struct nlmsghdr *)((const unsigned char *) gnlh - NLMSG_HDRLEN); 351 struct nlmsghdr *nlh;
|
/external/libnl/include/linux-private/linux/ |
netlink.h | 38 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;
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
netlink.h | 41 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/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
netlink.h | 41 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;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
netlink.h | 39 struct nlmsghdr { struct 78 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 83 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 84 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 85 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 98 struct nlmsghdr msg;
|
/external/libnl/lib/ |
msg.c | 105 void *nlmsg_data(const struct nlmsghdr *nlh) 110 void *nlmsg_tail(const struct nlmsghdr *nlh) 121 int nlmsg_datalen(const struct nlmsghdr *nlh) 126 static int nlmsg_len(const struct nlmsghdr *nlh) 143 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) 154 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) 166 int nlmsg_valid_hdr(const struct nlmsghdr *nlh, int hdrlen) 179 int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) 181 return (remaining >= (int)sizeof(struct nlmsghdr) && 182 nlh->nlmsg_len >= sizeof(struct nlmsghdr) & [all...] |
/external/strace/tests/ |
nlattr_br_port_msg.c | 40 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_dcbmsg.c | 39 init_dcbmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_netconfmsg.c | 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_nlmsgerr.c | 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len) 39 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_rtgenmsg.c | 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_tcamsg.c | 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 38 SET_STRUCT(struct nlmsghdr, nlh,
|
/external/strace/tests-m32/ |
nlattr_br_port_msg.c | 40 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|