base/ipc/netrpc/rtnetP.h File Reference

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

Included by dependency graph

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, int *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 1040 of file netrpc.c.

Referenced by __rtai_netrpc_init().

int soft_rt_close int  s  ) 
 

Definition at line 1032 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,
int *  fromlen
 

Definition at line 1078 of file netrpc.c.

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

Referenced by port_server_fun(), rt_net_rpc(), rt_send_req_rel_port(), soft_stub_fun(), and trashmsg().

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

Definition at line 1059 of file netrpc.c.

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

Referenced by port_server_fun(), rt_net_rpc(), 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 1021 of file netrpc.c.

References cmpxchg, MaxSocks, and socks.

Referenced by __rtai_netrpc_init().

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

Referenced by __rtai_netrpc_init().


Generated on Thu Nov 20 11:55:14 2008 for RTAI API by doxygen 1.3.8