Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-stp.c102 stp_print_config_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, in stp_print_config_bpdu() argument
105 ND_TCHECK(stp_bpdu->flags); in stp_print_config_bpdu()
107 bittok2str(stp_bpdu_flag_values, "none", stp_bpdu->flags))); in stp_print_config_bpdu()
109 ND_TCHECK(stp_bpdu->port_id); in stp_print_config_bpdu()
111 stp_print_bridge_id((const u_char *)&stp_bpdu->bridge_id), in stp_print_config_bpdu()
112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); in stp_print_config_bpdu()
119 ND_TCHECK(stp_bpdu->forward_delay); in stp_print_config_bpdu()
122 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, in stp_print_config_bpdu()
123 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_config_bpdu()
124 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, in stp_print_config_bpdu()
[all …]