base/include/rtai_netrpc.h File Reference

Include dependency graph for rtai_netrpc.h:

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

Go to the source code of this file.

Defines

#define MAX_STUBS   20
#define MAX_SOCKS   20
#define MAX_MSG_SIZE   1500
#define NET_RPC_EXT   0
#define NETRPC_BASEPORT   5000
#define PORT_SHF   1
#define PORT_INC   1
#define PORT_MSK   ((1 << PORT_SHF) - 1)
#define MACH_SIZE(port)   (((port) & PORT_MSK) ? 64 : 32)
#define UW1(bf, sz)   ((((bf) & 0x7) << 19) | (((sz) & 0x7) << 22))
#define UW2(bf, sz)   ((((bf) & 0x7) << 25) | (((sz) & 0x7) << 28))
#define UR1(bf, sz)   ((((bf) & 0x7) << 3) | (((sz) & 0x7) << 6))
#define UR2(bf, sz)   ((((bf) & 0x7) << 9) | (((sz) & 0x7) << 12))
#define SIZARG   sizeof(arg)
#define PACKPORT(port, ext, fun, timed)   (((port) << 18) | ((timed) << 13) | ((ext) << 8) | (fun))
#define PORT(i)   ((i) >> 18)
#define FUN(i)   ((i) & 0xFF)
#define EXT(i)   (((i) >> 8) & 0x1F)
#define TIMED(i)   (((i) >> 13) & 0x1F)
#define SYNC_NET_RPC   0xFF
#define PRT_REQ   1
#define PRT_SRV   2
#define PRT_RTR   3
#define PRT_RCV   4
#define RPC_REQ   5
#define RPC_SRV   6
#define RPC_RTR   7
#define RPC_RCV   8
#define ADR_CNV_MSK   (0xFFFFFFFCUL)
#define OWNER(node, task)
#define TSK_FRM_WNR(i)   ((i) & 0xFFFFFFFF);
#define WDW   3
#define WDWMSK   ((1 << WDW) - 1)
#define SINT   1
#define UINT   2
#define VADR   3
#define RTIM   4
#define PARTYPES1(a)   (a)
#define PARTYPES2(a, b)   (((b) << WDW) | (a))
#define PARTYPES3(a, b, c)   (((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES4(a, b, c, d)   (((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES5(a, b, c, d, e)   (((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES6(a, b, c, d, e, f)   (((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES7(a, b, c, d, e, f, g)   (((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES8(a, b, c, d, e, f, g, h)   (((h) << 7*WDW) | ((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define PARTYPES9(a, b, c, d, e, f, g, h, i)   (((i) << 8*WDW) | ((h) << 7*WDW) | ((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))
#define RT_NET_RPC(port, retval)   RTAI_LXRT(port, (union rtai_lxrt_t)retval)
#define RT_NET_ADR(port, adr)   RTAI_LXRT(port, (union rtai_lxrt_t)((long long)(adr)))
#define NET_RPC_IDX   0
#define SIZARGS   sizeof(args)
#define RT_isrpcx(task)   RT_isrpc(task)
#define RT_waiting_return   rt_waiting_return
#define RT_sync_net_rpc   rt_sync_net_rpc
#define RT_request_port   rt_request_port
#define RT_request_port_id   rt_request_port_id
#define RT_request_port_mbx   rt_request_port_mbx
#define RT_request_port_id_mbx   rt_request_port_id_mbx
#define RT_request_soft_port   rt_request_soft_port
#define RT_request_soft_port_id   rt_request_soft_port_id
#define RT_request_soft_port_mbx   rt_request_soft_port_mbx
#define RT_request_soft_port_id_mbx   rt_request_soft_port_id_mbx
#define RT_request_hard_port   rt_request_hard_port
#define RT_request_hard_port_id   rt_request_hard_port_id
#define RT_request_hard_port_mbx   rt_request_hard_port_mbx
#define RT_request_hard_port_id_mbx   rt_request_hard_port_id_mbx
#define RT_release_port   rt_release_port
#define rt_request_port   rt_request_soft_port
#define rt_request_port_id   rt_request_soft_port_id
#define rt_request_port_mbx   rt_request_soft_port_mbx
#define rt_request_port_id_mbx   rt_request_soft_port_id_mbx
#define rt_request_soft_port(node)   rt_send_req_rel_port(node, 0, 0, 0, 0)
#define rt_request_soft_port_id(node, id)   rt_send_req_rel_port(node, 0, id, 0, 0)
#define rt_request_soft_port_mbx(node, mbx)   rt_send_req_rel_port(node, 0, 0, mbx, 0)
#define rt_request_soft_port_id_mbx(node, id, mbx)   rt_send_req_rel_port(node, 0, id, mbx, 0)
#define rt_request_hard_port(node)   rt_send_req_rel_port(node, 0, 0, 0, 1)
#define rt_request_hard_port_id(node, id)   rt_send_req_rel_port(node, 0, id, 0, 1)
#define rt_request_hard_port_mbx(node, mbx)   rt_send_req_rel_port(node, 0, 0, mbx, 1)
#define rt_request_hard_port_id_mbx(node, id, mbx)   rt_send_req_rel_port(node, 0, id, mbx, 1)
#define rt_release_port(node, port)   rt_send_req_rel_port(node, port, 0, 0, 0)

Functions

