• Home
  • Raw
  • Download

Lines Matching refs:rpcap_header

159 static int rpcap_recv_msg_header(SOCKET sock, struct rpcap_header *header, char *errbuf);
160 static int rpcap_check_msg_ver(SOCKET sock, uint8 expected_ver, struct rpcap_header *header, char *…
161 static int rpcap_check_msg_type(SOCKET sock, uint8 request_type, struct rpcap_header *header, uint1…
162 static int rpcap_process_msg_header(SOCKET sock, uint8 ver, uint8 request_type, struct rpcap_header
375 struct rpcap_header *header; /* general header according to the RPCAP format */ in pcap_read_nocb_remote()
424 header = (struct rpcap_header *) p->buffer; in pcap_read_nocb_remote()
425 net_pkt_header = (struct rpcap_pkthdr *) ((char *)p->buffer + sizeof(struct rpcap_header)); in pcap_read_nocb_remote()
426 net_pkt_data = (u_char *)p->buffer + sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr); in pcap_read_nocb_remote()
443 if ((size_t)msglen < sizeof(struct rpcap_header)) in pcap_read_nocb_remote()
453 if ((size_t)msglen < sizeof(struct rpcap_header) + plen) in pcap_read_nocb_remote()
468 if ((size_t)p->cc < sizeof(struct rpcap_header)) in pcap_read_nocb_remote()
476 sizeof(struct rpcap_header)); in pcap_read_nocb_remote()
496 if (plen > p->bufsize - sizeof(struct rpcap_header)) in pcap_read_nocb_remote()
509 sizeof(struct rpcap_header) + plen); in pcap_read_nocb_remote()
692 struct rpcap_header header; /* header of the RPCAP packet */ in pcap_cleanup_rpcap()
719 sizeof(struct rpcap_header), NULL, 0); in pcap_cleanup_rpcap()
732 sizeof(struct rpcap_header), NULL, 0) == 0) in pcap_cleanup_rpcap()
840 struct rpcap_header header; /* header of the RPCAP packet */ in rpcap_stats_rpcap()
882 sizeof(struct rpcap_header), p->errbuf, PCAP_ERRBUF_SIZE) < 0) in rpcap_stats_rpcap()
1031 struct rpcap_header header; /* header of the RPCAP packet */ in pcap_startcapture_remote()
1136 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, in pcap_startcapture_remote()
1140 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_startcapture_remote()
1320 fp->bufsize = sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr) + fp->snapshot; in pcap_startcapture_remote()
1504 struct rpcap_header header; /* To keep the reply message */ in pcap_updatefilter_remote()
1506 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in pcap_updatefilter_remote()
1510 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_updatefilter_remote()
1719 struct rpcap_header header; /* To keep the reply message */ in pcap_setsampling_remote()
1742 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, in pcap_setsampling_remote()
1746 rpcap_createhdr((struct rpcap_header *) sendbuf, in pcap_setsampling_remote()
1898 struct rpcap_header header; in rpcap_sendauth()
1947 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, in rpcap_sendauth()
1951 rpcap_createhdr((struct rpcap_header *) sendbuf, *ver, in rpcap_sendauth()
2119 struct rpcap_header header; /* header of the RPCAP packet */ in pcap_open_rpcap()
2253 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, in pcap_open_rpcap()
2257 rpcap_createhdr((struct rpcap_header *) sendbuf, protocol_version, in pcap_open_rpcap()
2351 struct rpcap_header header; /* structure that keeps the general header of the rpcap protocol */ in pcap_findalldevs_ex_remote()
2437 if (sock_send(sockctrl, (char *)&header, sizeof(struct rpcap_header), in pcap_findalldevs_ex_remote()
2874 struct rpcap_header header; in pcap_remoteact_close()
2887 sizeof(struct rpcap_header), errbuf, in pcap_remoteact_close()
3000 static int rpcap_recv_msg_header(SOCKET sock, struct rpcap_header *header, char *errbuf) in rpcap_recv_msg_header()
3004 nrecv = sock_recv(sock, (char *) header, sizeof(struct rpcap_header), in rpcap_recv_msg_header()
3020 static int rpcap_check_msg_ver(SOCKET sock, uint8 expected_ver, struct rpcap_header *header, char *… in rpcap_check_msg_ver()
3051 static int rpcap_check_msg_type(SOCKET sock, uint8 request_type, struct rpcap_header *header, uint1… in rpcap_check_msg_type()
3121 …sg_header(SOCKET sock, uint8 expected_ver, uint8 request_type, struct rpcap_header *header, char *… in rpcap_process_msg_header()