/net-tools-3.4.0/libcoap/src/ |
D | coap_io_lwip.c | 14 void coap_packet_populate_endpoint(coap_packet_t *packet, coap_endpoint_t *target) in coap_packet_populate_endpoint() argument 18 void coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target) in coap_packet_copy_source() argument 20 target->port = packet->srcport; in coap_packet_copy_source() 23 void coap_packet_get_memmapped(coap_packet_t *packet, unsigned char **address, size_t *length) in coap_packet_get_memmapped() argument 25 …nly deal with contiguous PBUFs to read the initial details", packet->pbuf->tot_len == packet->pbuf… in coap_packet_get_memmapped() 26 *address = packet->pbuf->payload; in coap_packet_get_memmapped() 27 *length = packet->pbuf->tot_len; in coap_packet_get_memmapped() 29 void coap_free_packet(coap_packet_t *packet) in coap_free_packet() argument 31 if (packet->pbuf) in coap_free_packet() 32 pbuf_free(packet->pbuf); in coap_free_packet() [all …]
|
D | coap_io.c | 348 coap_packet_t *packet; in coap_malloc_packet() local 351 packet = (coap_packet_t *)coap_malloc(need); in coap_malloc_packet() 352 if (packet) { in coap_malloc_packet() 353 memset(packet, 0, need); in coap_malloc_packet() 355 return packet; in coap_malloc_packet() 359 coap_free_packet(coap_packet_t *packet) { in coap_free_packet() argument 360 coap_free(packet); in coap_free_packet() 370 coap_free_packet(coap_packet_t *packet) { in coap_free_packet() argument 371 coap_free_type(COAP_PACKET, packet); in coap_free_packet() 376 coap_get_max_packetlength(const coap_packet_t *packet UNUSED_PARAM) { in coap_get_max_packetlength() [all …]
|
D | mem.c | 64 coap_pdu_t packet; /* try to convince the compiler to word-align this structure */ member
|
D | net.c | 825 coap_packet_t *packet; in coap_read() local 832 bytes_read = ctx->network_read(ctx->endpoint, &packet); in coap_read() 839 result = coap_handle_message(ctx, packet); in coap_read() 843 coap_free_packet(packet); in coap_read() 850 coap_packet_t *packet) { in coap_handle_message() argument 861 coap_packet_get_memmapped(packet, &msg, &msg_len); in coap_handle_message() 883 node->pdu = coap_pdu_from_pbuf(coap_packet_extract_pbuf(packet)); in coap_handle_message() 898 coap_packet_populate_endpoint(packet, &node->local_if); in coap_handle_message() 899 coap_packet_copy_source(packet, &node->remote); in coap_handle_message()
|
/net-tools-3.4.0/libcoap/include/coap/ |
D | coap_io.h | 97 ssize_t coap_network_read(coap_endpoint_t *ep, coap_packet_t **packet); 106 void coap_free_packet(coap_packet_t *packet); 114 void coap_packet_populate_endpoint(coap_packet_t *packet, 120 void coap_packet_copy_source(coap_packet_t *packet, coap_address_t *target); 126 void coap_packet_get_memmapped(coap_packet_t *packet, 135 struct pbuf *coap_packet_extract_pbuf(coap_packet_t *packet);
|
D | net.h | 129 ssize_t (*network_read)(coap_endpoint_t *ep, coap_packet_t **packet); 380 coap_packet_t *packet);
|
/net-tools-3.4.0/ |
D | net-capture.py | 88 packet = eval(type)(data) 93 print('[%s] %s' % (hdr, packet.summary())) 95 wrpcap(pcap, packet, append=True)
|
D | coap-client.c | 595 static void print_data(const unsigned char *packet, int length) in print_data() argument 603 printf("%X ", *packet++); in print_data() 1073 coap_packet_t *packet; in read_data_from_net() local 1521 coap_packet_t **packet) in my_coap_network_read() argument
|
/net-tools-3.4.0/mbedtls-2.4.0/programs/test/ |
D | udp_proxy.c | 298 } packet; typedef 301 void print_packet( const packet *p, const char *why ) in print_packet() 312 int send_packet( const packet *p, const char *why ) in send_packet() 357 static packet prev; 361 memset( &prev, 0, sizeof( packet ) ); in clear_pending() 377 void update_dropped( const packet *p ) in update_dropped() 406 packet cur; in handle_message() 448 memcpy( &prev, &cur, sizeof( packet ) ); in handle_message() 460 memset( &prev, 0, sizeof( packet ) ); in handle_message()
|
/net-tools-3.4.0/tinydtls-0.8.2/ |
D | debug.h | 94 void hexdump(const unsigned char *packet, int length); 116 static inline void hexdump(const unsigned char *packet, int length) in hexdump() argument
|
D | debug.c | 252 void hexdump(const unsigned char *packet, int length) { in hexdump() argument 259 printf("%02X ", *packet++); in hexdump()
|
D | crypto.c | 268 const unsigned char *packet, size_t length, in dtls_mac() argument 277 dtls_hmac_update(hmac_ctx, packet, length); in dtls_mac()
|
D | crypto.h | 241 const unsigned char *packet, size_t length,
|
D | dtls.c | 2877 decrypt_verify(dtls_peer_t *peer, uint8 *packet, size_t length, in decrypt_verify() argument 2880 dtls_record_header_t *header = DTLS_RECORD_HEADER(packet); in decrypt_verify() 2884 *cleartext = (uint8 *)packet + sizeof(dtls_record_header_t); in decrypt_verify() 2926 memcpy(A_DATA, &DTLS_RECORD_HEADER(packet)->epoch, 8); /* epoch and seq_num */ in decrypt_verify() 2927 memcpy(A_DATA + 8, &DTLS_RECORD_HEADER(packet)->content_type, 3); /* type and version */ in decrypt_verify()
|
/net-tools-3.4.0/libcoap/ |
D | README | 10 power, RF range, memory, bandwith, or network packet sizes. This
|
D | README.md | 10 power, RF range, memory, bandwith, or network packet sizes. This
|
/net-tools-3.4.0/virtual-hub/ |
D | README.md | 32 When building the matrix you can simulate packet drop rate:
|
/net-tools-3.4.0/mbedtls-2.4.0/ |
D | ChangeLog | 763 * Stricter check on SSL ClientHello internal sizes compared to actual packet 1256 * Stricter check on SSL ClientHello internal sizes compared to actual packet
|