Searched refs:cookie_len (Results 1 – 12 of 12) sorted by relevance
/external/tcpdump/ |
D | print-juniper.c | 79 u_int8_t cookie_len; /* cookie len */ member 126 u_int8_t cookie_len; member 531 if (l2info.cookie_len == 0) { in juniper_mfr_print() 537 if (l2info.cookie_len == AS_PIC_COOKIE_LEN) { in juniper_mfr_print() 803 l2info->cookie_len = 0; in juniper_parse_header() 853 l2info->cookie_len += lp->cookie_len; in juniper_parse_header() 858 l2info->cookie_len += 2; in juniper_parse_header() 862 l2info->cookie_len = 8; in juniper_parse_header() 875 l2info->cookie_len = 0; in juniper_parse_header() 879 l2info->header_len += l2info->cookie_len; in juniper_parse_header() [all …]
|
/external/openssl/apps/ |
D | s_apps.h | 175 int MS_CALLBACK generate_cookie_callback(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len); 176 int MS_CALLBACK verify_cookie_callback(SSL *ssl, unsigned char *cookie, unsigned int cookie_len);
|
D | s_cb.c | 761 int MS_CALLBACK generate_cookie_callback(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len) in generate_cookie_callback() argument 844 *cookie_len = resultlength; in generate_cookie_callback() 849 int MS_CALLBACK verify_cookie_callback(SSL *ssl, unsigned char *cookie, unsigned int cookie_len) in verify_cookie_callback() argument 924 if (cookie_len == resultlength && memcmp(result, cookie, resultlength) == 0) in verify_cookie_callback()
|
/external/openssl/ssl/ |
D | d1_clnt.c | 844 if ( s->d1->cookie_len > sizeof(s->d1->cookie)) in dtls1_client_hello() 849 *(p++) = s->d1->cookie_len; in dtls1_client_hello() 850 memcpy(p, s->d1->cookie, s->d1->cookie_len); in dtls1_client_hello() 851 p += s->d1->cookie_len; in dtls1_client_hello() 908 unsigned int cookie_len; in dtls1_get_hello_verify() local 937 cookie_len = *(data++); in dtls1_get_hello_verify() 938 if ( cookie_len > sizeof(s->d1->cookie)) in dtls1_get_hello_verify() 944 memcpy(s->d1->cookie, data, cookie_len); in dtls1_get_hello_verify() 945 s->d1->cookie_len = cookie_len; in dtls1_get_hello_verify()
|
D | dtls1.h | 183 unsigned int cookie_len; member
|
D | d1_lib.c | 113 d1->cookie_len = sizeof(s->d1->cookie); in dtls1_new() 225 s->d1->cookie_len = sizeof(s->d1->cookie); in dtls1_clear()
|
D | s3_srvr.c | 917 unsigned int cookie_len; in ssl3_get_client_hello() local 1040 cookie_len = *(p++); in ssl3_get_client_hello() 1047 if ( cookie_len > sizeof(s->d1->rcvd_cookie)) in ssl3_get_client_hello() 1057 cookie_len > 0) in ssl3_get_client_hello() 1059 memcpy(s->d1->rcvd_cookie, p, cookie_len); in ssl3_get_client_hello() 1064 cookie_len) == 0) in ssl3_get_client_hello() 1074 s->d1->cookie_len) != 0) /* default verification */ in ssl3_get_client_hello() 1085 p += cookie_len; in ssl3_get_client_hello()
|
D | d1_srvr.c | 885 &(s->d1->cookie_len)) == 0) in dtls1_send_hello_verify_request() 891 *(p++) = (unsigned char) s->d1->cookie_len; in dtls1_send_hello_verify_request() 892 memcpy(p, s->d1->cookie, s->d1->cookie_len); in dtls1_send_hello_verify_request() 893 p += s->d1->cookie_len; in dtls1_send_hello_verify_request()
|
D | ssl_sess.c | 1155 int (*cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)) in SSL_CTX_set_cookie_generate_cb() argument 1161 int (*cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)) in SSL_CTX_set_cookie_verify_cb() argument
|
D | ssl.h | 853 unsigned int *cookie_len); 857 unsigned int cookie_len); 1037 …SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)); 1038 …L_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
|
/external/openssl/include/openssl/ |
D | dtls1.h | 183 unsigned int cookie_len; member
|
D | ssl.h | 853 unsigned int *cookie_len); 857 unsigned int cookie_len); 1037 …SSL_CTX *ctx, int (*app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)); 1038 …L_CTX *ctx, int (*app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len));
|