Lines Matching refs:ndtm
67 struct ndtmsg ndtm; in ipntable_modify() member
73 .ndtm.ndtm_family = preferred_family, in ipntable_modify()
344 struct ndtmsg *ndtm = NLMSG_DATA(n); in print_ntable() local
355 len -= NLMSG_LENGTH(sizeof(*ndtm)); in print_ntable()
361 if (preferred_family && preferred_family != ndtm->ndtm_family) in print_ntable()
364 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), in print_ntable()
365 n->nlmsg_len - NLMSG_LENGTH(sizeof(*ndtm))); in print_ntable()
388 if (ndtm->ndtm_family == AF_INET) in print_ntable()
390 else if (ndtm->ndtm_family == AF_INET6) in print_ntable()
392 else if (ndtm->ndtm_family == AF_DECnet) in print_ntable()
395 fprintf(fp, "(%d) ", ndtm->ndtm_family); in print_ntable()