Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-util.c217 struct sll2_header *shdr = (struct sll2_header *)buf; in swap_linux_sll2_socketcan_header()
219 if (caplen < (u_int) sizeof(struct sll2_header) || in swap_linux_sll2_socketcan_header()
220 length < (u_int) sizeof(struct sll2_header)) { in swap_linux_sll2_socketcan_header()
229 caplen - (u_int) sizeof(struct sll2_header), in swap_linux_sll2_socketcan_header()
230 length - (u_int) sizeof(struct sll2_header), in swap_linux_sll2_socketcan_header()
231 buf + sizeof(struct sll2_header)); in swap_linux_sll2_socketcan_header()
H A Dpcap-linux.c3878 struct sll2_header *hdrp; in pcap_handle_packet_mmap()
3907 hdrp = (struct sll2_header *)bp; in pcap_handle_packet_mmap()
3916 snaplen += sizeof(struct sll2_header); in pcap_handle_packet_mmap()
/freebsd/contrib/tcpdump/
H A Dprint-sll.c100 struct sll2_header { struct
340 sll2_print(netdissect_options *ndo, const struct sll2_header *sllp, u_int length) in sll2_print()
406 const struct sll2_header *sllp; in sll2_if_print()
419 sllp = (const struct sll2_header *)p; in sll2_if_print()
/freebsd/contrib/libpcap/pcap/
H A Dsll.h98 struct sll2_header { struct