Lines Matching refs:length
85 unpack_resource_body(self.header.typ, msg, off, self.header.length as usize)?; in unpack()
95 let (length, mut new_off) = unpack_uint16(msg, new_off)?; in skip()
96 new_off += length as usize; in skip()
128 pub length: u16, field
136 self.name, self.typ, self.class, self.ttl, self.length, in fmt()
156 msg = pack_uint16(msg, self.length); in pack()
168 self.length = l; in unpack()
189 self.length = con_len as u16; in fix_len()
247 fn unpack(&mut self, msg: &[u8], off: usize, length: usize) -> Result<usize>; in unpack()
254 length: usize, in unpack_resource_body()
270 off = rb.unpack(msg, off, length)?; in unpack_resource_body()