1
0
mirror of https://github.com/open-simh/simh.git synced 2026-04-24 19:40:22 +00:00
Files
open-simh.simh/Pcap-VMS/pcap-vci/readme.txt
Bob Supnik f01115606a simh tools
2011-04-15 08:34:16 -07:00

38 lines
1.1 KiB
Plaintext

This is a second port of the pcap library for VMS. It interfaces with
a VMS execlet to capture the packets. This results in better performance
than the $QIO version of the pcap library. This version also includes
a routine to send packets. Many pcap implementations include such a
routine, however it is not part of the pcap standard and as such has no
specified name or calling signature. In this implementation it is
defined as:
int pcap_sendpacket(pcap_t *p, u_char *buf, int size);
where:
p - pcap handle, as returned by pcap_open_live
buf - pointer to the packet to send, including header
size - size of the packet, including header
To build the pcap library, just do a:
$ @VMS_PCAP
This will build PCAP.OLB, to use it do something like:
$ cc/debug/noopt pcaptest/incl=sys$disk:[]/name=(as_is,short)
$ link/debug pcaptest
For information regarding PCAP just check the WWW.
You will notice that there are still some compilation warnings.
For filtering syntax have a look at grammar.y, provided you know yacc
that is.
Let me know if you enhance this package by sending mail to ankan@hp.com