Lines Matching refs:timestr
1023 char timestr[30]; in pfctl_print_eth_rule_counters() local
1026 bcopy(ctime(&rule->last_active_timestamp), timestr, in pfctl_print_eth_rule_counters()
1027 sizeof(timestr)); in pfctl_print_eth_rule_counters()
1028 *strchr(timestr, '\n') = '\0'; in pfctl_print_eth_rule_counters()
1030 snprintf(timestr, sizeof(timestr), "N/A"); in pfctl_print_eth_rule_counters()
1032 printf(" [ Last Active Time: %s ]\n", timestr); in pfctl_print_eth_rule_counters()
1074 char timestr[30]; in pfctl_print_rule_counters() local
1076 bcopy(ctime(&rule->last_active_timestamp), timestr, in pfctl_print_rule_counters()
1077 sizeof(timestr)); in pfctl_print_rule_counters()
1078 *strchr(timestr, '\n') = '\0'; in pfctl_print_rule_counters()
1080 snprintf(timestr, sizeof(timestr), "N/A"); in pfctl_print_rule_counters()
1082 printf(" [ Last Active Time: %s ]\n", timestr); in pfctl_print_rule_counters()