Searched refs:header (Results 1 – 2 of 2) sorted by relevance
/babblesim_base-3.4.0/libPhyComv1/src/ |
D | bs_pc_base.h | 22 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header, 62 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header, in pb_send_msg() argument 66 write(ff, &header, sizeof(header)); in pb_send_msg() 79 #define INVALID_RESP(header) \ argument 81 ": Received invalid response %i\n", header)
|
D | bs_pc_base.c | 338 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_disconnect_devices() local 341 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_disconnect_devices() 393 pc_header_t header = PB_MSG_WAIT_END; in pb_phy_resp_wait() local 394 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_resp_wait() 402 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_get_next_request() local 405 int n = read(this->ff_dtp[d], &header, sizeof(header)); in pb_phy_get_next_request() 406 if (n < sizeof(header)) { in pb_phy_get_next_request() 410 if ((header == PB_MSG_DISCONNECT) || (header == PB_MSG_TERMINATE)) { in pb_phy_get_next_request() 415 return header; in pb_phy_get_next_request() 495 pc_header_t header = PB_MSG_TERMINATE; in pb_dev_terminate() local [all …]
|