mn_net_types.hpp
Go to the documentation of this file.
32 #define SERVICE_PROVIDES_TOS(tos) (mn::net::service_provides) ((tos) & mn::net::service_provides::tos_mask)
320 * @brief Changes the default value set by the TCP/IP service provider in the TTL field of the IP
socket_shutdown_type
Commands for lwip_shutdown.
Definition: mn_net_types.hpp:157
protocol_type
Defines socket protoco types for creating.
Definition: mn_net_types.hpp:60
@ raw
Raw sockets allow new IPv4 protocols to be implemented in user space.
@ udp_lite
This is an implementation of the Lightweight User Datagram Protocol (UDP-Lite), as described in RFC 3...
@ unspec
socket_type
Defines socket socket types for creating.
Definition: mn_net_types.hpp:99
@ raw
A socket type that provides a raw socket that allows an application to manipulate the next upper-laye...
address_family
Defines socket address types for creating.
Definition: mn_net_types.hpp:41
socket_option_name
Items for socket option name for the mn_socket::set_options and mn_socket::get_options.
Definition: mn_net_types.hpp:209
@ recive_timeout
Sets the timeout, in milliseconds, for blocking receive calls.
@ sendbuffer
Specifies the total per-socket buffer space reserved for sends.
@ send_lowat
This option sets the minimum number of bytes to process for socket output operations.
@ reuse_addr
Allows the socket to be bound to an address that is already in use.
@ recive_lowat
This option sets the minimum number of bytes to process for socket input operations.
@ oob_inline
Indicates that out-of-bound data should be returned in-line with regular data. This option is only va...
@ keepalive
Enables sending keep-alive packets for a socket connection.
@ get_type
Returns the socket type for the given socket (socket_type::stream or socket_type::dgram)
@ use_loopback
Use the local loopback address when sending data from this socket.
@ send_timeout
Sets the timeout, in milliseconds, for blocking send calls.
@ recivebuffer
Specifies the total per-socket buffer space reserved for receives.
@ dont_route
Sets whether outgoing data should be sent on interface the socket is bound to and not a routed on som...
@ nolinger
Does not block close waiting for unsent data to be sent. Setting this option is equivalent to setting...
@ reuse_port
Allows the socket to be bound to an port that is already in use.
socket_option_level
Items for socket option levels for the mn_socket::set_options and mn_socket::get_options.
Definition: mn_net_types.hpp:175
ioctl_request_type
Commands for ioctlsocket(), taken from the BSD file fcntl.h. lwip_ioctl only supports FIONREAD and FI...
Definition: mn_net_types.hpp:429
@ non_blocking
@ available
socket_flags
Specifies socket send and receive behaviors.
Definition: mn_net_types.hpp:118
@ no_signal
Requests not to send any data on errors on stream oriented sockets when the other end breaks the conn...
@ wait_all
@ peek
Peeks at the incoming data. The data is copied into the buffer, but is not removed from the input que...
Definition: mn_allocator_typetraits.hpp:25