Searched refs:SID_SIZE (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dsession_id.h48 #define SID_SIZE (sizeof (x_session_id_zero.id)) macro
54 return !memcmp (sid1->id, sid2->id, SID_SIZE);
60 return memcmp (sid1->id, &x_session_id_zero.id, SID_SIZE) != 0;
66 return buf_read (buf, sid->id, SID_SIZE);
72 return buf_write_prepend (buf, sid->id, SID_SIZE);
78 return buf_write (buf, sid->id, SID_SIZE);
H A Dsession_id.c56 prng_bytes (sid->id, SID_SIZE);
62 return format_hex (sid->id, SID_SIZE, 0, gc);
H A Dssl.c296 frame_add_to_extra_frame (frame, SID_SIZE + sizeof (packet_id_type));
1156 const int osid_size = 1 + SID_SIZE;
1261 buf_advance (buf, SID_SIZE + 1);
1454 + SID_SIZE * 2);
1461 ASSERT (buf_write (&seed, client_sid->id, SID_SIZE));
1463 ASSERT (buf_write (&seed, server_sid->id, SID_SIZE));
H A Dreliable.c191 #define ACK_SIZE(n) (sizeof (uint8_t) + ((n) ? SID_SIZE : 0) + sizeof (packet_id_type) * (n))

Completed in 54 milliseconds