Searched refs:net_pkt_header (Results 1 – 2 of 2) sorted by relevance
2611 struct rpcap_pkthdr *net_pkt_header;// header of the packet in daemon_thrdatamain() local2729 net_pkt_header = (struct rpcap_pkthdr *) &sendbuf[sendbufidx]; in daemon_thrdatamain()2742 net_pkt_header->caplen = htonl(pkt_header->caplen); in daemon_thrdatamain()2743 net_pkt_header->len = htonl(pkt_header->len); in daemon_thrdatamain()2744 net_pkt_header->npkt = htonl(++(session->TotCapt)); in daemon_thrdatamain()2749 net_pkt_header->timestamp_sec = htonl((uint32)pkt_header->ts.tv_sec); in daemon_thrdatamain()2750 net_pkt_header->timestamp_usec = htonl((uint32)pkt_header->ts.tv_usec); in daemon_thrdatamain()
393 struct rpcap_pkthdr *net_pkt_header; /* header of the packet, from the message */ in pcap_read_nocb_remote() local456 net_pkt_header = (struct rpcap_pkthdr *) ((char *)p->buffer + sizeof(struct rpcap_header)); in pcap_read_nocb_remote()581 if (ntohl(net_pkt_header->caplen) > plen) in pcap_read_nocb_remote()589 pkt_header->caplen = ntohl(net_pkt_header->caplen); in pcap_read_nocb_remote()590 pkt_header->len = ntohl(net_pkt_header->len); in pcap_read_nocb_remote()591 pkt_header->ts.tv_sec = ntohl(net_pkt_header->timestamp_sec); in pcap_read_nocb_remote()592 pkt_header->ts.tv_usec = ntohl(net_pkt_header->timestamp_usec); in pcap_read_nocb_remote()608 npkt = ntohl(net_pkt_header->npkt); in pcap_read_nocb_remote()