Searched refs:header (Results 1 – 2 of 2) sorted by relevance
/babblesim_base-3.7.0/libPhyComv1/src/ |
D | bs_pc_base.h | 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() 83 #define INVALID_RESP(header) \ argument 85 ": Received invalid response %i\n", header)
|
D | bs_pc_base.c | 339 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_disconnect_devices() local 342 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_disconnect_devices() 394 pc_header_t header = PB_MSG_WAIT_END; in pb_phy_resp_wait() local 395 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_resp_wait() 403 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_get_next_request() local 406 int n = read(this->ff_dtp[d], &header, sizeof(header)); in pb_phy_get_next_request() 407 if (n < sizeof(header)) { in pb_phy_get_next_request() 411 if ((header == PB_MSG_DISCONNECT) || (header == PB_MSG_TERMINATE)) { in pb_phy_get_next_request() 416 return header; in pb_phy_get_next_request() 496 pc_header_t header = PB_MSG_TERMINATE; in pb_dev_terminate() local [all …]
|