Lines Matching refs:raw_packet
54 fn unmarshal<B>(raw_packet: &mut B) -> Result<Self, util::Error> in unmarshal()
59 let raw_packet_len = raw_packet.remaining(); in unmarshal()
77 let b0 = raw_packet.get_u8(); in unmarshal()
88 let b1 = raw_packet.get_u8(); in unmarshal()
92 let sequence_number = raw_packet.get_u16(); in unmarshal()
93 let timestamp = raw_packet.get_u32(); in unmarshal()
94 let ssrc = raw_packet.get_u32(); in unmarshal()
98 csrc.push(raw_packet.get_u32()); in unmarshal()
106 let extension_profile = raw_packet.get_u16(); in unmarshal()
108 let extension_length = raw_packet.get_u16() as usize * 4; in unmarshal()
122 let b = raw_packet.get_u8(); in unmarshal()
139 payload: raw_packet.copy_to_bytes(len), in unmarshal()
148 let b = raw_packet.get_u8(); in unmarshal()
158 let len = raw_packet.get_u8() as usize; in unmarshal()
163 payload: raw_packet.copy_to_bytes(len), in unmarshal()
175 payload: raw_packet.copy_to_bytes(extension_length), in unmarshal()