Searched refs:header (Results 1 – 2 of 2) sorted by relevance
| /babblesim_base-latest/libPhyComv1/src/ |
| D | bs_pc_base.h | 23 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header, 67 BSIM_INLINE void pb_send_msg(int ff, pc_header_t header, in pb_send_msg() argument 71 write(ff, &header, sizeof(header)); in pb_send_msg() 84 #define INVALID_RESP(header) \ argument 86 ": Received invalid response %i\n", header)
|
| D | bs_pc_base.c | 368 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_disconnect_devices() local 371 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_disconnect_devices() 423 pc_header_t header = PB_MSG_WAIT_END; in pb_phy_resp_wait() local 424 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_resp_wait() 432 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_get_next_request() local 435 int n = read(this->ff_dtp[d], &header, sizeof(header)); in pb_phy_get_next_request() 436 if (n < sizeof(header)) { in pb_phy_get_next_request() 440 if ((header == PB_MSG_DISCONNECT) || (header == PB_MSG_TERMINATE)) { in pb_phy_get_next_request() 445 return header; in pb_phy_get_next_request() 527 pc_header_t header = PB_MSG_TERMINATE; in pb_dev_terminate() local [all …]
|