Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-sll.c123 if (caplen < SLL_HDR_LEN) { in sll_if_print()
141 length -= SLL_HDR_LEN; in sll_if_print()
142 caplen -= SLL_HDR_LEN; in sll_if_print()
143 p += SLL_HDR_LEN; in sll_if_print()
181 sll_print(sllp, length + SLL_HDR_LEN); in sll_if_print()
194 sll_print(sllp, length + SLL_HDR_LEN); in sll_if_print()
199 return (SLL_HDR_LEN); in sll_if_print()
Dsll.h82 #define SLL_HDR_LEN 16 /* total header length */ macro
/external/libpcap/
Dsll.h79 #define SLL_HDR_LEN 16 /* total header length */ macro
Dpcap-linux.c404 if (handle->snapshot < SLL_HDR_LEN + 1) in pcap_open_live()
405 handle->snapshot = SLL_HDR_LEN + 1; in pcap_open_live()
481 offset = SLL_HDR_LEN; in pcap_read_packet()
586 packet_len += SLL_HDR_LEN; in pcap_read_packet()
2080 if (p->k >= SLL_HDR_LEN) { in fix_offset()
2087 p->k -= SLL_HDR_LEN; in fix_offset()