Lines Matching refs:oam_ptr
460 } oam_ptr; in oam_print() local
498 oam_ptr.oam_fm_loopback = (const struct oam_fm_loopback_t *)(p + OAM_CELLTYPE_FUNCTYPE_LEN); in oam_print()
499 ND_TCHECK(*oam_ptr.oam_fm_loopback); in oam_print()
503 … oam_ptr.oam_fm_loopback->loopback_indicator & OAM_FM_LOOPBACK_INDICATOR_MASK), in oam_print()
504 EXTRACT_32BITS(&oam_ptr.oam_fm_loopback->correlation_tag))); in oam_print()
506 for (idx = 0; idx < sizeof(oam_ptr.oam_fm_loopback->loopback_id); idx++) { in oam_print()
508 … ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(&oam_ptr.oam_fm_loopback->loopback_id[idx]))); in oam_print()
512 for (idx = 0; idx < sizeof(oam_ptr.oam_fm_loopback->source_id); idx++) { in oam_print()
514 ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(&oam_ptr.oam_fm_loopback->source_id[idx]))); in oam_print()
521 oam_ptr.oam_fm_ais_rdi = (const struct oam_fm_ais_rdi_t *)(p + OAM_CELLTYPE_FUNCTYPE_LEN); in oam_print()
522 ND_TCHECK(*oam_ptr.oam_fm_ais_rdi); in oam_print()
523 ND_PRINT((ndo, "\n\tFailure-type 0x%02x", oam_ptr.oam_fm_ais_rdi->failure_type)); in oam_print()
525 for (idx = 0; idx < sizeof(oam_ptr.oam_fm_ais_rdi->failure_location); idx++) { in oam_print()
527 … ND_PRINT((ndo, "%04x ", EXTRACT_16BITS(&oam_ptr.oam_fm_ais_rdi->failure_location[idx]))); in oam_print()