Home
last modified time | relevance | path

Searched refs:stp_bpdu (Results 1 – 1 of 1) sorted by relevance

/external/tcpdump/
Dprint-stp.c100 stp_print_config_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, in stp_print_config_bpdu() argument
104 bittok2str(stp_bpdu_flag_values, "none", stp_bpdu->flags))); in stp_print_config_bpdu()
107 stp_print_bridge_id((const u_char *)&stp_bpdu->bridge_id), in stp_print_config_bpdu()
108 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu()
117 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, in stp_print_config_bpdu()
118 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_config_bpdu()
119 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, in stp_print_config_bpdu()
120 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE)); in stp_print_config_bpdu()
123 stp_print_bridge_id((const u_char *)&stp_bpdu->root_id), in stp_print_config_bpdu()
124 EXTRACT_32BITS(&stp_bpdu->root_path_cost))); in stp_print_config_bpdu()
[all …]