Lines Matching refs:layer
62 def GetAndClearChecksum(layer): argument
63 if not layer:
66 checksum = layer.chksum
67 del layer.chksum
69 checksum = layer.cksum
70 del layer.cksum
73 def GetChecksum(layer): argument
75 return layer.chksum
77 return layer.cksum
88 layer = packet.getlayer(name)
89 if layer and GetChecksum(layer) != sums[name]: