diff options
Diffstat (limited to 'pjnath/include/pjnath/stun_sock.h')
-rw-r--r-- | pjnath/include/pjnath/stun_sock.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/pjnath/include/pjnath/stun_sock.h b/pjnath/include/pjnath/stun_sock.h index 30e94a2d..081f36d5 100644 --- a/pjnath/include/pjnath/stun_sock.h +++ b/pjnath/include/pjnath/stun_sock.h @@ -295,6 +295,26 @@ typedef struct pj_stun_sock_cfg */ pj_bool_t qos_ignore_error; + /** + * Specify target value for socket receive buffer size. It will be + * applied using setsockopt(). When it fails to set the specified size, + * it will try with lower value until the highest possible is + * successfully set. + * + * Default: 0 (OS default) + */ + unsigned so_rcvbuf_size; + + /** + * Specify target value for socket send buffer size. It will be + * applied using setsockopt(). When it fails to set the specified size, + * it will try with lower value until the highest possible is + * successfully set. + * + * Default: 0 (OS default) + */ + unsigned so_sndbuf_size; + } pj_stun_sock_cfg; |