Home
last modified time | relevance | path

Searched refs:pcap_header (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/system/network/tcp_shell/
H A Dpcap.h11 struct pcap_header { struct
H A Dtcp_shell.cpp1156 struct pcap_packet_header pcap_header; in dump_pcap() local
1157 pcap_header.ts_sec = time / 1000000; in dump_pcap()
1158 pcap_header.ts_usec = time % 1000000; in dump_pcap()
1159 pcap_header.included_len = sizeof(struct ip) + buffer->size; in dump_pcap()
1160 pcap_header.original_len = pcap_header.included_len; in dump_pcap()
1178 vecs[used].iov_base = &pcap_header; in dump_pcap()
1179 vecs[used].iov_len = sizeof(pcap_header); in dump_pcap()
1191 if (written != (pcap_header.included_len + sizeof(pcap_packet_header))) { in dump_pcap()
1208 struct pcap_header header; in setup_dump_pcap()