• Home
  • Raw
  • Download

Lines Matching refs:frame

417         frame = L2capMatchers._basic_frame(packet)
418 if frame.GetChannelId() != scid:
420 return frame
424 frame = L2capMatchers._basic_frame(packet)
425 if frame.GetChannelId() != scid:
427 frame = L2capMatchers._basic_frame_with_fcs(packet)
428 if frame is None:
430 return frame
472 frame = L2capMatchers._information_frame_with_fcs(packet)
474 frame = L2capMatchers._information_frame(packet)
475 if frame is None:
477 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
479 if payload is not None and frame.GetPayload().GetBytes() != payload:
481 if f is not None and frame.GetF() != f:
488 frame = L2capMatchers._information_start_frame_with_fcs(packet)
490 frame = L2capMatchers._information_start_frame(packet)
491 if frame is None:
493 if tx_seq is not None and frame.GetTxSeq() != tx_seq:
495 if payload is not None and frame.GetPayload().GetBytes() != payload:
497 if f is not None and frame.GetF() != f:
503 frame = L2capMatchers._supervisory_frame(packet)
504 if frame is None:
506 if req_seq is not None and frame.GetReqSeq() != req_seq:
508 if f is not None and frame.GetF() != f:
510 if s is not None and frame.GetS() != s:
512 if p is not None and frame.GetP() != p:
535 frame = L2capMatchers._control_frame(packet)
536 if frame is None or frame.GetCode() != code:
538 return frame
542 frame = L2capMatchers._le_control_frame(packet)
543 if frame is None or frame.GetCode() != code:
545 return frame
557 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.CONNECTION_REQUEST)
558 if frame is None:
560 request = l2cap_packets.ConnectionRequestView(frame)
565 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.CONNECTION_RESPONSE)
566 if frame is None:
568 response = l2cap_packets.ConnectionResponseView(frame)
574 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.CONFIGURATION_REQUEST)
575 if frame is None:
577 request = l2cap_packets.ConfigurationRequestView(frame)
583 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.CONFIGURATION_REQUEST)
584 if frame is None:
586 request = l2cap_packets.ConfigurationRequestView(frame)
593 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.CONFIGURATION_RESPONSE)
594 if frame is None:
596 response = l2cap_packets.ConfigurationResponseView(frame)
601 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.DISCONNECTION_REQUEST)
602 if frame is None:
604 request = l2cap_packets.DisconnectionRequestView(frame)
609 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.DISCONNECTION_RESPONSE)
610 if frame is None:
612 response = l2cap_packets.DisconnectionResponseView(frame)
617frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.DISCONNECTION_RESPONSE)
618 if frame is None:
620 response = l2cap_packets.LeDisconnectionResponseView(frame)
625frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.DISCONNECTION_REQUEST)
626 if frame is None:
628 request = l2cap_packets.LeDisconnectionRequestView(frame)
633frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.LE_FLOW_CONTROL_CREDIT)
634 if frame is None:
636 request = l2cap_packets.LeFlowControlCreditView(frame)
641 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.INFORMATION_REQUEST)
642 if frame is None:
644 request = l2cap_packets.InformationRequestView(frame)
651 frame = L2capMatchers.control_frame_with_code(packet, CommandCode.INFORMATION_RESPONSE)
652 if frame is None:
654 response = l2cap_packets.InformationResponseView(frame)
662 frame = L2capMatchers._information_response_with_type(packet,
664 if frame is None:
666 features = l2cap_packets.InformationResponseExtendedFeaturesView(frame)
679frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.CONNECTION_PARAMETER_UPDATE…
680 if frame is None:
682 return l2cap_packets.ConnectionParameterUpdateResponseView(frame).GetResult() == result
686frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.LE_CREDIT_BASED_CONNECTION_…
687 if frame is None:
689 request = l2cap_packets.LeCreditBasedConnectionRequestView(frame)
694frame = L2capMatchers.le_control_frame_with_code(packet, LeCommandCode.LE_CREDIT_BASED_CONNECTION_…
695 if frame is None:
697 response = l2cap_packets.LeCreditBasedConnectionResponseView(frame)