| /webrtc/mdns/src/message/ |
| H A D | question.rs | 28 pub fn pack( in pack() method 34 msg = self.name.pack(msg, compression, compression_off)?; in pack() 35 msg = self.typ.pack(msg); in pack() 36 Ok(self.class.pack(msg)) in pack()
|
| H A D | mod.rs | 102 pub(crate) fn pack(&self, msg: Vec<u8>) -> Vec<u8> { in pack() method 146 pub(crate) fn pack(&self, msg: Vec<u8>) -> Vec<u8> { in pack() method 281 pub fn pack(&mut self) -> Result<Vec<u8>> { in pack() method 304 let (id, bits) = self.header.pack(); in append_pack() 321 let mut msg = h.pack(b); in append_pack() 334 msg = question.pack(msg, &mut compression, compression_off)?; in append_pack() 337 msg = answer.pack(msg, &mut compression, compression_off)?; in append_pack() 340 msg = authority.pack(msg, &mut compression, compression_off)?; in append_pack() 343 msg = additional.pack(msg, &mut compression, compression_off)?; in append_pack()
|
| H A D | builder.rs | 50 let (id, bits) = h.pack(); in new() 153 msg = q.pack(msg, &mut self.compression, self.start)?; in add_question() 182 let (mut msg, len_off) = r.header.pack(msg, &mut self.compression, self.start)?; in add_resource() 185 msg = body.pack(msg, &mut self.compression, self.start)?; in add_resource() 203 let buf = self.header.pack(vec![]); in finish()
|
| H A D | message_test.rs | 362 let buf = name.pack(buf, &mut compression, 0)?; in test_incompressible_name() 473 let b = want.pack(vec![], &mut None, 0)?; in test_srv_pack_unpack() 499 let b = want.pack()?; in test_dns_pack_unpack() 539 let buf = msg.pack()?; in test_skip_all() 562 let buf = msg.pack()?; in test_skip_each() 605 let buf = msg.pack()?; in test_skip_after_read() 738 if let Err(got) = msg.pack() { in test_too_many_records() 1043 let want = msg.pack()?; in test_builder() 1131 if let Err(err) = m.pack() { in test_resource_pack() 1154 let buf = r.pack(vec![], &mut None, 0)?; in test_resource_pack_length() [all …]
|
| H A D | header.rs | 34 pub fn pack(&self) -> (u16, u16) { in pack() method 121 pub(crate) fn pack(&self, mut msg: Vec<u8>) -> Vec<u8> { in pack() method
|
| H A D | name.rs | 40 pub fn pack( in pack() method
|
| /webrtc/mdns/src/message/resource/ |
| H A D | mod.rs | 62 pub fn pack( in pack() method 73 let (mut msg, len_off) = self.header.pack(msg, compression, compression_off)?; in pack() 76 msg = body.pack(msg, compression, compression_off)?; in pack() 145 pub fn pack( in pack() method 151 msg = self.name.pack(msg, compression, compression_off)?; in pack() 152 msg = self.typ.pack(msg); in pack() 153 msg = self.class.pack(msg); in pack() 240 fn pack( in pack() method
|
| H A D | ptr.rs | 23 fn pack( in pack() method 29 self.ptr.pack(msg, compression, compression_off) in pack()
|
| H A D | cname.rs | 22 fn pack( in pack() method 28 self.cname.pack(msg, compression, compression_off) in pack()
|
| H A D | ns.rs | 23 fn pack( in pack() method 29 self.ns.pack(msg, compression, compression_off) in pack()
|
| H A D | soa.rs | 44 fn pack( in pack() method 50 msg = self.ns.pack(msg, compression, compression_off)?; in pack() 51 msg = self.mbox.pack(msg, compression, compression_off)?; in pack()
|
| H A D | mx.rs | 29 fn pack( in pack() method 36 msg = self.mx.pack(msg, compression, compression_off)?; in pack()
|
| H A D | srv.rs | 31 fn pack( in pack() method 40 msg = self.target.pack(msg, &mut None, compression_off)?; in pack()
|
| H A D | a.rs | 22 fn pack( in pack() method
|
| H A D | aaaa.rs | 22 fn pack( in pack() method
|
| H A D | txt.rs | 27 fn pack( in pack() method
|
| H A D | opt.rs | 47 fn pack( in pack() method
|
| /webrtc/mdns/src/conn/ |
| H A D | mod.rs | 228 match msg.pack() { in send_question() 417 msg.pack()? in send_answer()
|
| /webrtc/sctp/src/association/ |
| H A D | association_internal.rs | 2070 fn pack(p: Packet) -> Vec<Packet> { in pack() method
|