Lines Matching refs:ndtm
67 struct ndtmsg ndtm; in ipntable_modify() member
83 req.ndtm.ndtm_family = preferred_family; in ipntable_modify()
84 req.ndtm.ndtm_pad1 = 0; in ipntable_modify()
85 req.ndtm.ndtm_pad2 = 0; in ipntable_modify()
355 struct ndtmsg *ndtm = NLMSG_DATA(n); in print_ntable() local
366 len -= NLMSG_LENGTH(sizeof(*ndtm)); in print_ntable()
372 if (preferred_family && preferred_family != ndtm->ndtm_family) in print_ntable()
375 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), in print_ntable()
376 n->nlmsg_len - NLMSG_LENGTH(sizeof(*ndtm))); in print_ntable()
399 if (ndtm->ndtm_family == AF_INET) in print_ntable()
401 else if (ndtm->ndtm_family == AF_INET6) in print_ntable()
403 else if (ndtm->ndtm_family == AF_DECnet) in print_ntable()
406 fprintf(fp, "(%d) ", ndtm->ndtm_family); in print_ntable()