Lines Matching defs:neigh
176 print_entry(struct snl_parsed_neigh *neigh, struct snl_parsed_link_simple *link)
180 struct sockaddr_in *addr = (struct sockaddr_in *)neigh->nda_dst;
198 if (neigh->nda_lladdr != NULL) {
203 .sdl_alen = NLA_DATA_LEN(neigh->nda_lladdr),
205 memcpy(sdl.sdl_data, NLA_DATA(neigh->nda_lladdr), sdl.sdl_alen);
221 if (neigh->ndaf_next_ts == 0)
228 if ((expire_time = neigh->ndaf_next_ts - now.tv_sec) > 0)
235 if (neigh->ndm_flags & NTF_PROXY)
298 struct snl_parsed_neigh neigh = {};
301 if (!snl_parse_nlmsg(&ss_req, hdr, &snl_rtm_neigh_parser, &neigh))
304 if (neigh.nda_ifindex != link.ifi_index) {
307 if (!get_link_info(&ss_cmd, neigh.nda_ifindex, &link))
312 neighaddr = (struct sockaddr_in *)neigh.nda_dst;
317 print_entry(&neigh, &link);