Lines Matching refs:NLMSG_LENGTH
629 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in linkupdate()
857 int len = h->nlmsg_len - NLMSG_LENGTH(sizeof(*iface)); in get_link_info()
970 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in link_show()
1008 if ((len = h->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa))) < 0) { in print_addrinfo()
1126 req.nlm.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifaddrmsg)); in ipaddrupdate()
1404 int len1 = addr_ptr->nlmsg_len - NLMSG_LENGTH(sizeof(*addressInfo)); in ipaddr_print()
1576 int32_t tvar, msglen = mhdr->nlmsg_len - NLMSG_LENGTH(sizeof(struct rtmsg)); in display_route_info()
1711 int tvar, msglen = mhdr->nlmsg_len - NLMSG_LENGTH(sizeof(struct rtmsg)); in display_route_info()
1758 if (mhdr->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) in display_route_info()
1791 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in route_get()
1842 int tvar, msglen = mhdr->nlmsg_len - NLMSG_LENGTH(sizeof(struct rtmsg)); in route_get()
1987 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof (struct rtmsg)); in route_show_flush()
2023 req.hdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in route_update()
2197 request.mhdr.nlmsg_len = NLMSG_LENGTH(sizeof(struct rtmsg)); in ruleupdate()
2330 int32_t tvar, msglen = mhdr->nlmsg_len - NLMSG_LENGTH(sizeof(struct rtmsg)); in show_rules()
2814 if (mhdr->nlmsg_len < NLMSG_LENGTH(sizeof(struct nlmsgerr))) in filter_nlmesg()