Home
last modified time | relevance | path

Searched refs:ff (Results 1 – 3 of 3) sorted by relevance

/babblesim_base-3.7.0/libPhyComv1/src/
Dbs_pc_base.h21 void pb_send_payload(int ff, void *buf, size_t size);
22 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header,
66 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header, in pb_send_msg() argument
70 write(ff, &header, sizeof(header)); in pb_send_msg()
71 write(ff, s, s_size); in pb_send_msg()
Dbs_pc_backchannel.c52 int ff[2]; member
72 close(channels_status[i].ff[dir]); //Close FIFO in bs_clean_back_channels()
145 …if ( ( channels_status[i].ff[dir] = open(channels_status[i].ff_path[dir],O_RDONLY | O_NONBLOCK) ) … in bs_open_back_channel()
156 … if ( ( channels_status[i].ff[dir] = open(channels_status[i].ff_path[dir],O_WRONLY ) ) == -1 ) { in bs_open_back_channel()
162 int flags = fcntl(channels_status[i].ff[dir], F_GETFL); in bs_open_back_channel()
164 fcntl(channels_status[i].ff[dir], F_SETFL, flags); in bs_open_back_channel()
188 int bytes_written = write(channels_status[channel_id].ff[Out], message, size+4); in bs_bc_send_msg()
207 …int read_size = read(channels_status[channel_id].ff[In],&size32,sizeof(uint32_t)); //non blocking … in bs_bc_is_msg_received()
247 int read_size = read(channels_status[channel_id].ff[In],ptr,size); //Non-blocking read in bs_bc_receive_msg()
Dbs_pc_base.c100 void pb_send_payload(int ff, void *buf, size_t size) { in pb_send_payload() argument
105 write(ff, buf, size); in pb_send_payload()