NewMadeleine

Documentation

« back to PM2 home.
nm_core_private.h File Reference

Private definitions for nmad core. More...

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

Go to the source code of this file.

Functions

void nm_core_post_send (struct nm_pkt_wrap_s *p_pw, nm_gate_t p_gate, nm_trk_id_t trk_id)
 
void nm_core_post_recv (struct nm_pkt_wrap_s *p_pw, nm_gate_t p_gate, nm_trk_id_t trk_id, nm_drv_t p_drv)
 
__PUK_SYM_INTERNAL void nm_core_driver_flush (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_core_driver_connect_wait_all (struct nm_core *p_core, struct nm_drv_s *p_drv)
 
__PUK_SYM_INTERNAL void nm_core_driver_close (struct nm_drv_s *p_drv)
 
__PUK_SYM_INTERNAL void nm_core_driver_destroy (struct nm_drv_s *p_drv)
 
__PUK_SYM_INTERNAL void nm_core_gate_destroy (struct nm_gate_s *p_gate)
 
__PUK_SYM_INTERNAL void nm_core_status_event (nm_core_t p_core, const struct nm_core_event_s *const p_event, struct nm_req_s *p_req)
 
__PUK_SYM_INTERNAL void nm_core_events_dispatch (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_so_schedule_clean (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_core_progress (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_core_task_flush (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_core_prefetch_progress (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_drv_refill_recv (nm_drv_t p_drv, nm_gate_t p_gate)
 
__PUK_SYM_INTERNAL void nm_core_gate_disconnect (struct nm_gate_s *p_gate)
 
__PUK_SYM_INTERNAL void nm_core_gate_disconnected (struct nm_core *p_core, nm_gate_t p_gate, nm_drv_t p_drv)
 
__PUK_SYM_INTERNAL void nm_core_matching_check (struct nm_core *p_core)
 
__PUK_SYM_INTERNAL void nm_core_unpack_unexpected (struct nm_core *p_core, struct nm_req_s **pp_unpack, struct nm_unexpected_s *p_unexpected)
 
__PUK_SYM_INTERNAL void nm_core_req_set_error (struct nm_core *p_core, struct nm_req_s *p_req, int err)
 
__PUK_SYM_INTERNAL void nm_pw_send_prefetch (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_send_unfetch (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_send_pkt_fill (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_send_trigger (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_send_post_default (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_send_complete_default (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_send_progress (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_send_post (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_send_poll (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_send_wait (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_process_complete_send (struct nm_core *p_core, struct nm_pkt_wrap_s *p_pw)
 Process a complete successful outgoing request.
 
__PUK_SYM_INTERNAL void nm_pw_recv_prefetch (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_recv_unfetch (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_recv_progress (struct nm_pkt_wrap_s *p_pw)
 
__PUK_SYM_INTERNAL void nm_pw_recv_wait (struct nm_pkt_wrap_s *p_pw)
 
void nm_pw_process_complete_recv (struct nm_core *p_core, struct nm_pkt_wrap_s *p_pw)
 Process complete incoming request.
 
__PUK_SYM_INTERNAL void nm_rtr_handler (struct nm_gate_s *p_gate, const struct nm_header_ctrl_rtr_s *p_header, const void *p_payload)
 
void nm_data_pkt_pack (struct nm_pkt_wrap_s *p_pw, nm_core_tag_t tag, nm_seq_t seq, const struct nm_data_s *p_data, nm_len_t chunk_offset, nm_len_t chunk_len, uint8_t flags)
 pack data from nm_data format to pkt format
 
void nm_data_pkt_unpack (const struct nm_data_s *p_data, const struct nm_header_pkt_data_s *h, const struct nm_pkt_wrap_s *p_pw, nm_len_t chunk_offset, nm_len_t chunk_len)
 unpack from pkt format to data format
 

Detailed Description

Private definitions for nmad core.

This file is not installed and not part of the public API.

Definition in file nm_core_private.h.

Function Documentation

◆ nm_core_driver_close()

__PUK_SYM_INTERNAL void nm_core_driver_close ( struct nm_drv_s p_drv)

◆ nm_core_driver_connect_wait_all()

__PUK_SYM_INTERNAL void nm_core_driver_connect_wait_all ( struct nm_core p_core,
struct nm_drv_s p_drv 
)

◆ nm_core_driver_destroy()

__PUK_SYM_INTERNAL void nm_core_driver_destroy ( struct nm_drv_s p_drv)

◆ nm_core_driver_flush()

__PUK_SYM_INTERNAL void nm_core_driver_flush ( struct nm_core p_core)

◆ nm_core_events_dispatch()

__PUK_SYM_INTERNAL void nm_core_events_dispatch ( struct nm_core p_core)

◆ nm_core_gate_destroy()

__PUK_SYM_INTERNAL void nm_core_gate_destroy ( struct nm_gate_s p_gate)

◆ nm_core_gate_disconnect()

__PUK_SYM_INTERNAL void nm_core_gate_disconnect ( struct nm_gate_s p_gate)

◆ nm_core_gate_disconnected()

__PUK_SYM_INTERNAL void nm_core_gate_disconnected ( struct nm_core p_core,
nm_gate_t  p_gate,
nm_drv_t  p_drv 
)

◆ nm_core_matching_check()

__PUK_SYM_INTERNAL void nm_core_matching_check ( struct nm_core p_core)

◆ nm_core_post_recv()

void nm_core_post_recv ( struct nm_pkt_wrap_s p_pw,
nm_gate_t  p_gate,
nm_trk_id_t  trk_id,
nm_drv_t  p_drv 
)

◆ nm_core_post_send()

void nm_core_post_send ( struct nm_pkt_wrap_s p_pw,
nm_gate_t  p_gate,
nm_trk_id_t  trk_id 
)

◆ nm_core_prefetch_progress()

__PUK_SYM_INTERNAL void nm_core_prefetch_progress ( struct nm_core p_core)

◆ nm_core_progress()

__PUK_SYM_INTERNAL void nm_core_progress ( struct nm_core p_core)

◆ nm_core_req_set_error()

__PUK_SYM_INTERNAL void nm_core_req_set_error ( struct nm_core p_core,
struct nm_req_s p_req,
int  err 
)

◆ nm_core_status_event()

__PUK_SYM_INTERNAL void nm_core_status_event ( nm_core_t  p_core,
const struct nm_core_event_s *const  p_event,
struct nm_req_s p_req 
)

◆ nm_core_task_flush()

__PUK_SYM_INTERNAL void nm_core_task_flush ( struct nm_core p_core)

Referenced by nm_core_task_enqueue().

◆ nm_core_unpack_unexpected()

__PUK_SYM_INTERNAL void nm_core_unpack_unexpected ( struct nm_core p_core,
struct nm_req_s **  pp_unpack,
struct nm_unexpected_s p_unexpected 
)

◆ nm_data_pkt_pack()

void nm_data_pkt_pack ( struct nm_pkt_wrap_s p_pw,
nm_core_tag_t  tag,
nm_seq_t  seq,
const struct nm_data_s p_data,
nm_len_t  chunk_offset,
nm_len_t  chunk_len,
uint8_t  flags 
)

pack data from nm_data format to pkt format

◆ nm_data_pkt_unpack()

void nm_data_pkt_unpack ( const struct nm_data_s p_data,
const struct nm_header_pkt_data_s h,
const struct nm_pkt_wrap_s p_pw,
nm_len_t  chunk_offset,
nm_len_t  chunk_len 
)

unpack from pkt format to data format

◆ nm_drv_refill_recv()

__PUK_SYM_INTERNAL void nm_drv_refill_recv ( nm_drv_t  p_drv,
nm_gate_t  p_gate 
)

◆ nm_pw_process_complete_recv()

void nm_pw_process_complete_recv ( struct nm_core p_core,
struct nm_pkt_wrap_s p_pw 
)

Process complete incoming request.

◆ nm_pw_process_complete_send()

void nm_pw_process_complete_send ( struct nm_core p_core,
struct nm_pkt_wrap_s p_pw 
)

Process a complete successful outgoing request.

◆ nm_pw_recv_prefetch()

__PUK_SYM_INTERNAL void nm_pw_recv_prefetch ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_recv_progress()

__PUK_SYM_INTERNAL void nm_pw_recv_progress ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_recv_unfetch()

__PUK_SYM_INTERNAL void nm_pw_recv_unfetch ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_recv_wait()

__PUK_SYM_INTERNAL void nm_pw_recv_wait ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_complete_default()

void nm_pw_send_complete_default ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_pkt_fill()

__PUK_SYM_INTERNAL void nm_pw_send_pkt_fill ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_poll()

void nm_pw_send_poll ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_post()

void nm_pw_send_post ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_post_default()

void nm_pw_send_post_default ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_prefetch()

__PUK_SYM_INTERNAL void nm_pw_send_prefetch ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_progress()

__PUK_SYM_INTERNAL void nm_pw_send_progress ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_trigger()

void nm_pw_send_trigger ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_unfetch()

__PUK_SYM_INTERNAL void nm_pw_send_unfetch ( struct nm_pkt_wrap_s p_pw)

◆ nm_pw_send_wait()

__PUK_SYM_INTERNAL void nm_pw_send_wait ( struct nm_pkt_wrap_s p_pw)

◆ nm_rtr_handler()

__PUK_SYM_INTERNAL void nm_rtr_handler ( struct nm_gate_s p_gate,
const struct nm_header_ctrl_rtr_s p_header,
const void *  p_payload 
)

◆ nm_so_schedule_clean()

__PUK_SYM_INTERNAL void nm_so_schedule_clean ( struct nm_core p_core)