fn init_pkt<'a>(&self, pkt: &'a mut VsockPacket) -> &'a mut VsockPacket {
        pkt.set_src_cid(self.local_cid)
            .set_dst_cid(self.peer_cid)
            .set_src_port(self.local_port)
            .set_dst_port(self.peer_port)
            .set_type(uapi::VSOCK_TYPE_STREAM)
            .set_buf_alloc(defs::CONN_TX_BUF_SIZE)
            .set_fwd_cnt(self.fwd_cnt.0)
    }
/// Prepare a packet header for transmission to our peer.
Prepare a packet header for transmission to our peer.
Prepare a packet header for transmission to our peer .
fn init_pkt<'a>(&self, pkt: &'a mut VsockPacket) -> &'a mut VsockPacket {
        pkt.set_src_cid(self.local_cid)
            .set_dst_cid(self.peer_cid)
            .set_src_port(self.local_port)
            .set_dst_port(self.peer_port)
            .set_type(uapi::VSOCK_TYPE_STREAM)
            .set_buf_alloc(defs::CONN_TX_BUF_SIZE)
            .set_fwd_cnt(self.fwd_cnt.0)
    }
fn init_pkt < ' a > ( & self , pkt : & ' a mut VsockPacket ) -> & ' a mut VsockPacket { pkt . set_src_cid ( self . local_cid ) . set_dst_cid ( self . peer_cid ) . set_src_port ( self . local_port ) . set_dst_port ( self . peer_port ) . set_type ( uapi :: VSOCK_TYPE_STREAM ) . set_buf_alloc ( defs :: CONN_TX_BUF_SIZE ) . set_fwd_cnt ( self . fwd_cnt . 0 ) }
Prepare a packet header for transmission to our peer.
Prepare a packet header for transmission to our peer .
&self
pkt
&'a mut VsockPacket
&self
pkt
&'a mut VsockPacket