static unsigned long reset_kadr (unsigned long val)
static void * RTAI_LXRT (int port, union rtai_lxrt_t retval)
static int rt_send_req_rel_port (unsigned long node, int port, unsigned long id, MBX *mbx, int hard)
static int rt_set_netrpc_timeout (int port, RTIME timeout)
static unsigned long ddn2nl (const char *ddn)
static unsigned long rt_set_this_node (const char *ddn, unsigned long node, int hard)
static RT_TASKrt_find_asgn_stub (unsigned long long owner, int asgn)
static int rt_rel_stub (unsigned long long owner)
static int rt_waiting_return (unsigned long node, int port)
static int rt_sync_net_rpc (unsigned long node, int port)
static void * RT_get_adr (unsigned long node, int port, const char *sname)
static RTIME RT_get_time_ns (unsigned long node, int port)
static RTIME RT_get_time_ns_cpuid (unsigned long node, int port, int cpuid)
static RTIME RT_get_cpu_time_ns (unsigned long node, int port)
static void RT_task_suspend (unsigned long node, int port, RT_TASK *task)
static void RT_task_resume (unsigned long node, int port, RT_TASK *task)
static void RT_sleep (unsigned long node, int port, RTIME delay)
static void RT_sleep_until (unsigned long node, int port, RTIME time)
static SEMRT_typed_named_sem_init (unsigned long node, int port, const char *sem_name, int value, int type)
static int RT_named_sem_delete (unsigned long node, int port, SEM *sem)
static int RT_sem_signal (unsigned long node, int port, SEM *sem)
static int RT_sem_broadcast (unsigned long node, int port, SEM *sem)
static int RT_sem_wait (unsigned long node, int port, SEM *sem)
static int RT_sem_wait_if (unsigned long node, int port, SEM *sem)
static int RT_sem_wait_until (unsigned long node, int port, SEM *sem, RTIME time)
static int RT_sem_wait_timed (unsigned long node, int port, SEM *sem, RTIME delay)
static RT_TASKRT_send (unsigned long node, int port, RT_TASK *task, unsigned long msg)
static RT_TASKRT_send_if (unsigned long node, int port, RT_TASK *task, unsigned long msg)
static RT_TASKRT_send_until (unsigned long node, int port, RT_TASK *task, unsigned long msg, RTIME time)
static RT_TASKRT_send_timed (unsigned long node, int port, RT_TASK *task, unsigned long msg, RTIME delay)
static RT_TASKRT_evdrp (unsigned long node, int port, RT_TASK *task, void *msg)
static RT_TASKRT_receive (unsigned long node, int port, RT_TASK *task, void *msg)
static RT_TASKRT_receive_if (unsigned long node, int port, RT_TASK *task, void *msg)
static RT_TASKRT_receive_until (unsigned long node, int port, RT_TASK *task, void *msg, RTIME time)
static RT_TASKRT_receive_timed (unsigned long node, int port, RT_TASK *task, void *msg, RTIME delay)
static RT_TASKRT_rpc (unsigned long node, int port, RT_TASK *task, unsigned long msg, void *ret)
static RT_TASKRT_rpc_if (unsigned long node, int port, RT_TASK *task, unsigned long msg, void *ret)
static RT_TASKRT_rpc_until (unsigned long node, int port, RT_TASK *task, unsigned long msg, void *ret, RTIME time)
static RT_TASKRT_rpc_timed (unsigned long node, int port, RT_TASK *task, unsigned long msg, void *ret, RTIME delay)
static int RT_isrpc (unsigned long node, int port, RT_TASK *task)
static RT_TASKRT_return (unsigned long node, int port, RT_TASK *task, unsigned long result)
static RT_TASKRT_rpcx (unsigned long node, int port, RT_TASK *task, void *smsg, void *rmsg, int ssize, int rsize)
static RT_TASKRT_rpcx_if (unsigned long node, int port, RT_TASK *task, void *smsg, void *rmsg, int ssize, int rsize)
static RT_TASKRT_rpcx_until (unsigned long node, int port, RT_TASK *task, void *smsg, void *rmsg, int ssize, int rsize, RTIME time)
static RT_TASKRT_rpcx_timed (unsigned long node, int port, RT_TASK *task, void *smsg, void *rmsg, int ssize, int rsize, RTIME delay)
static RT_TASKRT_sendx (unsigned long node, int port, RT_TASK *task, void *msg, int size)
static RT_TASKRT_sendx_if (unsigned long node, int port, RT_TASK *task, void *msg, int size)
static RT_TASKRT_sendx_until (unsigned long node, int port, RT_TASK *task, void *msg, int size, RTIME time)
static RT_TASKRT_sendx_timed (unsigned long node, int port, RT_TASK *task, void *msg, int size, RTIME delay)
static RT_TASKRT_returnx (unsigned long node, int port, RT_TASK *task, void *msg, int size)
static RT_TASKRT_evdrpx (unsigned long node, int port, RT_TASK *task, void *msg, int size, long *len)
static RT_TASKRT_receivex (unsigned long node, int port, RT_TASK *task, void *msg, int size, long *len)
static RT_TASKRT_receivex_if (unsigned long node, int port, RT_TASK *task, void *msg, int size, long *len)
static RT_TASKRT_receivex_until (unsigned long node, int port, RT_TASK *task, void *msg, int size, long *len, RTIME time)
static RT_TASKRT_receivex_timed (unsigned long node, int port, RT_TASK *task, void *msg, int size, long *len, RTIME delay)
static MBXRT_typed_named_mbx_init (unsigned long node, int port, const char *mbx_name, int size, int qtype)
static int RT_named_mbx_delete (unsigned long node, int port, MBX *mbx)
static int RT_mbx_send (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_send_wp (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_send_if (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_ovrwr_send (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_send_until (unsigned long node, int port, MBX *mbx, void *msg, int msg_size, RTIME time)
static int RT_mbx_send_timed (unsigned long node, int port, MBX *mbx, void *msg, int msg_size, RTIME delay)
static int RT_mbx_evdrp (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_receive (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_receive_wp (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_receive_if (unsigned long node, int port, MBX *mbx, void *msg, int msg_size)
static int RT_mbx_receive_until (unsigned long node, int port, MBX *mbx, void *msg, int msg_size, RTIME time)
static int RT_mbx_receive_timed (unsigned long node, int port, MBX *mbx, void *msg, int msg_size, RTIME delay)
static int rt_get_net_rpc_ret (MBX *mbx, unsigned long long *retval, void *msg1, int *msglen1, void *msg2, int *msglen2, RTIME timeout, int type)

Variables

static unsigned long long kadr_ofst []


Define Documentation

#define ADR_CNV_MSK   (0xFFFFFFFCUL)

Definition at line 77 of file rtai_netrpc.h.

Referenced by reset_kadr().

#define EXT (  )     (((i) >> 8) & 0x1F)

Definition at line 59 of file rtai_netrpc.h.

Referenced by hard_stub_fun(), and soft_stub_fun().

#define FUN (  )     ((i) & 0xFF)

Definition at line 58 of file rtai_netrpc.h.

Referenced by _rt_net_rpc(), hard_stub_fun(), and soft_stub_fun().

#define MACH_SIZE ( port   )     (((port) & PORT_MSK) ? 64 : 32)

Definition at line 42 of file rtai_netrpc.h.

#define MAX_MSG_SIZE   1500

Definition at line 32 of file rtai_netrpc.h.

Referenced by _rt_net_rpc(), hard_stub_fun(), net_resume_task(), port_server_fun(), recv_thread(), soft_rt_sendto(), and soft_stub_fun().

#define MAX_SOCKS   20

Definition at line 31 of file rtai_netrpc.h.

#define MAX_STUBS   20

Definition at line 30 of file rtai_netrpc.h.

#define NET_RPC_EXT   0

Definition at line 34 of file rtai_netrpc.h.

Referenced by __rtai_netrpc_init(), RT_get_adr(), RT_get_cpu_time_ns(), rt_get_net_rpc_ret(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_isrpc(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_named_mbx_delete(), RT_named_sem_delete(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), RT_send_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), RT_sleep(), RT_sleep_until(), rt_sync_net_rpc(), RT_task_resume(), RT_task_suspend(), RT_typed_named_mbx_init(), and RT_typed_named_sem_init().

#define NET_RPC_IDX   0

Definition at line 793 of file rtai_netrpc.h.

Referenced by ddn2nl(), rt_find_asgn_stub(), RT_get_adr(), RT_get_cpu_time_ns(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_isrpc(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_named_mbx_delete(), RT_named_sem_delete(), rt_rel_stub(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), RT_send_if(), rt_send_req_rel_port(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), rt_set_netrpc_timeout(), rt_set_this_node(), RT_sleep(), RT_sleep_until(), rt_sync_net_rpc(), RT_task_resume(), RT_task_suspend(), RT_typed_named_mbx_init(), RT_typed_named_sem_init(), and rt_waiting_return().

#define NETRPC_BASEPORT   5000

Definition at line 36 of file rtai_netrpc.h.

#define OWNER ( node,
task   ) 

Value:

( (((unsigned long long)(node)) << 32)   | \
      (((unsigned long)(task)) & ADR_CNV_MSK) )

Definition at line 79 of file rtai_netrpc.h.

Referenced by __rtai_netrpc_init(), RT_evdrp(), RT_evdrpx(), RT_receive(), RT_receive_if(), RT_receive_timed(), RT_receive_until(), RT_receivex(), RT_receivex_if(), RT_receivex_timed(), RT_receivex_until(), RT_return(), RT_returnx(), and rt_send_req_rel_port().

#define PACKPORT ( port,
ext,
fun,
timed   )     (((port) << 18) | ((timed) << 13) | ((ext) << 8) | (fun))

Definition at line 55 of file rtai_netrpc.h.

Referenced by RT_get_adr(), RT_get_cpu_time_ns(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_isrpc(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_named_mbx_delete(), RT_named_sem_delete(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), RT_send_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), RT_sleep(), RT_sleep_until(), rt_sync_net_rpc(), RT_task_resume(), RT_task_suspend(), RT_typed_named_mbx_init(), and RT_typed_named_sem_init().

#define PARTYPES1 (  )     (a)

Definition at line 93 of file rtai_netrpc.h.

Referenced by RT_get_adr(), RT_get_cpu_time_ns(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_isrpc(), RT_named_mbx_delete(), RT_named_sem_delete(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sleep(), RT_sleep_until(), rt_sync_net_rpc(), RT_task_resume(), and RT_task_suspend().

#define PARTYPES2 ( a,
 )     (((b) << WDW) | (a))

Definition at line 94 of file rtai_netrpc.h.

Referenced by RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), and RT_send_if().

#define PARTYPES3 ( a,
b,
 )     (((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 95 of file rtai_netrpc.h.

Referenced by RT_rpc(), RT_rpc_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_typed_named_mbx_init(), and RT_typed_named_sem_init().

#define PARTYPES4 ( a,
b,
c,
 )     (((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 96 of file rtai_netrpc.h.

Referenced by RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_wp(), RT_rpc_timed(), RT_rpc_until(), RT_sendx_timed(), and RT_sendx_until().

#define PARTYPES5 ( a,
b,
c,
d,
 )     (((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 97 of file rtai_netrpc.h.

Referenced by RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_rpcx(), and RT_rpcx_if().

#define PARTYPES6 ( a,
b,
c,
d,
e,
 )     (((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 98 of file rtai_netrpc.h.

Referenced by RT_rpcx_timed(), and RT_rpcx_until().

#define PARTYPES7 ( a,
b,
c,
d,
e,
f,
 )     (((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 99 of file rtai_netrpc.h.

#define PARTYPES8 ( a,
b,
c,
d,
e,
f,
g,
 )     (((h) << 7*WDW) | ((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 100 of file rtai_netrpc.h.

#define PARTYPES9 ( a,
b,
c,
d,
e,
f,
g,
h,
 )     (((i) << 8*WDW) | ((h) << 7*WDW) | ((g) << 6*WDW) | ((f) << 5*WDW) | ((e) << 4*WDW) | ((d) << 3*WDW) | ((c) << 2*WDW) | ((b) << WDW) | (a))

Definition at line 101 of file rtai_netrpc.h.

#define PORT (  )     ((i) >> 18)

Definition at line 57 of file rtai_netrpc.h.

Referenced by _rt_net_rpc().

#define PORT_INC   1

Definition at line 39 of file rtai_netrpc.h.

Referenced by rt_send_req_rel_port().

#define PORT_MSK   ((1 << PORT_SHF) - 1)

Definition at line 40 of file rtai_netrpc.h.

Referenced by RTAI_LXRT().

#define PORT_SHF   1

Definition at line 38 of file rtai_netrpc.h.

Referenced by _rt_net_rpc(), rt_send_req_rel_port(), rt_set_netrpc_timeout(), and rt_waiting_return().

#define PRT_RCV   4

Definition at line 71 of file rtai_netrpc.h.

Referenced by rt_send_req_rel_port().

#define PRT_REQ   1

Definition at line 68 of file rtai_netrpc.h.

Referenced by rt_send_req_rel_port().

#define PRT_RTR   3

Definition at line 70 of file rtai_netrpc.h.

Referenced by port_server_fun().

#define PRT_SRV   2

Definition at line 69 of file rtai_netrpc.h.

Referenced by port_server_fun().

#define RPC_RCV   8

Definition at line 75 of file rtai_netrpc.h.

Referenced by _rt_net_rpc().

#define RPC_REQ   5

Definition at line 72 of file rtai_netrpc.h.

Referenced by _rt_net_rpc().

#define RPC_RTR   7

Definition at line 74 of file rtai_netrpc.h.

Referenced by hard_stub_fun(), and soft_stub_fun().

#define RPC_SRV   6

Definition at line 73 of file rtai_netrpc.h.

Referenced by hard_stub_fun(), and soft_stub_fun().

#define RT_isrpcx ( task   )     RT_isrpc(task)

Definition at line 1553 of file rtai_netrpc.h.

#define RT_NET_ADR ( port,
adr   )     RTAI_LXRT(port, (union rtai_lxrt_t)((long long)(adr)))

Definition at line 131 of file rtai_netrpc.h.

#define RT_NET_RPC ( port,
retval   )     RTAI_LXRT(port, (union rtai_lxrt_t)retval)

Definition at line 129 of file rtai_netrpc.h.

#define rt_release_port ( node,
port   )     rt_send_req_rel_port(node, port, 0, 0, 0)

Definition at line 1621 of file rtai_netrpc.h.

#define RT_release_port   rt_release_port

Definition at line 1583 of file rtai_netrpc.h.

#define rt_request_hard_port ( node   )     rt_send_req_rel_port(node, 0, 0, 0, 1)

Definition at line 1609 of file rtai_netrpc.h.

#define RT_request_hard_port   rt_request_hard_port

Definition at line 1575 of file rtai_netrpc.h.

#define rt_request_hard_port_id ( node,
id   )     rt_send_req_rel_port(node, 0, id, 0, 1)

Definition at line 1612 of file rtai_netrpc.h.

#define RT_request_hard_port_id   rt_request_hard_port_id

Definition at line 1577 of file rtai_netrpc.h.

#define rt_request_hard_port_id_mbx ( node,
id,
mbx   )     rt_send_req_rel_port(node, 0, id, mbx, 1)

Definition at line 1618 of file rtai_netrpc.h.

#define RT_request_hard_port_id_mbx   rt_request_hard_port_id_mbx

Definition at line 1581 of file rtai_netrpc.h.

#define rt_request_hard_port_mbx ( node,
mbx   )     rt_send_req_rel_port(node, 0, 0, mbx, 1)

Definition at line 1615 of file rtai_netrpc.h.

#define RT_request_hard_port_mbx   rt_request_hard_port_mbx

Definition at line 1579 of file rtai_netrpc.h.

#define rt_request_port   rt_request_soft_port

Definition at line 1585 of file rtai_netrpc.h.

#define RT_request_port   rt_request_port

Definition at line 1559 of file rtai_netrpc.h.

#define rt_request_port_id   rt_request_soft_port_id

Definition at line 1587 of file rtai_netrpc.h.

#define RT_request_port_id   rt_request_port_id

Definition at line 1561 of file rtai_netrpc.h.

#define rt_request_port_id_mbx   rt_request_soft_port_id_mbx

Definition at line 1591 of file rtai_netrpc.h.

#define RT_request_port_id_mbx   rt_request_port_id_mbx

Definition at line 1565 of file rtai_netrpc.h.

#define rt_request_port_mbx   rt_request_soft_port_mbx

Definition at line 1589 of file rtai_netrpc.h.

#define RT_request_port_mbx   rt_request_port_mbx

Definition at line 1563 of file rtai_netrpc.h.

#define rt_request_soft_port ( node   )     rt_send_req_rel_port(node, 0, 0, 0, 0)

Definition at line 1597 of file rtai_netrpc.h.

#define RT_request_soft_port   rt_request_soft_port

Definition at line 1567 of file rtai_netrpc.h.

#define rt_request_soft_port_id ( node,
id   )     rt_send_req_rel_port(node, 0, id, 0, 0)

Definition at line 1600 of file rtai_netrpc.h.

#define RT_request_soft_port_id   rt_request_soft_port_id

Definition at line 1569 of file rtai_netrpc.h.

#define rt_request_soft_port_id_mbx ( node,
id,
mbx   )     rt_send_req_rel_port(node, 0, id, mbx, 0)

Definition at line 1606 of file rtai_netrpc.h.

#define RT_request_soft_port_id_mbx   rt_request_soft_port_id_mbx

Definition at line 1573 of file rtai_netrpc.h.

#define rt_request_soft_port_mbx ( node,
mbx   )     rt_send_req_rel_port(node, 0, 0, mbx, 0)

Definition at line 1603 of file rtai_netrpc.h.

#define RT_request_soft_port_mbx   rt_request_soft_port_mbx

Definition at line 1571 of file rtai_netrpc.h.

#define RT_sync_net_rpc   rt_sync_net_rpc

Definition at line 1557 of file rtai_netrpc.h.

#define RT_waiting_return   rt_waiting_return

Definition at line 1555 of file rtai_netrpc.h.

#define RTIM   4

Definition at line 91 of file rtai_netrpc.h.

Referenced by argconv(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send_timed(), RT_send_until(), RT_sendx_timed(), RT_sendx_until(), RT_sleep(), and RT_sleep_until().

#define SINT   1

Definition at line 88 of file rtai_netrpc.h.

Referenced by argconv(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), and RT_typed_named_sem_init().

#define SIZARG   sizeof(arg)

Definition at line 53 of file rtai_netrpc.h.

#define SIZARGS   sizeof(args)

Definition at line 795 of file rtai_netrpc.h.

Referenced by ddn2nl(), rt_find_asgn_stub(), RT_get_adr(), RT_get_cpu_time_ns(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_isrpc(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_named_mbx_delete(), RT_named_sem_delete(), rt_rel_stub(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), RT_send_if(), rt_send_req_rel_port(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), rt_set_netrpc_timeout(), rt_set_this_node(), RT_sleep(), RT_sleep_until(), rt_sync_net_rpc(), RT_task_resume(), RT_task_suspend(), RT_typed_named_mbx_init(), RT_typed_named_sem_init(), and rt_waiting_return().

#define SYNC_NET_RPC   0xFF

Definition at line 66 of file rtai_netrpc.h.

Referenced by _rt_net_rpc(), and rt_sync_net_rpc().

#define TIMED (  )     (((i) >> 13) & 0x1F)

Definition at line 60 of file rtai_netrpc.h.

Referenced by hard_stub_fun(), and soft_stub_fun().

#define TSK_FRM_WNR (  )     ((i) & 0xFFFFFFFF);

Definition at line 83 of file rtai_netrpc.h.

Referenced by port_server_fun().

#define UINT   2

Definition at line 89 of file rtai_netrpc.h.

Referenced by argconv(), RT_get_adr(), RT_get_cpu_time_ns(), RT_get_time_ns(), RT_get_time_ns_cpuid(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_send(), RT_send_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), rt_sync_net_rpc(), and RT_typed_named_mbx_init().

#define UR1 ( bf,
sz   )     ((((bf) & 0x7) << 3) | (((sz) & 0x7) << 6))

Definition at line 50 of file rtai_netrpc.h.

Referenced by RT_mbx_ovrwr_send(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), and RT_sendx_until().

#define UR2 ( bf,
sz   )     ((((bf) & 0x7) << 9) | (((sz) & 0x7) << 12))

Definition at line 51 of file rtai_netrpc.h.

#define UW1 ( bf,
sz   )     ((((bf) & 0x7) << 19) | (((sz) & 0x7) << 22))

Definition at line 46 of file rtai_netrpc.h.

Referenced by RT_mbx_evdrp(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), and RT_rpcx_until().

#define UW2 ( bf,
sz   )     ((((bf) & 0x7) << 25) | (((sz) & 0x7) << 28))

Definition at line 47 of file rtai_netrpc.h.

#define VADR   3

Definition at line 90 of file rtai_netrpc.h.

Referenced by argconv(), RT_isrpc(), RT_mbx_evdrp(), RT_mbx_ovrwr_send(), RT_mbx_receive(), RT_mbx_receive_if(), RT_mbx_receive_timed(), RT_mbx_receive_until(), RT_mbx_receive_wp(), RT_mbx_send(), RT_mbx_send_if(), RT_mbx_send_timed(), RT_mbx_send_until(), RT_mbx_send_wp(), RT_named_mbx_delete(), RT_named_sem_delete(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_sem_broadcast(), RT_sem_signal(), RT_sem_wait(), RT_sem_wait_if(), RT_sem_wait_timed(), RT_sem_wait_until(), RT_send(), RT_send_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), RT_task_resume(), RT_task_suspend(), and RT_typed_named_sem_init().

#define WDW   3

Definition at line 85 of file rtai_netrpc.h.

Referenced by argconv().

#define WDWMSK   ((1 << WDW) - 1)

Definition at line 86 of file rtai_netrpc.h.

Referenced by argconv().


Function Documentation

static unsigned long ddn2nl ( const char *  ddn  )  [inline, static]

Definition at line 809 of file rtai_netrpc.h.

References DDN2NL, rtai_lxrt_t::i, LOW, NET_RPC_IDX, rtai_lxrt(), and SIZARGS.

Referenced by __rtai_netrpc_init(), and rt_set_this_node().

Here is the call graph for this function:

static unsigned long reset_kadr ( unsigned long  val  )  [inline, static]

Definition at line 108 of file rtai_netrpc.h.

References ADR_CNV_MSK, and kadr_ofst.

Referenced by argconv().

static RT_TASK* RT_evdrp ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg 
) [inline, static]

Definition at line 1118 of file rtai_netrpc.h.

References OWNER, rt_evdrp(), rt_find_asgn_stub(), and task.

Here is the call graph for this function:

static RT_TASK* RT_evdrpx ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
long *  len 
) [inline, static]

Definition at line 1307 of file rtai_netrpc.h.

References OWNER, rt_evdrpx(), rt_find_asgn_stub(), and task.

Here is the call graph for this function:

static RT_TASK* rt_find_asgn_stub ( unsigned long long  owner,
int  asgn 
) [inline, static]

Definition at line 821 of file rtai_netrpc.h.

References FIND_ASGN_STUB, LOW, NET_RPC_IDX, rtai_lxrt(), SIZARGS, and rtai_lxrt_t::v.

Referenced by RT_evdrp(), RT_evdrpx(), RT_receive(), RT_receive_if(), RT_receive_timed(), RT_receive_until(), RT_receivex(), RT_receivex_if(), RT_receivex_timed(), RT_receivex_until(), RT_return(), and RT_returnx().

Here is the call graph for this function:

static void* RT_get_adr ( unsigned long  node,
int  port,
const char *  sname 
) [inline, static]

Definition at line 849 of file rtai_netrpc.h.

References GET_ADR, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_get_adr(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, and UINT.

Here is the call graph for this function:

static RTIME RT_get_cpu_time_ns ( unsigned long  node,
int  port 
) [inline, static]

Definition at line 880 of file rtai_netrpc.h.

References dummy(), GET_CPU_TIME_NS, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rtai_lxrt_t::rt, rt_get_cpu_time_ns(), rtai_lxrt(), SIZARG, SIZARGS, and UINT.

Here is the call graph for this function:

static int rt_get_net_rpc_ret ( MBX mbx,
unsigned long long *  retval,
void *  msg1,
int *  msglen1,
void *  msg2,
int *  msglen2,
RTIME  timeout,
int  type 
) [inline, static]

Definition at line 1493 of file rtai_netrpc.h.

References MBX_RECEIVE, MBX_RECEIVE_IF, MBX_RECEIVE_TIMED, MBX_RECEIVE_UNTIL, MBX_RECEIVE_WP, msg, reply_t::msg, reply_t::myport, reply_t::retval, rt_mbx_receive(), rt_mbx_receive_if(), rt_mbx_receive_timed(), rt_mbx_receive_until(), rt_mbx_receive_wp(), reply_t::w2size, and reply_t::wsize.

Here is the call graph for this function:

static RTIME RT_get_time_ns ( unsigned long  node,
int  port 
) [inline, static]

Definition at line 860 of file rtai_netrpc.h.

References dummy(), GET_TIME_NS, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rtai_lxrt_t::rt, rt_get_time_ns(), rtai_lxrt(), SIZARG, SIZARGS, and UINT.

Here is the call graph for this function:

static RTIME RT_get_time_ns_cpuid ( unsigned long  node,
int  port,
int  cpuid 
) [inline, static]

Definition at line 870 of file rtai_netrpc.h.

References GET_TIME_NS_CPUID, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rtai_lxrt_t::rt, rt_get_time_ns_cpuid(), rtai_lxrt(), SIZARG, SIZARGS, and UINT.

Here is the call graph for this function:

static int RT_isrpc ( unsigned long  node,
int  port,
RT_TASK task 
) [inline, static]

Definition at line 1198 of file rtai_netrpc.h.

References rtai_lxrt_t::i, ISRPC, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_isrpc(), rtai_lxrt(), SIZARG, SIZARGS, task, and VADR.

Here is the call graph for this function:

static int RT_mbx_evdrp ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1431 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_EVDRP, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_evdrp(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_ovrwr_send ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1401 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_OVRWR_SEND, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_ovrwr_send(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_mbx_receive ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1441 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_RECEIVE, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_receive(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_receive_if ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1461 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_RECEIVE_IF, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_receive_if(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_receive_timed ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size,
RTIME  delay 
) [inline, static]

Definition at line 1481 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_RECEIVE_TIMED, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, rt_mbx_receive_timed(), rtai_lxrt(), RTIM, SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_receive_until ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size,
RTIME  time 
) [inline, static]

Definition at line 1471 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_RECEIVE_UNTIL, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, rt_mbx_receive_until(), rtai_lxrt(), RTIM, SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_receive_wp ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1451 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_RECEIVE_WP, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_receive_wp(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UW1, and VADR.

Here is the call graph for this function:

static int RT_mbx_send ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1371 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_SEND, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_send(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_mbx_send_if ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1391 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_SEND_IF, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_send_if(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_mbx_send_timed ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size,
RTIME  delay 
) [inline, static]

Definition at line 1421 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_SEND_TIMED, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, rt_mbx_send_until(), rtai_lxrt(), RTIM, SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_mbx_send_until ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size,
RTIME  time 
) [inline, static]

Definition at line 1411 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_SEND_UNTIL, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, rt_mbx_send_until(), rtai_lxrt(), RTIM, SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_mbx_send_wp ( unsigned long  node,
int  port,
MBX mbx,
void *  msg,
int  msg_size 
) [inline, static]

Definition at line 1381 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, MBX_SEND_WP, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_mbx_send_wp(), rtai_lxrt(), SINT, SIZARG, SIZARGS, UINT, UR1, and VADR.

Here is the call graph for this function:

static int RT_named_mbx_delete ( unsigned long  node,
int  port,
MBX mbx 
) [inline, static]

Definition at line 1361 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NAMED_MBX_DELETE, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_named_mbx_delete(), rtai_lxrt(), SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_named_sem_delete ( unsigned long  node,
int  port,
SEM sem 
) [inline, static]

Definition at line 946 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NAMED_SEM_DELETE, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_named_sem_delete(), rtai_lxrt(), SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_receive ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg 
) [inline, static]

Definition at line 1126 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_receive(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receive_if ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg 
) [inline, static]

Definition at line 1134 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_receive_if(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receive_timed ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
RTIME  delay 
) [inline, static]

Definition at line 1150 of file rtai_netrpc.h.

References nano2count(), OWNER, rt_find_asgn_stub(), rt_receive_timed(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receive_until ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
RTIME  time 
) [inline, static]

Definition at line 1142 of file rtai_netrpc.h.

References nano2count(), OWNER, rt_find_asgn_stub(), rt_receive_until(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receivex ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
long *  len 
) [inline, static]

Definition at line 1315 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_receivex(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receivex_if ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
long *  len 
) [inline, static]

Definition at line 1323 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_receivex_if(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receivex_timed ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
long *  len,
RTIME  delay 
) [inline, static]

Definition at line 1339 of file rtai_netrpc.h.

References nano2count(), OWNER, rt_find_asgn_stub(), rt_receivex_timed(), and task.

Here is the call graph for this function:

static RT_TASK* RT_receivex_until ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
long *  len,
RTIME  time 
) [inline, static]

Definition at line 1331 of file rtai_netrpc.h.

References nano2count(), OWNER, rt_find_asgn_stub(), rt_receivex_until(), and task.

Here is the call graph for this function:

static int rt_rel_stub ( unsigned long long  owner  )  [inline, static]

Definition at line 827 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_IDX, REL_STUB, rtai_lxrt(), and SIZARGS.

Here is the call graph for this function:

static RT_TASK* RT_return ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  result 
) [inline, static]

Definition at line 1208 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_return(), and task.

Here is the call graph for this function:

static RT_TASK* RT_returnx ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size 
) [inline, static]

Definition at line 1298 of file rtai_netrpc.h.

References OWNER, rt_find_asgn_stub(), rt_returnx(), and task.

Here is the call graph for this function:

static RT_TASK* RT_rpc ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
void *  ret 
) [inline, static]

Definition at line 1158 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, RPCMSG, rt_rpc(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, task, UINT, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpc_if ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
void *  ret 
) [inline, static]

Definition at line 1168 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, RPC_IF, rt_rpc_if(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, task, UINT, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpc_timed ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
void *  ret,
RTIME  delay 
) [inline, static]

Definition at line 1188 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, RPC_TIMED, rt_rpc_timed(), rtai_lxrt(), RTAI_LXRT(), RTIM, SIZARG, SIZARGS, task, UINT, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpc_until ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
void *  ret,
RTIME  time 
) [inline, static]

Definition at line 1178 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, RPC_UNTIL, rt_rpc_until(), rtai_lxrt(), RTAI_LXRT(), RTIM, SIZARG, SIZARGS, task, UINT, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpcx ( unsigned long  node,
int  port,
RT_TASK task,
void *  smsg,
void *  rmsg,
int  ssize,
int  rsize 
) [inline, static]

Definition at line 1217 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, RPCX, rt_rpcx(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, task, UINT, UR1, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpcx_if ( unsigned long  node,
int  port,
RT_TASK task,
void *  smsg,
void *  rmsg,
int  ssize,
int  rsize 
) [inline, static]

Definition at line 1227 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES5, RPCX_IF, rt_rpcx_if(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, task, UINT, UR1, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpcx_timed ( unsigned long  node,
int  port,
RT_TASK task,
void *  smsg,
void *  rmsg,
int  ssize,
int  rsize,
RTIME  delay 
) [inline, static]

Definition at line 1247 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES6, RPCX_TIMED, rt_rpcx_timed(), rtai_lxrt(), RTAI_LXRT(), RTIM, SIZARG, SIZARGS, task, UINT, UR1, UW1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_rpcx_until ( unsigned long  node,
int  port,
RT_TASK task,
void *  smsg,
void *  rmsg,
int  ssize,
int  rsize,
RTIME  time 
) [inline, static]

Definition at line 1237 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES6, RPCX_UNTIL, rt_rpcx_until(), rtai_lxrt(), RTAI_LXRT(), RTIM, SIZARG, SIZARGS, task, UINT, UR1, UW1, and VADR.

Here is the call graph for this function:

static int RT_sem_broadcast ( unsigned long  node,
int  port,
SEM sem 
) [inline, static]

Definition at line 966 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sem_broadcast(), rtai_lxrt(), SEM_BROADCAST, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_sem_signal ( unsigned long  node,
int  port,
SEM sem 
) [inline, static]

Definition at line 956 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sem_signal(), rtai_lxrt(), SEM_SIGNAL, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_sem_wait ( unsigned long  node,
int  port,
SEM sem 
) [inline, static]

Definition at line 976 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sem_wait(), rtai_lxrt(), SEM_WAIT, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_sem_wait_if ( unsigned long  node,
int  port,
SEM sem 
) [inline, static]

Definition at line 986 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sem_wait_if(), rtai_lxrt(), SEM_WAIT_IF, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_sem_wait_timed ( unsigned long  node,
int  port,
SEM sem,
RTIME  delay 
) [inline, static]

Definition at line 1006 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES2, rt_sem_wait_timed(), rtai_lxrt(), RTIM, SEM_WAIT_TIMED, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int RT_sem_wait_until ( unsigned long  node,
int  port,
SEM sem,
RTIME  time 
) [inline, static]

Definition at line 996 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES2, rt_sem_wait_until(), rtai_lxrt(), RTIM, SEM_WAIT_UNTIL, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_send ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg 
) [inline, static]

Definition at line 1078 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES2, rt_send(), rtai_lxrt(), RTAI_LXRT(), SENDMSG, SIZARG, SIZARGS, task, UINT, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_send_if ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg 
) [inline, static]

Definition at line 1088 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES2, rt_send_if(), rtai_lxrt(), RTAI_LXRT(), SEND_IF, SIZARG, SIZARGS, task, UINT, and VADR.

Here is the call graph for this function:

static int rt_send_req_rel_port ( unsigned long  node,
int  port,
unsigned long  id,
MBX mbx,
int  hard 
) [inline, static]

Definition at line 797 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_IDX, rtai_lxrt(), SEND_REQ_REL_PORT, and SIZARGS.

Here is the call graph for this function:

static RT_TASK* RT_send_timed ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
RTIME  delay 
) [inline, static]

Definition at line 1108 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_send_timed(), rtai_lxrt(), RTAI_LXRT(), RTIM, SEND_TIMED, SIZARG, SIZARGS, task, UINT, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_send_until ( unsigned long  node,
int  port,
RT_TASK task,
unsigned long  msg,
RTIME  time 
) [inline, static]

Definition at line 1098 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_send_until(), rtai_lxrt(), RTAI_LXRT(), RTIM, SEND_UNTIL, SIZARG, SIZARGS, task, UINT, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_sendx ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size 
) [inline, static]

Definition at line 1257 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_sendx(), rtai_lxrt(), RTAI_LXRT(), SENDX, SIZARG, SIZARGS, task, UINT, UR1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_sendx_if ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size 
) [inline, static]

Definition at line 1267 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_sendx_if(), rtai_lxrt(), RTAI_LXRT(), SENDX_IF, SIZARG, SIZARGS, task, UINT, UR1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_sendx_timed ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
RTIME  delay 
) [inline, static]

Definition at line 1288 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_sendx_timed(), rtai_lxrt(), RTAI_LXRT(), RTIM, SENDX_TIMED, SIZARG, SIZARGS, task, UINT, UR1, and VADR.

Here is the call graph for this function:

static RT_TASK* RT_sendx_until ( unsigned long  node,
int  port,
RT_TASK task,
void *  msg,
int  size,
RTIME  time 
) [inline, static]

Definition at line 1278 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES4, rt_sendx_until(), rtai_lxrt(), RTAI_LXRT(), RTIM, SENDX_UNTIL, SIZARG, SIZARGS, task, UINT, UR1, and VADR.

Here is the call graph for this function:

static int rt_set_netrpc_timeout ( int  port,
RTIME  timeout 
) [inline, static]

Definition at line 803 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_IDX, rtai_lxrt(), SET_NETRPC_TIMEOUT, and SIZARGS.

Here is the call graph for this function:

static unsigned long rt_set_this_node ( const char *  ddn,
unsigned long  node,
int  hard 
) [inline, static]

Definition at line 815 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_IDX, rtai_lxrt(), SET_THIS_NODE, and SIZARGS.

Here is the call graph for this function:

static void RT_sleep ( unsigned long  node,
int  port,
RTIME  delay 
) [inline, static]

Definition at line 912 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sleep(), rtai_lxrt(), RTIM, SIZARG, SIZARGS, and SLEEP.

Here is the call graph for this function:

static void RT_sleep_until ( unsigned long  node,
int  port,
RTIME  time 
) [inline, static]

Definition at line 923 of file rtai_netrpc.h.

References nano2count(), NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_sleep(), rtai_lxrt(), RTIM, SIZARG, SIZARGS, and SLEEP_UNTIL.

Here is the call graph for this function:

static int rt_sync_net_rpc ( unsigned long  node,
int  port 
) [inline, static]

Definition at line 839 of file rtai_netrpc.h.

References dummy(), rtai_lxrt_t::i, LOW, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rtai_lxrt(), SIZARG, SIZARGS, SYNC_NET_RPC, and UINT.

Here is the call graph for this function:

static void RT_task_resume ( unsigned long  node,
int  port,
RT_TASK task 
) [inline, static]

Definition at line 901 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, RESUME, rt_task_resume(), rtai_lxrt(), SIZARG, SIZARGS, task, and VADR.

Here is the call graph for this function:

static void RT_task_suspend ( unsigned long  node,
int  port,
RT_TASK task 
) [inline, static]

Definition at line 890 of file rtai_netrpc.h.

References NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES1, rt_task_suspend(), rtai_lxrt(), SIZARG, SIZARGS, SUSPEND, task, and VADR.

Here is the call graph for this function:

static MBX* RT_typed_named_mbx_init ( unsigned long  node,
int  port,
const char *  mbx_name,
int  size,
int  qtype 
) [inline, static]

Definition at line 1351 of file rtai_netrpc.h.

References NAMED_MBX_INIT, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_typed_named_mbx_init(), rtai_lxrt(), RTAI_LXRT(), SIZARG, SIZARGS, and UINT.

Here is the call graph for this function:

static SEM* RT_typed_named_sem_init ( unsigned long  node,
int  port,
const char *  sem_name,
int  value,
int  type 
) [inline, static]

Definition at line 936 of file rtai_netrpc.h.

References NAMED_SEM_INIT, NET_RPC_EXT, NET_RPC_IDX, NETRPC, PACKPORT, PARTYPES3, rt_typed_named_sem_init(), rtai_lxrt(), RTAI_LXRT(), SINT, SIZARG, SIZARGS, and VADR.

Here is the call graph for this function:

static int rt_waiting_return ( unsigned long  node,
int  port 
) [inline, static]

Definition at line 833 of file rtai_netrpc.h.

References rtai_lxrt_t::i, LOW, NET_RPC_IDX, rtai_lxrt(), SIZARGS, and WAITING_RETURN.

Here is the call graph for this function:

static void* RTAI_LXRT ( int  port,
union rtai_lxrt_t  retval 
) [inline, static]

Definition at line 114 of file rtai_netrpc.h.

References kadr_ofst, LOW, PORT_MSK, rtai_lxrt_t::rt, RTE_OBJINV, and rtai_lxrt_t::v.

Referenced by RT_get_adr(), RT_rpc(), RT_rpc_if(), RT_rpc_timed(), RT_rpc_until(), RT_rpcx(), RT_rpcx_if(), RT_rpcx_timed(), RT_rpcx_until(), RT_send(), RT_send_if(), RT_send_timed(), RT_send_until(), RT_sendx(), RT_sendx_if(), RT_sendx_timed(), RT_sendx_until(), RT_typed_named_mbx_init(), and RT_typed_named_sem_init().


Variable Documentation

unsigned long long kadr_ofst[] [static]

Initial value:

 
    {0xFFFFC20000000000ULL, 0xFFFF810000000000ULL, 0xFFFFFFFF80000000ULL }

Definition at line 106 of file rtai_netrpc.h.

Referenced by reset_kadr(), and RTAI_LXRT().


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