Lines Matching refs:NLMSG_ALIGN
115 char reqbuf[NLMSG_ALIGN(sizeof(struct nlmsghdr)) + NLMSG_ALIGN(sizeof(struct rtgenmsg))]; in nl_sendreq()
361 ifa = data = calloc(1, NLMSG_ALIGN(sizeof(struct ni_ifaddrs[icnt])) in ni_ifaddrs()
376 data += NLMSG_ALIGN(sizeof(struct ni_ifaddrs)) * icnt; in ni_ifaddrs()
432 rtasize = NLMSG_PAYLOAD(nlh, nlmlen) - NLMSG_ALIGN(nlm_struct_size); in ni_ifaddrs()
434 NLMSG_ALIGN(nlm_struct_size)); in ni_ifaddrs()
465 dlen += NLMSG_ALIGN(rtapayload); in ni_ifaddrs()
469 data += NLMSG_ALIGN(rtapayload); in ni_ifaddrs()
475 xlen += NLMSG_ALIGN(rtapayload); in ni_ifaddrs()
479 xdata += NLMSG_ALIGN(rtapayload); in ni_ifaddrs()
506 dlen += NLMSG_ALIGN(ifamap.address_len); in ni_ifaddrs()
510 data += NLMSG_ALIGN(ifamap.address_len); in ni_ifaddrs()