Lines Matching refs:getlayer
508 = getlayer function
509 ~ basic getlayer IP ISAKMP UDP
514 x.getlayer(IP,3)
515 x.getlayer(IP,4)
520 x.getlayer(IP).id == 1 and x.getlayer(IP,3).id == 3 and
521 x.getlayer(IP,4) == None and
530 = getlayer with a filter
531 ~ getlayer IP
534 assert pkt.getlayer(IP, ttl=3).ttl == 3
536 = specific haslayer and getlayer implementations for NTP
537 ~ haslayer getlayer NTP
542 assert isinstance(pkt.getlayer(NTP), NTPHeader)
544 = specific haslayer and getlayer implementations for EAP
545 ~ haslayer getlayer EAP
550 assert isinstance(pkt.getlayer(EAP), EAP_MD5)
552 = specific haslayer and getlayer implementations for RadiusAttribute
553 ~ haslayer getlayer RadiusAttribute
558 assert isinstance(pkt.getlayer(RadiusAttribute), RadiusAttr_EAP_Message)
5422 assert d.getlayer(NetflowDataflowsetV9, templateID=257).records[0].fieldValue == b"\x01\x02\x03\x04"
5423 assert d.getlayer(NetflowDataflowsetV9, templateID=257).records[1].fieldValue == b"\x04\x03\x02\x01…
5425 assert d.getlayer(NetflowDataflowsetV9, templateID=258).records[0].fieldValue == b"\x01\x02\x03\x05"
5426 assert d.getlayer(NetflowDataflowsetV9, templateID=258).records[1].fieldValue == b"\x05\x03\x02\x01…
5934 assert pkt.an.getlayer(DNSRR, type=1).rrname == b'Freebox-Server-3.local.'
5935 assert pkt.an.getlayer(DNSRR, type=1).rdata == '192.168.0.254'
9022 assert pkt.getlayer(Dot11Elt, ID=0).info == b"Scapy"