Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-util.c124 pcap_can_socketcan_xl_hdr *xl_hdrp; in swap_socketcan_header() local
149 xl_hdrp = (pcap_can_socketcan_xl_hdr *)buf; in swap_socketcan_header()
150 …if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, priority_vcid) + sizeof xl_hdrp->priorit… in swap_socketcan_header()
151 …length < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, priority_vcid) + sizeof xl_hdrp->priority_vc… in swap_socketcan_header()
155 xl_hdrp->priority_vcid = SWAPLONG(xl_hdrp->priority_vcid); in swap_socketcan_header()
156 …if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, payload_length) + sizeof xl_hdrp->payloa… in swap_socketcan_header()
157 …length < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, payload_length) + sizeof xl_hdrp->payload_le… in swap_socketcan_header()
161 xl_hdrp->payload_length = SWAPSHORT(xl_hdrp->payload_length); in swap_socketcan_header()
162 …if (caplen < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, acceptance_field) + sizeof xl_hdrp->acce… in swap_socketcan_header()
163 …length < (u_int) (offsetof(pcap_can_socketcan_xl_hdr, acceptance_field) + sizeof xl_hdrp->acceptan… in swap_socketcan_header()
[all …]