• Home
  • Raw
  • Download

Lines Matching refs:underlayer

461         while fl.underlayer is not None:
463 fl = fl.underlayer
530 if isinstance(self.underlayer, IP):
531 ck = in4_chksum(socket.IPPROTO_TCP, self.underlayer, p)
533 …elif conf.ipv6_enabled and isinstance(self.underlayer, scapy.layers.inet6.IPv6) or isinstance(self…
534 ck = scapy.layers.inet6.in6_chksum(socket.IPPROTO_TCP, self.underlayer, p)
575 if isinstance(self.underlayer, IP):
576 … return self.underlayer.sprintf("TCP %IP.src%:%TCP.sport% > %IP.dst%:%TCP.dport% %TCP.flags%")
577 elif conf.ipv6_enabled and isinstance(self.underlayer, scapy.layers.inet6.IPv6):
578 … return self.underlayer.sprintf("TCP %IPv6.src%:%TCP.sport% > %IPv6.dst%:%TCP.dport% %TCP.flags%")
595 if isinstance(self.underlayer, IP):
596 ck = in4_chksum(socket.IPPROTO_UDP, self.underlayer, p)
601 …elif isinstance(self.underlayer, scapy.layers.inet6.IPv6) or isinstance(self.underlayer, scapy.lay…
602 ck = scapy.layers.inet6.in6_chksum(socket.IPPROTO_UDP, self.underlayer, p)
623 if isinstance(self.underlayer, IP):
624 return self.underlayer.sprintf("UDP %IP.src%:%UDP.sport% > %IP.dst%:%UDP.dport%")
625 elif isinstance(self.underlayer, scapy.layers.inet6.IPv6):
626 return self.underlayer.sprintf("UDP %IPv6.src%:%UDP.sport% > %IPv6.dst%:%UDP.dport%")
718 if isinstance(self.underlayer, IP):
719 return self.underlayer.sprintf("ICMP %IP.src% > %IP.dst% %ICMP.type% %ICMP.code%")
901 del(p[conf.padding_layer].underlayer.payload)
919 del(q[conf.padding_layer].underlayer.payload)
962 del(p[conf.padding_layer].underlayer.payload)
980 del(q[conf.padding_layer].underlayer.payload)