libnx  v4.7.0
Data Fields
BsdInitConfig Struct Reference

Configuration structure for bsdInitalize. More...

#include <bsd.h>

Data Fields

u32 version
 Observed 1 on [2.0.0+] LibAppletWeb, 2 on [3.0.0+].
 
void * tmem_buffer
 User-provided buffer to use as backing for transfer memory. If NULL, a buffer will be allocated automatically. Must be large enough and page-aligned.
 
size_t tmem_buffer_size
 Size of the user-provided transfer memory backing buffer. Must be large enough and page-aligned.
 
u32 tcp_tx_buf_size
 Size of the TCP transfer (send) buffer (initial or fixed).
 
u32 tcp_rx_buf_size
 Size of the TCP receive buffer (initial or fixed).
 
u32 tcp_tx_buf_max_size
 Maximum size of the TCP transfer (send) buffer. If it is 0, the size of the buffer is fixed to its initial value.
 
u32 tcp_rx_buf_max_size
 Maximum size of the TCP receive buffer. If it is 0, the size of the buffer is fixed to its initial value.
 
u32 udp_tx_buf_size
 Size of the UDP transfer (send) buffer (typically 0x2400 bytes).
 
u32 udp_rx_buf_size
 Size of the UDP receive buffer (typically 0xA500 bytes).
 
u32 sb_efficiency
 Number of buffers for each socket (standard values range from 1 to 8).
 

Detailed Description

Configuration structure for bsdInitalize.


The documentation for this struct was generated from the following file: