Lines Matching refs:fhdr
389 #define GET_TOP_TLV(fhdr) ((struct forces_tlv *)((fhdr) + sizeof (struct forcesh))) argument
1587 register const u_char * pptr, const struct forcesh *fhdr _U_, in forces_type_print()
1679 const struct forcesh *fhdr; in forces_print() local
1685 fhdr = (const struct forcesh *)pptr; in forces_print()
1686 ND_TCHECK(*fhdr); in forces_print()
1687 if (!tom_valid(fhdr->fm_tom)) { in forces_print()
1688 ND_PRINT((ndo, "Invalid ForCES message type %d\n", fhdr->fm_tom)); in forces_print()
1692 mlen = ForCES_BLN(fhdr); in forces_print()
1694 tops = get_forces_tom(fhdr->fm_tom); in forces_print()
1696 ND_PRINT((ndo, "\n\tUnknown ForCES message type=0x%x", fhdr->fm_tom)); in forces_print()
1704 ForCES_HDRL, len, ForCES_BLN(fhdr))); in forces_print()
1712 ForCES_V(fhdr), mlen, flg_raw)); in forces_print()
1715 ForCES_SID(fhdr), ForCES_node(ForCES_SID(fhdr)), in forces_print()
1716 ForCES_DID(fhdr), ForCES_node(ForCES_DID(fhdr)), in forces_print()
1717 EXTRACT_64BITS(fhdr->fm_cor))); in forces_print()
1723 tok2str(ForCES_ACKs, "ACKUnknown", ForCES_ACK(fhdr)), in forces_print()
1724 ForCES_ACK(fhdr), in forces_print()
1725 ForCES_PRI(fhdr), in forces_print()
1726 tok2str(ForCES_EMs, "EMUnknown", ForCES_EM(fhdr)), in forces_print()
1727 ForCES_EM(fhdr), in forces_print()
1728 tok2str(ForCES_ATs, "ATUnknown", ForCES_AT(fhdr)), in forces_print()
1729 ForCES_AT(fhdr), in forces_print()
1730 tok2str(ForCES_TPs, "TPUnknown", ForCES_TP(fhdr)), in forces_print()
1731 ForCES_TP(fhdr))); in forces_print()
1734 ForCES_RS1(fhdr), ForCES_RS2(fhdr))); in forces_print()
1736 rc = forces_type_print(ndo, pptr, fhdr, mlen, tops); in forces_print()