Searched refs:net_pkt_header (Results 1 – 1 of 1) sorted by relevance
208 struct rpcap_pkthdr *net_pkt_header; /* header of the packet */ in pcap_read_nocb_remote() local259 net_pkt_header = (struct rpcap_pkthdr *) (netbuf + sizeof(struct rpcap_header)); in pcap_read_nocb_remote()297 nread = sock_recv(md->rmt_sockdata, (char *)net_pkt_header, in pcap_read_nocb_remote()305 if ((ntohl(net_pkt_header->caplen) + sizeof(struct pcap_pkthdr)) <= p->bufsize) in pcap_read_nocb_remote()311 (*pkt_header)->caplen = ntohl(net_pkt_header->caplen); in pcap_read_nocb_remote()312 (*pkt_header)->len = ntohl(net_pkt_header->len); in pcap_read_nocb_remote()313 (*pkt_header)->ts.tv_sec = ntohl(net_pkt_header->timestamp_sec); in pcap_read_nocb_remote()314 (*pkt_header)->ts.tv_usec = ntohl(net_pkt_header->timestamp_usec); in pcap_read_nocb_remote()336 npkt = ntohl(net_pkt_header->npkt); in pcap_read_nocb_remote()