Lines Matching refs:addr_ptr
1063 struct nlmsghdr *addr_ptr = NULL; in ipaddrupdate() local
1214 addr_ptr = (struct nlmsghdr *) reply; in ipaddrupdate()
1215 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) { in ipaddrupdate()
1216 if (addr_ptr->nlmsg_type == NLMSG_DONE) in ipaddrupdate()
1218 if (addr_ptr->nlmsg_type == NLMSG_ERROR) in ipaddrupdate()
1219 err = (struct nlmsgerr*) NLMSG_DATA(addr_ptr); in ipaddrupdate()
1337 struct nlmsghdr *addr_ptr; in ipaddr_print() local
1353 addr_ptr = (struct nlmsghdr *)TT.gbuf; in ipaddr_print()
1354 struct ifaddrmsg *addressInfo = NLMSG_DATA(addr_ptr); in ipaddr_print()
1358 int len1 = addr_ptr->nlmsg_len - NLMSG_LENGTH(sizeof(*addressInfo)); in ipaddr_print()
1360 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1361 addressInfo = NLMSG_DATA(addr_ptr); in ipaddr_print()
1369 int rt_len = IFA_PAYLOAD(addr_ptr); in ipaddr_print()
1404 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) { in ipaddr_print()
1405 if ((addr_ptr->nlmsg_type == RTM_NEWADDR)) in ipaddr_print()
1406 print_addrinfo(addr_ptr, flag_l); in ipaddr_print()
1407 if ((addr_ptr->nlmsg_type == NLMSG_DONE) || in ipaddr_print()
1408 (addr_ptr->nlmsg_type == NLMSG_ERROR) || in ipaddr_print()
1412 if ((addr_ptr->nlmsg_type == NLMSG_DONE) || in ipaddr_print()
1413 (addr_ptr->nlmsg_type == NLMSG_ERROR)) in ipaddr_print()