Home
last modified time | relevance | path

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

/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c60 u_char * oneshot_buffer; member
90 free(priv->oneshot_buffer); in rdmasniff_cleanup()
200 memcpy(priv->oneshot_buffer, bytes, h->caplen); in rdmasniff_oneshot()
201 *sp->pkt = priv->oneshot_buffer; in rdmasniff_oneshot()
293 priv->oneshot_buffer = malloc(RDMASNIFF_RECEIVE_SIZE); in rdmasniff_activate()
294 if (!priv->oneshot_buffer) { in rdmasniff_activate()
365 if (priv->oneshot_buffer) { in rdmasniff_activate()
366 free(priv->oneshot_buffer); in rdmasniff_activate()
H A Dpcap-linux.c831 if (handlep->oneshot_buffer != NULL) { in pcap_cleanup_linux()
832 free(handlep->oneshot_buffer); in pcap_cleanup_linux()
833 handlep->oneshot_buffer = NULL; in pcap_cleanup_linux()
2670 handlep->oneshot_buffer = malloc(handle->snapshot); in setup_mmapped()
2671 if (handlep->oneshot_buffer == NULL) { in setup_mmapped()
2684 free(handlep->oneshot_buffer); in setup_mmapped()
2685 handlep->oneshot_buffer = NULL; in setup_mmapped()
2695 free(handlep->oneshot_buffer); in setup_mmapped()
2696 handlep->oneshot_buffer = NULL; in setup_mmapped()
3345 memcpy(handlep->oneshot_buffer, bytes, h->caplen); in pcap_oneshot_linux()
[all …]