base/ipc/netrpc/rtnetP.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sock_t

Functions

int soft_rt_bind (int s, struct sockaddr *my_addr, int addrlen)
int soft_rt_close (int s)
int soft_rt_recvfrom (int s, void *buf, int len, unsigned int flags, struct sockaddr *from, long *fromlen)
int soft_rt_sendto (int s, const void *buf, int len, unsigned int flags, struct sockaddr *to, int tolen)
int soft_rt_socket (int domain, int type, int protocol)
int soft_rt_socket_callback (int s, int(*func)(int s, void *arg), void *arg)


Function Documentation

int soft_rt_bind ( int  s,
struct sockaddr *  my_addr,
int  addrlen 
)

Definition at line 1257 of file netrpc.c.

Referenced by __rtai_netrpc_init().

int soft_rt_close ( int  s  ) 

Definition at line 1249 of file netrpc.c.

References MaxSocks, sock_t::opnd, and socks.

Referenced by __rtai_netrpc_exit().

int soft_rt_recvfrom ( int  s,
void *  buf,
int  len,
unsigned int  flags,
struct sockaddr *  from,
long *  fromlen 
)

Definition at line 1295 of file netrpc.c.

References sock_t::addrlen, MaxSocks, sock_t::recvd, and socks.

Referenced by _rt_net_rpc(), net_resume_task(), port_server_fun(), rt_send_req_rel_port(), and soft_stub_fun().

int soft_rt_sendto ( int  s,
const void *  buf,
int  len,
unsigned int  flags,
struct sockaddr *  to,
int  tolen 
)

Definition at line 1276 of file netrpc.c.

References MAX_MSG_SIZE, MaxSocks, rt_pend_linux_srq(), rt_spin_lock_irqsave(), rt_spin_unlock_irqrestore, socks, and sysrq.

Referenced by _rt_net_rpc(), port_server_fun(), rt_send_req_rel_port(), and soft_stub_fun().

Here is the call graph for this function:

int soft_rt_socket ( int  domain,
int  type,
int  protocol 
)

Definition at line 1238 of file netrpc.c.

References cmpxchg, MaxSocks, sock_t::opnd, and socks.

Referenced by __rtai_netrpc_init().

int soft_rt_socket_callback ( int  s,
int(*)(int s, void *arg)  func,
void *  arg 
)


Generated on Tue Feb 2 17:47:39 2010 for RTAI API by  doxygen 1.4.7