Lines Matching refs:tsp
41 struct tsp { struct
98 struct tsp *tsp = (struct tsp *)bp; in timed_print() local
101 ND_TCHECK(tsp->tsp_type); in timed_print()
102 if (tsp->tsp_type < TSPTYPENUMBER) in timed_print()
103 ND_PRINT((ndo, "TSP_%s", tsptype[tsp->tsp_type])); in timed_print()
105 ND_PRINT((ndo, "(tsp_type %#x)", tsp->tsp_type)); in timed_print()
107 ND_TCHECK(tsp->tsp_vers); in timed_print()
108 ND_PRINT((ndo, " vers %u", tsp->tsp_vers)); in timed_print()
110 ND_TCHECK(tsp->tsp_seq); in timed_print()
111 ND_PRINT((ndo, " seq %u", tsp->tsp_seq)); in timed_print()
113 switch (tsp->tsp_type) { in timed_print()
115 ND_TCHECK(tsp->tsp_hopcnt); in timed_print()
116 ND_PRINT((ndo, " hopcnt %u", tsp->tsp_hopcnt)); in timed_print()
122 ND_TCHECK(tsp->tsp_time); in timed_print()
123 sec = EXTRACT_32BITS(&tsp->tsp_time.tv_sec); in timed_print()
124 usec = EXTRACT_32BITS(&tsp->tsp_time.tv_usec); in timed_print()
139 ND_TCHECK(tsp->tsp_name); in timed_print()
141 if (fn_print(ndo, (u_char *)tsp->tsp_name, (u_char *)tsp->tsp_name + sizeof(tsp->tsp_name))) in timed_print()