Home
last modified time | relevance | path

Searched defs:trp (Results 1 – 1 of 1) sorted by relevance

/external/tcpdump/
Dprint-token.c72 #define IS_SOURCE_ROUTED(trp) ((trp)->token_shost[0] & 0x80) argument
73 #define FRAME_TYPE(trp) (((trp)->token_fc & 0xC0) >> 6) argument
76 #define BROADCAST(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0xE000) >> 13) argument
77 #define RIF_LENGTH(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x1f00) >> 8) argument
78 #define DIRECTION(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0080) >> 7) argument
79 #define LARGEST_FRAME(trp) ((EXTRACT_16BITS(&(trp)->token_rcf) & 0x0070) >> 4) argument
80 #define RING_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0xfff0) >> 4) argument
81 #define BRIDGE_NUMBER(trp, x) ((EXTRACT_16BITS(&(trp)->token_rseg[x]) & 0x000f)) argument
82 #define SEGMENT_COUNT(trp) ((int)((RIF_LENGTH(trp) - 2) / 2)) argument
97 extract_token_addrs(const struct token_header *trp, char *fsrc, char *fdst) in extract_token_addrs()
[all …]