Home | History | Annotate | Download | only in libpcap

Lines Matching refs:net_pkt_header

376 	struct rpcap_pkthdr *net_pkt_header;	/* header of the packet, from the message */
425 net_pkt_header = (struct rpcap_pkthdr *) ((char *)p->buffer + sizeof(struct rpcap_header));
552 if (ntohl(net_pkt_header->caplen) > plen)
560 pkt_header->caplen = ntohl(net_pkt_header->caplen);
561 pkt_header->len = ntohl(net_pkt_header->len);
562 pkt_header->ts.tv_sec = ntohl(net_pkt_header->timestamp_sec);
563 pkt_header->ts.tv_usec = ntohl(net_pkt_header->timestamp_usec);
579 npkt = ntohl(net_pkt_header->npkt);