Home
last modified time | relevance | path

Searched refs:rpcap_header (Results 1 – 5 of 5) sorted by relevance

/external/libpcap/
Dpcap-rpcap.c175 static int rpcap_recv_msg_header(SOCKET sock, SSL *, struct rpcap_header *header, char *errbuf);
176 static int rpcap_check_msg_ver(SOCKET sock, SSL *, uint8 expected_ver, struct rpcap_header *header,…
177 static int rpcap_check_msg_type(SOCKET sock, SSL *, uint8 request_type, struct rpcap_header *header…
178 …_msg_header(SOCKET sock, SSL *, uint8 ver, uint8 request_type, struct rpcap_header *header, char *…
391 struct rpcap_header *header; /* general header according to the RPCAP format */ in pcap_read_nocb_remote()
454 header = (struct rpcap_header *) p->buffer; in pcap_read_nocb_remote()
455 net_pkt_header = (struct rpcap_pkthdr *) ((char *)p->buffer + sizeof(struct rpcap_header)); in pcap_read_nocb_remote()
456 net_pkt_data = (u_char *)p->buffer + sizeof(struct rpcap_header) + sizeof(struct rpcap_pkthdr); in pcap_read_nocb_remote()
473 if ((size_t)msglen < sizeof(struct rpcap_header)) in pcap_read_nocb_remote()
483 if ((size_t)msglen < sizeof(struct rpcap_header) + plen) in pcap_read_nocb_remote()
[all …]
Drpcap-protocol.c94 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, RPCAP_MSG_ERROR, errcode, length); in rpcap_senderror()
96 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in rpcap_senderror()
137 rpcap_createhdr(struct rpcap_header *header, uint8 ver, uint8 type, uint16 value, uint32 length) in rpcap_createhdr()
139 memset(header, 0, sizeof(struct rpcap_header)); in rpcap_createhdr()
Drpcap-protocol.h143 struct rpcap_header struct
445 extern void rpcap_createhdr(struct rpcap_header *header, uint8 ver, uint8 type, uint16 value, uint3…
Dpcap-rpcap-int.h72 void rpcap_createhdr(struct rpcap_header *header, uint8 type, uint16 value, uint32 length);
/external/libpcap/rpcapd/
Ddaemon.c162 static int rpcapd_recv_msg_header(SOCKET sock, SSL *, struct rpcap_header *headerp);
226 struct rpcap_header header; // RPCAP message general header in daemon_serviceloop()
1360 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in daemon_msg_auth_req()
1364 rpcap_createhdr((struct rpcap_header *) sendbuf, 0, in daemon_msg_auth_req()
1700 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, in daemon_msg_findallif_req()
1705 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, in daemon_msg_findallif_req()
1899 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in daemon_msg_open_req()
1903 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, in daemon_msg_open_req()
2147 if (sock_bufferize(NULL, sizeof(struct rpcap_header), NULL, &sendbufidx, in daemon_msg_startcap_req()
2151 rpcap_createhdr((struct rpcap_header *) sendbuf, ver, in daemon_msg_startcap_req()
[all …]