/uoscore-uedhoc-3.5.0/inc/ |
D | edhoc.h | 145 void *sock; /*pointer used as handler for sockets by tx/rx */ member 164 void *sock; /*pointer used as handler for sockets by tx/rx */ member 204 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), 205 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)); 231 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), 232 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)); 258 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), 259 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)); 291 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), 292 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len));
|
/uoscore-uedhoc-3.5.0/test/edhoc_integration_tests/ |
D | txrx_wrapper.h | 17 enum err rx(void *sock, uint8_t *data, uint32_t *data_len); 18 enum err tx(void *sock, uint8_t *data, uint32_t data_len);
|
D | txrx_wrapper.c | 25 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 60 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument
|
D | initiator_responder_interaction.c | 85 enum err tx_initiator(void *sock, uint8_t *data, uint32_t data_len) in tx_initiator() argument 95 enum err tx_responder(void *sock, uint8_t *data, uint32_t data_len) in tx_responder() argument 105 enum err rx_initiator(void *sock, uint8_t *data, uint32_t *data_len) in rx_initiator() argument 109 enum err rx_responder(void *sock, uint8_t *data, uint32_t *data_len) in rx_responder() argument 136 c_i.sock = NULL; in thread_initiator() 235 c_r.sock = NULL; in thread_responder()
|
/uoscore-uedhoc-3.5.0/samples/linux_edhoc/responder/src/ |
D | main.cpp | 93 static int send_coap_reply(void *sock, CoapPDU *pdu) in send_coap_reply() argument 97 r = sendto(*((int *)sock), pdu->getPDUPointer(), pdu->getPDULength(), 0, in send_coap_reply() 109 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 113 send_coap_reply(sock, txPDU); in tx() 117 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 125 n = recvfrom(*((int *)sock), (char *)buffer, sizeof(buffer), 0, in rx() 190 c_r.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/samples/zephyr_edhoc/initiator/src/ |
D | main.c | 45 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 69 ssize_t n = send(*((int *)sock), request.data, request.offset, 0); in tx() 85 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 94 n = recv(*((int *)sock), (char *)buffer, MAXLINE, MSG_WAITALL); in rx() 144 c_i.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/samples/zephyr_edhoc/responder/src/ |
D | main.c | 50 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 78 r = sendto(*((int *)sock), buffer, cp_ack.offset, 0, in tx() 89 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 104 n = recvfrom(*((int *)sock), (char *)buffer, sizeof(buffer), 0, in rx() 156 c_r.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/samples/linux_edhoc_oscore/responder_server/src/ |
D | main.cpp | 115 static int send_coap_reply(void *sock, CoapPDU *pdu) in send_coap_reply() argument 119 r = sendto(*(int *)sock, pdu->getPDUPointer(), pdu->getPDULength(), 0, in send_coap_reply() 131 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 135 send_coap_reply(sock, txPDU); in tx() 139 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 147 n = recvfrom(*(int *)sock, (char *)buffer, sizeof(buffer), 0, in rx() 275 c_r.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/samples/linux_edhoc/initiator/src/ |
D | main.cpp | 73 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 88 send(*((int *)sock), pdu->getPDUPointer(), pdu->getPDULength(), 0); in tx() 100 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 106 n = recv(*((int *)sock), (char *)buffer, MAXLINE, MSG_WAITALL); in rx() 154 c_i.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/src/edhoc/ |
D | initiator.c | 330 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), in edhoc_initiator_run_extended() argument 331 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)) in edhoc_initiator_run_extended() argument 337 TRY(tx(c->sock, rc.msg, rc.msg_len)); in edhoc_initiator_run_extended() 342 TRY(rx(c->sock, rc.msg, &rc.msg_len)); in edhoc_initiator_run_extended() 345 TRY(tx(c->sock, rc.msg, rc.msg_len)); in edhoc_initiator_run_extended() 350 TRY(rx(c->sock, rc.msg, &rc.msg_len)); in edhoc_initiator_run_extended() 363 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), in edhoc_initiator_run() argument 364 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)) in edhoc_initiator_run() argument
|
D | responder.c | 409 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), in edhoc_responder_run_extended() argument 410 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)) in edhoc_responder_run_extended() argument 418 TRY(rx(c->sock, rc.msg, &rc.msg_len)); in edhoc_responder_run_extended() 423 TRY(tx(c->sock, rc.msg, rc.msg_len)); in edhoc_responder_run_extended() 427 TRY(rx(c->sock, rc.msg, &rc.msg_len)); in edhoc_responder_run_extended() 436 TRY(tx(c->sock, rc.msg, rc.msg_len)); in edhoc_responder_run_extended() 448 enum err (*tx)(void *sock, uint8_t *data, uint32_t data_len), in edhoc_responder_run() argument 449 enum err (*rx)(void *sock, uint8_t *data, uint32_t *data_len)) in edhoc_responder_run() argument
|
/uoscore-uedhoc-3.5.0/samples/linux_edhoc_oscore/initiator_client/src/ |
D | main.cpp | 74 enum err tx(void *sock, uint8_t *data, uint32_t data_len) in tx() argument 89 send(*(int *)sock, pdu->getPDUPointer(), pdu->getPDULength(), 0); in tx() 101 enum err rx(void *sock, uint8_t *data, uint32_t *data_len) in rx() argument 107 n = recv(*(int *)sock, (char *)buffer, MAXLINE, MSG_WAITALL); in rx() 189 c_i.sock = &sockfd; in main()
|
/uoscore-uedhoc-3.5.0/ |
D | README.MD | 80 * @param sock a pointer used to identify the rx chanel, 85 enum err tx(void *sock, uint8_t *data, uint32_t data_len); 96 * @param sock a pointer used to identify the rx chanel, 103 enum err rx(void *sock, uint8_t *data, uint32_t *data_len);
|