Lines Matching refs:SrtpProfileId
24 pub fn id(&self) -> SrtpProfileId {
25 SrtpProfileId::from_raw(unsafe { (*self.as_ptr()).id })
36 pub struct SrtpProfileId(c_ulong);
38 impl SrtpProfileId {
39 pub const SRTP_AES128_CM_SHA1_80: SrtpProfileId =
40 SrtpProfileId(ffi::SRTP_AES128_CM_SHA1_80 as c_ulong);
41 pub const SRTP_AES128_CM_SHA1_32: SrtpProfileId =
42 SrtpProfileId(ffi::SRTP_AES128_CM_SHA1_32 as c_ulong);
43 pub const SRTP_AES128_F8_SHA1_80: SrtpProfileId =
44 SrtpProfileId(ffi::SRTP_AES128_F8_SHA1_80 as c_ulong);
45 pub const SRTP_AES128_F8_SHA1_32: SrtpProfileId =
46 SrtpProfileId(ffi::SRTP_AES128_F8_SHA1_32 as c_ulong);
47 pub const SRTP_NULL_SHA1_80: SrtpProfileId = SrtpProfileId(ffi::SRTP_NULL_SHA1_80 as c_ulong);
48 pub const SRTP_NULL_SHA1_32: SrtpProfileId = SrtpProfileId(ffi::SRTP_NULL_SHA1_32 as c_ulong);
50 pub const SRTP_AEAD_AES_128_GCM: SrtpProfileId =
51 SrtpProfileId(ffi::SRTP_AEAD_AES_128_GCM as c_ulong);
53 pub const SRTP_AEAD_AES_256_GCM: SrtpProfileId =
54 SrtpProfileId(ffi::SRTP_AEAD_AES_256_GCM as c_ulong);
56 /// Creates a `SrtpProfileId` from an integer representation.
57 pub fn from_raw(value: c_ulong) -> SrtpProfileId {
58 SrtpProfileId(value)
61 /// Returns the integer representation of `SrtpProfileId`.