1PCAP_SET_BUFFER_SIZE(3PCAP)                        PCAP_SET_BUFFER_SIZE(3PCAP)
2
3
4

NAME

6       pcap_set_buffer_size - set the buffer size for a not-yet-activated cap‐
7       ture handle
8

SYNOPSIS

10       #include <pcap/pcap.h>
11
12       int pcap_set_buffer_size(pcap_t *p, int buffer_size);
13

DESCRIPTION

15       pcap_set_buffer_size() sets the buffer size that will be used on a cap‐
16       ture  handle  when  the handle is activated to buffer_size, which is in
17       units of bytes.
18

RETURN VALUE

20       pcap_set_buffer_size() returns 0 on success or PCAP_ERROR_ACTIVATED  if
21       called on a capture handle that has been activated.
22

SEE ALSO

24       pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP)
25
26
27
28                                3 January 2014     PCAP_SET_BUFFER_SIZE(3PCAP)
Impressum