Lines Matching refs:EXTRACT_16BITS
112 EXTRACT_16BITS(&stp_bpdu->port_id), length)); 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()
125 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE)); in stp_print_config_bpdu()
274 ND_PRINT((ndo, "CIST port-id %04x,", EXTRACT_16BITS(&stp_bpdu->port_id))); in stp_print_mstp_bpdu()
279 (float)EXTRACT_16BITS(&stp_bpdu->message_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
280 (float)EXTRACT_16BITS(&stp_bpdu->max_age) / STP_TIME_BASE, in stp_print_mstp_bpdu()
281 (float)EXTRACT_16BITS(&stp_bpdu->hello_time) / STP_TIME_BASE, in stp_print_mstp_bpdu()
282 (float)EXTRACT_16BITS(&stp_bpdu->forward_delay) / STP_TIME_BASE)); in stp_print_mstp_bpdu()
285 ND_PRINT((ndo, "\n\tv3len %d, ", EXTRACT_16BITS(ptr + MST_BPDU_VER3_LEN_OFFSET))); in stp_print_mstp_bpdu()
292 EXTRACT_16BITS(ptr + MST_BPDU_CONFIG_NAME_OFFSET + 32), in stp_print_mstp_bpdu()
311 v3len = EXTRACT_16BITS(ptr + MST_BPDU_VER3_LEN_OFFSET); in stp_print_mstp_bpdu()
318 msti = EXTRACT_16BITS(ptr + offset + in stp_print_mstp_bpdu()
362 ND_PRINT((ndo, "\n\tv4len %d, ", EXTRACT_16BITS (ptr + offset))); in stp_print_spb_bpdu()
368 EXTRACT_16BITS(ptr + offset + SPB_BPDU_CONFIG_REV_OFFSET), in stp_print_spb_bpdu()
386 EXTRACT_16BITS(ptr + offset + SPB_BPDU_AGREEMENT_EDGE_OFFSET), in stp_print_spb_bpdu()
415 if (EXTRACT_16BITS(&stp_bpdu->protocol_id)) { in stp_print()
468 mstp_len = EXTRACT_16BITS(p + MST_BPDU_VER3_LEN_OFFSET); in stp_print()
480 spb_len = EXTRACT_16BITS (p + MST_BPDU_VER3_LEN_OFFSET + mstp_len); in stp_print()