Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-stp.c369 u_int mstp_len; in stp_print() local
425 mstp_len = EXTRACT_16BITS(p + MST_BPDU_VER3_LEN_OFFSET); in stp_print()
426 mstp_len += 2; /* length encoding itself is 2 bytes */ in stp_print()
427 if (length < (sizeof(struct stp_bpdu_) + mstp_len)) { in stp_print()
435 spb_len = EXTRACT_16BITS (p + MST_BPDU_VER3_LEN_OFFSET + mstp_len); in stp_print()
437 if (length < (sizeof(struct stp_bpdu_) + mstp_len + spb_len) || in stp_print()
441 stp_print_spb_bpdu(ndo, stp_bpdu, (sizeof(struct stp_bpdu_) + mstp_len)); in stp_print()