Home Start Back Next End
  
121
p
=> pointer ke decoded packet struct
Parameter Output
:
-
Set option_ptr = o _list
While byte_yg_diproses < o_len
Case option_ptr
Case TCPOPT_NOP atau TCPOPT_EOL :
Berhenti proses mendecode
Case TCPOPT_SACKOK :
Proses option TCP
Case TCPOPT_WSCALE :
Proses option TCP
End Case
End While
End module DecodeTCPOptions
Modul
:
DecodeIPOptions (decode.c)
Fungsi
:
Modul untuk mendecode Oktet option dari header TCP
Memanggil modul
:
-
Dipanggil
modul
:
DecodeIP
Parameter Input
: o_list => ptr ke option list
o_len => panjang dari option list
p
=> pointer ke decoded packet struct
Parameter Output
:
-
Set option_ptr = o_list
While byte_yg_diproses < o_len
Case option_ptr
Case IPOPT_RTRALT atau IPOPT_NOP atau IPOPT_EOL :
Berhenti proses mendecode
else
End Case
End While
Proses option IP
End module DecodeIPOptions
Word to PDF Converter | Word to HTML Converter