Searched defs:nlmsg_len (Results 1 - 11 of 11) sorted by relevance

/external/libnl/include/netlink/
H A Dnetlink-kernel.h32 uint32_t nlmsg_len; member in struct:nlmsghdr
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
56 (((char *)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
59 (int) (nlh)->nlmsg_len <= (len))
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
85 u32 nlmsg_len; member in struct:nlmsghdr
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
56 (((char *)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
59 (int) (nlh)->nlmsg_len <= (len))
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
85 u32 nlmsg_len; member in struct:nlmsghdr
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
56 (((char *)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
59 (int) (nlh)->nlmsg_len <= (len))
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
85 u32 nlmsg_len; member in struct:nlmsghdr
/external/libnl/include/linux/
H A Dnetlink.h40 __u32 nlmsg_len; /* Length of message including header */ member in struct:nlmsghdr
81 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
85 (nlh)->nlmsg_len <= (len))
86 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dvlan_init.c618 int attrlen, nlmsg_len, rta_len; local
626 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg));
628 attrlen = h->nlmsg_len - nlmsg_len;
632 attr = (struct rtattr *) (((char *) ifi) + nlmsg_len);
683 len = h->nlmsg_len;
/external/wpa_supplicant_8/src/ap/
H A Dvlan_init.c618 int attrlen, nlmsg_len, rta_len; local
626 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg));
628 attrlen = h->nlmsg_len - nlmsg_len;
632 attr = (struct rtattr *) (((char *) ifi) + nlmsg_len);
683 len = h->nlmsg_len;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dvlan_init.c618 int attrlen, nlmsg_len, rta_len; local
626 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg));
628 attrlen = h->nlmsg_len - nlmsg_len;
632 attr = (struct rtattr *) (((char *) ifi) + nlmsg_len);
683 len = h->nlmsg_len;
/external/iproute2/include/linux/
H A Dnetlink.h42 __u32 nlmsg_len; /* Length of message including header */ member in struct:nlmsghdr
84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
88 (nlh)->nlmsg_len <= (len))
89 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
/external/kernel-headers/original/uapi/linux/
H A Dnetlink.h43 __u32 nlmsg_len; /* Length of message including header */ member in struct:nlmsghdr
85 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
86 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len)))
88 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
89 (nlh)->nlmsg_len <= (len))
90 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
/external/libnl/lib/
H A Dmsg.c71 * <---------------------- nlmsg_len(nlh) --------------------->
225 return (unsigned char *) nlh + NLMSG_ALIGN(nlh->nlmsg_len);
232 int nlmsg_len(const struct nlmsghdr *nlh) function
234 return nlh->nlmsg_len - NLMSG_HDRLEN;
262 return nlmsg_len(nlh) - NLMSG_ALIGN(hdrlen);
274 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen))
288 nlh->nlmsg_len >= sizeof(struct nlmsghdr) &&
289 nlh->nlmsg_len <= remaining);
302 int totlen = NLMSG_ALIGN(nlh->nlmsg_len);
385 nm->nm_nlh->nlmsg_len
518 size_t nlmsg_len = n->nm_nlh->nlmsg_len; local
[all...]

Completed in 98 milliseconds