Searched refs:fletcher16_checkbytes (Results 1 – 4 of 4) sorted by relevance
72 from scapy.utils import fletcher16_checkbytes719 checkbytes = fletcher16_checkbytes(pdu[cbegin:], (cpos - cbegin))
221 return fletcher16_checkbytes(b"\x00\x00" + lsa[2:], 16) # leave out age
331 def fletcher16_checkbytes(binbuf, offset): function
290 assert(fletcher16_checkbytes(b"\x28\x07", 1) == b"\xaf(")