µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::posix::net_stack Class Reference

Network stack class. More...

#include <cmsis-plus/posix-io/net-stack.h>

+ Inheritance diagram for os::posix::net_stack:

Public Member Functions

Constructors & Destructor
 net_stack (net_stack_impl &impl, const char *name)
 
virtual ~net_stack ()
 

Public Static Member Functions

using deferred_sockets_list_t = utils::intrusive_list< class socket, utils::double_list_links, &socket::deferred_links_ >
 
virtual class socketsocket (int domain, int type, int protocol)
 
const char * name (void) const
 
void add_deferred_socket (class socket *sock)
 
deferred_sockets_list_tdeferred_sockets_list (void)
 
template<typename T >
T * allocate_socket (void)
 
template<typename T , typename L >
T * allocate_socket (L &locker)
 
net_interfaceinterface (void) const
 
net_stack_implimpl (void) const
 

Detailed Description

Network stack class.

Definition at line 81 of file net-stack.h.

Member Typedef Documentation

◆ deferred_sockets_list_t

Definition at line 134 of file net-stack.h.

Constructor & Destructor Documentation

◆ net_stack()

os::posix::net_stack::net_stack ( net_stack_impl impl,
const char *  name 
)

Definition at line 82 of file net-stack.cpp.

◆ ~net_stack()

os::posix::net_stack::~net_stack ( )
virtual

Definition at line 92 of file net-stack.cpp.

Member Function Documentation

◆ add_deferred_socket()

void os::posix::net_stack::add_deferred_socket ( class socket sock)
inline

Definition at line 480 of file net-stack.h.

◆ allocate_socket() [1/2]

template<typename T , typename L >
T * os::posix::net_stack::allocate_socket ( L &  locker)

Definition at line 529 of file net-stack.h.

◆ allocate_socket() [2/2]

template<typename T >
T * os::posix::net_stack::allocate_socket ( void  )

Definition at line 493 of file net-stack.h.

◆ deferred_sockets_list()

net_stack::deferred_sockets_list_t & os::posix::net_stack::deferred_sockets_list ( void  )
inline

Definition at line 486 of file net-stack.h.

◆ impl()

net_stack_impl & os::posix::net_stack::impl ( void  ) const
inline

Definition at line 467 of file net-stack.h.

◆ interface()

net_interface & os::posix::net_stack::interface ( void  ) const

◆ name()

const char * os::posix::net_stack::name ( void  ) const
inline

Definition at line 461 of file net-stack.h.

◆ socket()

class socket * os::posix::net_stack::socket ( int  domain,
int  type,
int  protocol 
)
virtual

Definition at line 105 of file net-stack.cpp.


The documentation for this class was generated from the following files: