[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [WIP] DTLS 1.0 preliminary patches
From: |
Simon Josefsson |
Subject: |
Re: [WIP] DTLS 1.0 preliminary patches |
Date: |
Wed, 29 Jul 2009 21:16:37 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.96 (gnu/linux) |
Jonathan Bastien-Filiatrault <address@hidden> writes:
> Nikos Mavrogiannopoulos wrote:
>>> I was thinking more of a set_transport in the long run with a DGRAM or
>>> STREAM argument and with a transport protocol selector for UDP, SCTP,
>>> DCCP and UDP-Lite. I guess gnutls_init_dtls could take those arguments
>>> instead.
>>
>> You mean for setting different push/pull functions? Those could be in
>> predefined macros that are explicitly called.
>
> I was referring to DTLS over DCCP and SCTP having specific quirks (and
> specs, RFC5238 and draft-ietf-tsvwg-dtls-for-sctp-01). DTLS needs a
> way to be told it is using something other than UDP.
Ouch, I see. How about something like this:
typedef enum {
GNUTLS_DTLS_OVER_DCCP
} gnutls_dtls_flags_t;
int gnutls_init_dtls (gnutls_session_t * session,
gnutls_connection_end_t con_end,
gnutls_dtls_flags_t flags);
A "flags" concept is somewhat more generic since it allows for other
DTLS-flavors than just those influenced by the transport.
Another alternative is to use a priority string but I'm not sure it will
work -- there is the ordering of API calls problem I mentioned earlier.
/Simon
- Re: [WIP] DTLS 1.0 preliminary patches, (continued)
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Jonathan Bastien-Filiatrault, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Nikos Mavrogiannopoulos, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Nikos Mavrogiannopoulos, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Jonathan Bastien-Filiatrault, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Jonathan Bastien-Filiatrault, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches,
Simon Josefsson <=
- Re: [WIP] DTLS 1.0 preliminary patches, Jonathan Bastien-Filiatrault, 2009/07/29
- Re: [WIP] DTLS 1.0 preliminary patches, Simon Josefsson, 2009/07/30
[WIP] DTLS 1.0 preliminary patches, Jonathan Bastien-Filiatrault, 2009/07/28