Lines Matching defs:l_info

280     struct ifinfomsg *l_info = (struct ifinfomsg *)NLMSG_DATA(p_hdr);
288 for(l_rta = (struct rtattr *)(((char *)l_info) + NLMSG_ALIGN(sizeof(struct ifinfomsg))); RTA_OK(l_rta, l_rtaSize); l_rta = RTA_NEXT(l_rta, l_rtaSize))
316 l_entry->ifa_flags = l_info->ifi_flags;
319 for(l_rta = (struct rtattr *)(((char *)l_info) + NLMSG_ALIGN(sizeof(struct ifinfomsg))); RTA_OK(l_rta, l_rtaSize); l_rta = RTA_NEXT(l_rta, l_rtaSize))
330 ((struct sockaddr_ll *)l_addr)->sll_ifindex = l_info->ifi_index;
331 ((struct sockaddr_ll *)l_addr)->sll_hatype = l_info->ifi_type;
358 p_links[l_info->ifi_index - 1] = l_entry;
363 struct ifaddrmsg *l_info = (struct ifaddrmsg *)NLMSG_DATA(p_hdr);
372 for(l_rta = (struct rtattr *)(((char *)l_info) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))); RTA_OK(l_rta, l_rtaSize); l_rta = RTA_NEXT(l_rta, l_rtaSize))
375 if(l_info->ifa_family == AF_PACKET)
384 if((l_info->ifa_family == AF_INET || l_info->ifa_family == AF_INET6) && !l_addedNetmask)
386 l_addrSize += NLMSG_ALIGN(calcAddrLen(l_info->ifa_family, l_rtaDataSize));
390 l_addrSize += NLMSG_ALIGN(calcAddrLen(l_info->ifa_family, l_rtaDataSize));
402 l_entry->ifa_name = p_links[l_info->ifa_index - 1]->ifa_name;
407 l_entry->ifa_flags = l_info->ifa_flags | p_links[l_info->ifa_index - 1]->ifa_flags;
410 for(l_rta = (struct rtattr *)(((char *)l_info) + NLMSG_ALIGN(sizeof(struct ifaddrmsg))); RTA_OK(l_rta, l_rtaSize); l_rta = RTA_NEXT(l_rta, l_rtaSize))
420 size_t l_addrLen = calcAddrLen(l_info->ifa_family, l_rtaDataSize);
421 makeSockaddr(l_info->ifa_family, (struct sockaddr *)l_addr, l_rtaData, l_rtaDataSize);
422 if(l_info->ifa_family == AF_INET6)
426 ((struct sockaddr_in6 *)l_addr)->sin6_scope_id = l_info->ifa_index;
469 unsigned l_prefix = (l_info->ifa_prefixlen > l_maxPrefix ? l_maxPrefix : l_info->ifa_prefixlen);