Home | History | Annotate | Download | only in pending

Lines Matching full:addr_ptr

1058   struct nlmsghdr *addr_ptr = NULL;
1209 addr_ptr = (struct nlmsghdr *) reply;
1210 for (; NLMSG_OK(addr_ptr, length); addr_ptr = NLMSG_NEXT(addr_ptr, length)) {
1211 if (addr_ptr->nlmsg_type == NLMSG_DONE)
1213 if (addr_ptr->nlmsg_type == NLMSG_ERROR)
1214 err = (struct nlmsgerr*) NLMSG_DATA(addr_ptr);
1332 struct nlmsghdr *addr_ptr;
1348 addr_ptr = (struct nlmsghdr *)TT.gbuf;
1349 struct ifaddrmsg *addressInfo = NLMSG_DATA(addr_ptr);
1353 int len1 = addr_ptr->nlmsg_len - NLMSG_LENGTH(sizeof(*addressInfo));
1355 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) {
1356 addressInfo = NLMSG_DATA(addr_ptr);
1364 int rt_len = IFA_PAYLOAD(addr_ptr);
1399 for (; NLMSG_OK(addr_ptr, len); addr_ptr = NLMSG_NEXT(addr_ptr, len)) {
1400 if ((addr_ptr->nlmsg_type == RTM_NEWADDR))
1401 print_addrinfo(addr_ptr, flag_l);
1402 if ((addr_ptr->nlmsg_type == NLMSG_DONE) ||
1403 (addr_ptr->nlmsg_type == NLMSG_ERROR) ||
1407 if ((addr_ptr->nlmsg_type == NLMSG_DONE) ||
1408 (addr_ptr->nlmsg_type == NLMSG_ERROR))