Skip to main content

tcp_current_snd_seq

Function tcp_current_snd_seq 

Source
pub fn tcp_current_snd_seq(local_port: u16) -> Option<u32>
Expand description

現在のsnd_nxt(次に使われる送信シーケンス番号)を取得する。再送時に 「このデータを送った時点でのシーケンス番号」を正しく再利用するため、 呼び出し側がtcp_send_realの直前に取得しておく用途。