PCAP_SETDIRECTION(3) | PCAP_SETDIRECTION(3) |
int pcap_setdirection(pcap_t *p, pcap_direction_t d);
pcap_setdirection() isn't necessarily fully supported on all platforms; some platforms might return an error for all values, and some other platforms might not support PCAP_D_OUT.
This operation is not supported if a ``savefile'' is being read.
5 April 2008 |