Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-stp.c405 u_int mstp_len; in stp_print() local
468 mstp_len = EXTRACT_16BITS(p + MST_BPDU_VER3_LEN_OFFSET); in stp_print()
469 mstp_len += 2; /* length encoding itself is 2 bytes */ in stp_print()
470 if (length < (sizeof(struct stp_bpdu_) + mstp_len)) { in stp_print()
479 ND_TCHECK_16BITS(p + MST_BPDU_VER3_LEN_OFFSET + mstp_len); in stp_print()
480 spb_len = EXTRACT_16BITS (p + MST_BPDU_VER3_LEN_OFFSET + mstp_len); in stp_print()
482 if (length < (sizeof(struct stp_bpdu_) + mstp_len + spb_len) || in stp_print()
486 if (!stp_print_spb_bpdu(ndo, stp_bpdu, (sizeof(struct stp_bpdu_) + mstp_len))) in stp_print()