HomeSort by: relevance | last modified time | path
    Searched refs:oneshot_buffer (Results 1 - 2 of 2) sorted by relevancy

  /src/external/bsd/libpcap/dist/
pcap-rdmasniff.c 58 u_char * oneshot_buffer; member in struct:pcap_rdmasniff
88 free(priv->oneshot_buffer);
198 memcpy(priv->oneshot_buffer, bytes, h->caplen);
199 *sp->pkt = priv->oneshot_buffer;
291 priv->oneshot_buffer = malloc(RDMASNIFF_RECEIVE_SIZE);
292 if (!priv->oneshot_buffer) {
363 if (priv->oneshot_buffer) {
364 free(priv->oneshot_buffer);
pcap-linux.c 210 u_char *oneshot_buffer; /* buffer for copy of packet */ member in struct:pcap_linux
979 if (handlep->oneshot_buffer != NULL) {
980 free(handlep->oneshot_buffer);
981 handlep->oneshot_buffer = NULL;
2855 handlep->oneshot_buffer = malloc(handle->snapshot);
2856 if (handlep->oneshot_buffer == NULL) {
2868 free(handlep->oneshot_buffer);
2869 handlep->oneshot_buffer = NULL;
2878 free(handlep->oneshot_buffer);
2879 handlep->oneshot_buffer = NULL
    [all...]

Completed in 56 milliseconds