Lines Matching refs:nt
189 dissect_time(char *tbuf, net_time_t *nt)
197 if (tbuf == NULL || nt == NULL)
207 nt->net_time_mon = strtol(dd, &endp, 10);
213 nt->net_time_day = strtol(dd, &endp, 10);
219 nt->net_time_yr = strtol(dd, &endp, 10);
221 nt->net_time_yr += 2000;
230 nt->net_time_hr = strtol(h, &endp, 10);
236 nt->net_time_min = strtol(h, &endp, 10);
242 nt->net_time_sec = strtol(h, &endp, 10);
800 addto_time_list(net_table_t *net_table, net_time_entry_t *nt,
803 net_stat_t *ns = nt->my_time_stat;
814 net_table->net_time_head = nt;
815 net_table->net_time_tail = nt;
817 net_table->net_time_tail->net_time_entry_next = nt;
818 nt->net_time_entry_prev = net_table->net_time_tail;
819 net_table->net_time_tail = nt;
865 net_time_entry_t *nt;
871 if ((nt = calloc(1, sizeof (net_time_entry_t))) == NULL) {
877 free(nt);
881 nt->my_time_stat = ns;
887 free(nt);
895 free(nt);
899 addto_time_list(net_table, nt, ntc);