Home
last modified time | relevance | path

Searched refs:sllp (Results 1 – 1 of 1) sorted by relevance

/external/tcpdump/
Dprint-sll.c135 sll_print(netdissect_options *ndo, register const struct sll_header *sllp, u_int length) in sll_print() argument
139 ND_PRINT((ndo, "%3s ",tok2str(sll_pkttype_values,"?",EXTRACT_16BITS(&sllp->sll_pkttype)))); in sll_print()
146 if (EXTRACT_16BITS(&sllp->sll_halen) == 6) in sll_print()
147 ND_PRINT((ndo, "%s ", etheraddr_string(ndo, sllp->sll_addr))); in sll_print()
150 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_print()
200 register const struct sll_header *sllp; in sll_if_print() local
215 sllp = (const struct sll_header *)p; in sll_if_print()
218 sll_print(ndo, sllp, length); in sll_if_print()
228 ether_type = EXTRACT_16BITS(&sllp->sll_protocol); in sll_if_print()
303 sll_print(ndo, sllp, length + SLL_HDR_LEN); in sll_if_print()