Home
last modified time | relevance | path

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

/external/libpcap/
Dpcap-rdmasniff.c48 static const int RDMASNIFF_RECEIVE_SIZE = 10000; variable
101 sg_entry.length = RDMASNIFF_RECEIVE_SIZE; in rdmasniff_post_recv()
102 sg_entry.addr = (uintptr_t) handle->buffer + RDMASNIFF_RECEIVE_SIZE * wr_id; in rdmasniff_post_recv()
156 pktd = (u_char *) handle->buffer + wc.wr_id * RDMASNIFF_RECEIVE_SIZE; in rdmasniff_read()
269 handle->bufsize = RDMASNIFF_NUM_RECEIVES * RDMASNIFF_RECEIVE_SIZE; in rdmasniff_activate()
277 priv->oneshot_buffer = malloc(RDMASNIFF_RECEIVE_SIZE); in rdmasniff_activate()
303 if (handle->snapshot <= 0 || handle->snapshot > RDMASNIFF_RECEIVE_SIZE) in rdmasniff_activate()
304 handle->snapshot = RDMASNIFF_RECEIVE_SIZE; in rdmasniff_activate()