Home | History | Annotate | Download | only in libpcap

Lines Matching defs:in

5  * Redistribution and use in source and binary forms, with or without
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
21 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
339 int in=0;
343 memcpy(&in, CMSG_DATA(cmsg), sizeof in);
352 if ((in && (handle->direction == PCAP_D_OUT)) ||
353 ((!in) && (handle->direction == PCAP_D_IN)))
356 bthdr->direction = htonl(in != 0);