Lines Matching defs:trp
73 #define IS_SOURCE_ROUTED(trp) ((trp)->token_shost[0] & 0x80) argument
74 #define FRAME_TYPE(trp) (((trp)->token_fc & 0xC0) >> 6) argument
77 #define BROADCAST(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0xE000) >> 13) argument
78 #define RIF_LENGTH(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x1f00) >> 8) argument
79 #define DIRECTION(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0080) >> 7) argument
80 #define LARGEST_FRAME(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0070) >> 4) argument
81 #define RING_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0xfff0) >> 4) argument
82 #define BRIDGE_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0x000f)) argument
83 #define SEGMENT_COUNT(trp) ((int)((RIF_LENGTH(trp) - 2) / 2)) argument
98 extract_token_addrs(const struct token_header *trp, char *fsrc, char *fdst) in extract_token_addrs()
109 register const struct token_header *trp, register u_int length, in token_hdr_print()
151 const struct token_header *trp; in token_print() local