Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-linux.c467 struct sll_header *hdrp; in pcap_read_packet() local
588 hdrp = (struct sll_header *)bp; in pcap_read_packet()
601 hdrp->sll_pkttype = htons(LINUX_SLL_HOST); in pcap_read_packet()
605 hdrp->sll_pkttype = htons(LINUX_SLL_BROADCAST); in pcap_read_packet()
609 hdrp->sll_pkttype = htons(LINUX_SLL_MULTICAST); in pcap_read_packet()
613 hdrp->sll_pkttype = htons(LINUX_SLL_OTHERHOST); in pcap_read_packet()
617 hdrp->sll_pkttype = htons(LINUX_SLL_OUTGOING); in pcap_read_packet()
621 hdrp->sll_pkttype = -1; in pcap_read_packet()
625 hdrp->sll_hatype = htons(from.sll_hatype); in pcap_read_packet()
626 hdrp->sll_halen = htons(from.sll_halen); in pcap_read_packet()
[all …]
Dpcap-snit.c118 register struct nit_bufhdr *hdrp; in pcap_read_snit() local
168 hdrp = (struct nit_bufhdr *)cp; in pcap_read_snit()
169 cp += sizeof(*hdrp); in pcap_read_snit()
184 bp += hdrp->nhb_totlen; in pcap_read_snit()
/external/blktrace/btreplay/
Dbtrecord.c573 struct io_bunch_hdr *hdrp = &stream->cur->hdr; in bunch_output_hdr() local
575 assert(0 < hdrp->npkts && hdrp->npkts <= BT_MAX_PKTS); in bunch_output_hdr()
576 if (fwrite(hdrp, sizeof(struct io_bunch_hdr), 1, stream->ofp) != 1) { in bunch_output_hdr()
582 __u64 off = hdrp->time_stamp - stream->iip->genesis; in bunch_output_hdr()
589 (unsigned long long)hdrp->npkts); in bunch_output_hdr()
/external/ppp/pppd/include/net/
Dvjcompress.h141 struct vjcompress *comp, u_char **hdrp,