Home
last modified time | relevance | path

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

/freebsd/contrib/tcpdump/
H A Dprint-stp.c378 u_int mstp_len; in stp_print() local
437 mstp_len = GET_BE_U_2(p + MST_BPDU_VER3_LEN_OFFSET); in stp_print()
438 mstp_len += 2; /* length encoding itself is 2 bytes */ in stp_print()
439 if (length < (sizeof(struct stp_bpdu_) + mstp_len)) { in stp_print()
446 spb_len = GET_BE_U_2(p + MST_BPDU_VER3_LEN_OFFSET + mstp_len); in stp_print()
448 if (length < (sizeof(struct stp_bpdu_) + mstp_len + spb_len) || in stp_print()
452 stp_print_spb_bpdu(ndo, stp_bpdu, (sizeof(struct stp_bpdu_) + mstp_len)); in stp_print()