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