Home
last modified time | relevance | path

Searched refs:nlmsg_len (Results 1 – 4 of 4) sorted by relevance

/hostap-latest/src/drivers/
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)))
86 u32 nlmsg_len; member
Dnetlink.c185 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in netlink_send_oper_ifla()
199 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)), in netlink_send_oper_ifla()
204 req.hdr.nlmsg_len += RTA_SPACE(sizeof(char)); in netlink_send_oper_ifla()
208 ((char *) &req + NLMSG_ALIGN(req.hdr.nlmsg_len)), in netlink_send_oper_ifla()
213 req.hdr.nlmsg_len += RTA_SPACE(sizeof(char)); in netlink_send_oper_ifla()
220 ret = send(netlink->sock, &req, req.hdr.nlmsg_len, 0); in netlink_send_oper_ifla()
Ddriver_nl80211.c321 if (nlmsg_hdr(msg)->nlmsg_len <= ack_len) in ack_handler_cookie()
324 attr_len = nlmsg_hdr(msg)->nlmsg_len - ack_len; in ack_handler_cookie()
356 int len = nlh->nlmsg_len; in error_handler()
372 ack_len += err->msg.nlmsg_len - sizeof(*nlh); in error_handler()
448 int len = hdr->nlmsg_len - NLMSG_HDRLEN; in nl80211_nlmsg_clear()
/hostap-latest/src/ap/
Dvlan_full.c639 int attrlen, nlmsg_len, rta_len; in vlan_read_ifnames() local
648 nlmsg_len = NLMSG_ALIGN(sizeof(struct ifinfomsg)); in vlan_read_ifnames()
650 attrlen = h->nlmsg_len - nlmsg_len; in vlan_read_ifnames()
654 attr = (struct rtattr *) (((char *) ifi) + nlmsg_len); in vlan_read_ifnames()
720 len = h->nlmsg_len; in vlan_event_receive()