Home
last modified time | relevance | path

Searched refs:head (Results 1 – 18 of 18) sorted by relevance

/net-tools-2.7.6/libcoap/include/coap/
Dutlist.h309 #define LL_PREPEND(head,add) \ argument
310 LL_PREPEND2(head,add,next)
312 #define LL_PREPEND2(head,add,next) \ argument
314 (add)->next = head; \
315 head = add; \
333 #define LL_APPEND(head,add) \ argument
334 LL_APPEND2(head,add,next)
336 #define LL_APPEND2(head,add,next) \ argument
338 LDECLTYPE(head) _tmp; \
340 if (head) { \
[all …]
Duthash.h103 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument
106 if (head) { \
108 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
109 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
110 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
150 #define HASH_MAKE_TABLE(hh,head) \ argument
152 (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \
154 if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \
155 memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \
156 (head)->hh.tbl->tail = &((head)->hh); \
[all …]
/net-tools-2.7.6/tinydtls-0.8.2/
Dutlist.h287 #define LL_PREPEND(head,add) \ argument
289 (add)->next = head; \
290 head = add; \
293 #define LL_APPEND(head,add) \ argument
295 LDECLTYPE(head) _tmp; \
297 if (head) { \
298 _tmp = head; \
302 (head)=(add); \
306 #define LL_DELETE(head,del) \ argument
308 LDECLTYPE(head) _tmp; \
[all …]
Duthash.h82 #define HASH_FIND(hh,head,keyptr,keylen,out) \ argument
86 if (head) { \
87 HASH_FCN(keyptr,keylen, (head)->hh.tbl->num_buckets, _hf_hashv, _hf_bkt); \
88 if (HASH_BLOOM_TEST((head)->hh.tbl, _hf_hashv)) { \
89 HASH_FIND_IN_BKT((head)->hh.tbl, hh, (head)->hh.tbl->buckets[ _hf_bkt ], \
128 #define HASH_MAKE_TABLE(hh,head) \ argument
130 (head)->hh.tbl = (UT_hash_table*)uthash_malloc( \
132 if (!((head)->hh.tbl)) { uthash_fatal( "out of memory"); } \
133 memset((head)->hh.tbl, 0, sizeof(UT_hash_table)); \
134 (head)->hh.tbl->tail = &((head)->hh); \
[all …]
Ddtls.c65 #define HASH_FIND_PEER(head,sess,out) \ argument
66 HASH_FIND(hh,head,sess,sizeof(session_t),out)
67 #define HASH_ADD_PEER(head,sess,add) \ argument
68 HASH_ADD(hh,head,sess,sizeof(session_t),add)
69 #define HASH_DEL_PEER(head,delptr) \ argument
70 HASH_DELETE(hh,head,delptr)
/net-tools-2.7.6/mbedtls-2.4.0/scripts/
Doutput_env.sh27 armcc --vsn | head -n 2
35 arm-none-eabi-gcc --version | head -n 1
43 gcc --version | head -n 1
51 clang --version | head -n 2
60 ldd --version | head -n 1
104 gnutls-cli --version | head -n 1
112 gnutls-serv --version | head -n 1
121 $GNUTLS_CLI --version | head -n 1
131 $GNUTLS_SERV --version | head -n 1
141 $GNUTLS_LEGACY_CLI --version | head -n 1
[all …]
Dfootprint.sh94 GIT_HEAD=$( git rev-parse HEAD | head -c 10 )
/net-tools-2.7.6/libcoap/examples/
Dcoap_list.c22 coap_insert(coap_list_t **head, coap_list_t *node) { in coap_insert() argument
28 LL_APPEND((*head), node); in coap_insert()
/net-tools-2.7.6/mbedtls-2.4.0/library/
Dx509_create.c89 int mbedtls_x509_string_to_names( mbedtls_asn1_named_data **head, const char *name ) in mbedtls_x509_string_to_names() argument
100 mbedtls_asn1_free_named_data_list( head ); in mbedtls_x509_string_to_names()
130 if( mbedtls_asn1_store_named_data( head, oid, strlen( oid ), in mbedtls_x509_string_to_names()
166 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len, in mbedtls_x509_set_extension() argument
171 if( ( cur = mbedtls_asn1_store_named_data( head, oid, oid_len, in mbedtls_x509_set_extension()
Dasn1write.c331 mbedtls_asn1_named_data *mbedtls_asn1_store_named_data( mbedtls_asn1_named_data **head, in mbedtls_asn1_store_named_data() argument
338 if( ( cur = mbedtls_asn1_find_named_data( *head, oid, oid_len ) ) == NULL ) in mbedtls_asn1_store_named_data()
366 cur->next = *head; in mbedtls_asn1_store_named_data()
367 *head = cur; in mbedtls_asn1_store_named_data()
Dasn1parse.c364 void mbedtls_asn1_free_named_data_list( mbedtls_asn1_named_data **head ) in mbedtls_asn1_free_named_data_list() argument
368 while( ( cur = *head ) != NULL ) in mbedtls_asn1_free_named_data_list()
370 *head = cur->next; in mbedtls_asn1_free_named_data_list()
Dssl_tls.c5725 static int ssl_append_key_cert( mbedtls_ssl_key_cert **head, in ssl_append_key_cert() argument
5740 if( *head == NULL ) in ssl_append_key_cert()
5742 *head = new; in ssl_append_key_cert()
5746 mbedtls_ssl_key_cert *cur = *head; in ssl_append_key_cert()
/net-tools-2.7.6/mbedtls-2.4.0/include/mbedtls/
Dx509.h306 int mbedtls_x509_string_to_names( mbedtls_asn1_named_data **head, const char *name );
307 int mbedtls_x509_set_extension( mbedtls_asn1_named_data **head, const char *oid, size_t oid_len,
Dasn1.h336 void mbedtls_asn1_free_named_data_list( mbedtls_asn1_named_data **head );
/net-tools-2.7.6/mbedtls-2.4.0/tests/scripts/
Dcheck-names.sh14 if grep --version|head -n1|grep GNU >/dev/null; then :; else
/net-tools-2.7.6/python-websocket-server/websocket_server/
Dwebsocket_server.py308 head, value = header.split(':', 1)
309 headers[head.lower().strip()] = value.strip()
/net-tools-2.7.6/mbedtls-2.4.0/programs/ssl/
Dssl_server2.c496 void sni_free( sni_entry *head ) in sni_free() argument
498 sni_entry *cur = head, *next; in sni_free()
689 void psk_free( psk_entry *head ) in psk_free() argument
693 while( head != NULL ) in psk_free()
695 next = head->next; in psk_free()
696 mbedtls_free( head ); in psk_free()
697 head = next; in psk_free()
/net-tools-2.7.6/
Dcoap-client.c637 static int coap_insert(coap_list_t **head, coap_list_t *node) in coap_insert() argument
642 LL_APPEND((*head), node); in coap_insert()