Home
last modified time | relevance | path

Searched refs:filter (Results 1 – 25 of 137) sorted by relevance

123456

/openthread-3.4.0/tests/scripts/thread-cert/
Dv1_2_LowPower_7_2_01_ForwardTrackingSeries.py194 … .filter(lambda p: LinkMetricsSubTlvType.FORWARD_PROBING_REGISTRATION in p.mle.tlv.link_sub_tlv) \
195 .filter(lambda p: 4 in p.mle.tlv.link_forward_series) \
196 ….filter(lambda p: consts.LINK_METRICS_TYPE_AVERAGE_ENUM_COUNT in p.mle.tlv.metric_type_id_flags.ty…
197 ….filter(lambda p: consts.LINK_METRICS_METRIC_TYPE_ENUM_PDU_COUNT in p.mle.tlv.metric_type_id_flags…
198 .filter(lambda p: 1 in p.mle.tlv.metric_type_id_flags.l) \
205 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
212 .filter(lambda p: TlvType.LINK_METRICS_REPORT in p.mle.tlv.type) \
213 ….filter(lambda p: consts.LINK_METRICS_TYPE_AVERAGE_ENUM_COUNT in p.mle.tlv.metric_type_id_flags.ty…
214 ….filter(lambda p: consts.LINK_METRICS_METRIC_TYPE_ENUM_PDU_COUNT in p.mle.tlv.metric_type_id_flags…
224 … .filter(lambda p: LinkMetricsSubTlvType.FORWARD_PROBING_REGISTRATION in p.mle.tlv.link_sub_tlv) \
[all …]
Dv1_2_LowPower_7_1_02_SingleProbeLinkMetricsWithoutEnhancedAck.py209 … .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_QUERY_ID in p.mle.tlv.link_sub_tlv) \
210 .filter(lambda p: p.mle.tlv.query_id == 0) \
211 … .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_QUERY_OPTIONS in p.mle.tlv.link_sub_tlv) \
225 .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_REPORT in p.mle.tlv.link_sub_tlv) \
226 ….filter(lambda p: consts.LINK_METRICS_TYPE_AVERAGE_ENUM_EXPONENTIAL in p.mle.tlv.metric_type_id_fl…
227 ….filter(lambda p: consts.LINK_METRICS_METRIC_TYPE_ENUM_RSSI in p.mle.tlv.metric_type_id_flags.metr…
245 … .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_QUERY_ID in p.mle.tlv.link_sub_tlv) \
246 .filter(lambda p: p.mle.tlv.query_id == 0) \
247 … .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_QUERY_OPTIONS in p.mle.tlv.link_sub_tlv) \
261 .filter(lambda p: LinkMetricsSubTlvType.LINK_METRICS_REPORT in p.mle.tlv.link_sub_tlv) \
[all …]
Dv1_2_LowPower_7_1_01_SingleProbeLinkMetricsWithEnhancedAcks.py205 … .filter(lambda p: consts.LM_ENHANCED_ACK_CONFIGURATION_SUB_TLV in p.mle.tlv.link_sub_tlv) \
206 … .filter(lambda p: p.mle.tlv.link_enh_ack_flags == consts.LINK_METRICS_ENH_ACK_PROBING_REGISTER) \
207 .filter(lambda p: p.mle.tlv.link_requested_type_id_flags == '0a') \
216 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
234 … .filter(lambda p: consts.LM_ENHANCED_ACK_CONFIGURATION_SUB_TLV in p.mle.tlv.link_sub_tlv) \
235 … .filter(lambda p: p.mle.tlv.link_enh_ack_flags == consts.LINK_METRICS_ENH_ACK_PROBING_REGISTER) \
236 .filter(lambda p: p.mle.tlv.link_requested_type_id_flags == '0a0b') \
242 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
265 … .filter(lambda p: p.wpan.payload_ie.vendor.oui == consts.THREAD_IEEE_802154_COMPANY_ID) \
287 … .filter(lambda p: p.wpan.payload_ie.vendor.oui == consts.THREAD_IEEE_802154_COMPANY_ID) \
[all …]
DCert_5_8_04_SecurityPolicyTLV.py205 filter(lambda p: p.thread_meshcop.tlv.type is nullField).\
217 filter(lambda p: (p.thread_meshcop.tlv.sec_policy_rot == 3600 and
235 filter(lambda p: {
253 filter(lambda p: p.thread_meshcop.tlv.state == 1).\
264 filter(lambda p: NM_NETWORK_KEY_TLV in p.thread_meshcop.tlv.type).\
275 filter(lambda p: p.thread_meshcop.tlv.type is nullField).\
288 filter(lambda p: {
306 filter(lambda p: p.thread_meshcop.tlv.state == 1).\
313 filter(lambda p: p.thread_meshcop.tlv.discovery_rsp_n == 0).\
326 filter(lambda p: {
[all …]
DCert_8_1_01_Commissioning.py127 filter(lambda p:
153 filter(lambda p: {
173 filter(lambda p:
183 filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).\
193 filter(lambda p:
203 filter(lambda p:
216 filter(lambda p:
230 filter(lambda p: {
241 filter(lambda p:
250 filter(lambda p:
[all …]
DCert_8_1_06_Commissioning.py119 filter(lambda p: {
141 filter(lambda p:
151 filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).\
161 filter(lambda p:
171 filter(lambda p:
184 filter(lambda p:
198 filter(lambda p: {
209 filter(lambda p:
220 filter(lambda p:
233 filter(lambda p:
DCert_9_2_04_ActiveDataset.py210 … MGMT_ACTIVE_SET_URI).filter(lambda p: p.thread_meshcop.tlv.xpan_id == '000db70000000000' and p.
215 …_wpan_src64(LEADER).filter_ipv6_dst(COMMISSIONER_RLOC).filter_coap_ack(MGMT_ACTIVE_SET_URI).filter(
224 …MGMT_ACTIVE_GET_URI).filter(lambda p: p.thread_meshcop.tlv.active_tstamp == 101 and p.thread_meshc…
230 LEADER_RLOC, LEADER_ALOC).filter_coap_request(MGMT_ACTIVE_SET_URI).filter(
236 …_wpan_src64(LEADER).filter_ipv6_dst(COMMISSIONER_RLOC).filter_coap_ack(MGMT_ACTIVE_SET_URI).filter(
241 LEADER_RLOC, LEADER_ALOC).filter_coap_request(MGMT_ACTIVE_SET_URI).filter(
247 …_wpan_src64(LEADER).filter_ipv6_dst(COMMISSIONER_RLOC).filter_coap_ack(MGMT_ACTIVE_SET_URI).filter(
252 LEADER_RLOC, LEADER_ALOC).filter_coap_request(MGMT_ACTIVE_SET_URI).filter(
259 …_wpan_src64(LEADER).filter_ipv6_dst(COMMISSIONER_RLOC).filter_coap_ack(MGMT_ACTIVE_SET_URI).filter(
264 LEADER_RLOC, LEADER_ALOC).filter_coap_request(MGMT_ACTIVE_SET_URI).filter(
[all …]
DCert_8_3_01_CommissionerPetition.py123 filter(lambda p: {
146 filter(lambda p: {
157 filter(lambda p: {
186 filter(lambda p: {
201 filter(lambda p: {
218 filter(lambda p: {
240 filter(lambda p: {
250 filter(lambda p: {
280 filter(lambda p: {
303 filter(lambda p: {
[all …]
DCert_5_7_01_CoapDiagCommands.py222 filter(lambda p: {
239 filter(lambda p: {
263 filter(lambda p: {
272 filter(lambda p: {
288 filter(lambda p: {
297 filter(lambda p: p.thread_diagnostic.tlv.type is nullField).\
310 filter(lambda p: {
320 filter(lambda p: p.thread_diagnostic.tlv.type is nullField).\
334 filter(lambda p: {
345 filter(lambda p: {
[all …]
DCert_5_3_02_RealmLocal.py161 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
165 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
187 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
192 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
196 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
207 filter(lambda p: p.icmpv6.echo.sequence_number !=
227 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
232 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
236 filter(lambda p: p.icmpv6.data.len == FRAGMENTED_DATA_LEN).\
247 filter(lambda p: p.icmpv6.echo.sequence_number !=
[all …]
DCert_9_2_19_PendingDatasetGet.py134 filter(lambda p: p.coap.tlv.type is nullField).\
145 filter(lambda p: p.coap.tlv.type is nullField).\
161 filter(lambda p: {
181 filter(lambda p:
195 filter(lambda p: p.coap.tlv.type is nullField).\
218 filter(lambda p: {
244 filter(lambda p: {
259 filter(lambda p: {
277 filter(lambda p: p.coap.tlv.type is nullField).\
288 filter(lambda p: p.thread_meshcop.tlv.type is nullField).\
DCert_9_2_02_MGMTCommissionerSet.py155 filter(lambda p:
169 filter(lambda p:
185 filter(lambda p: {
201 filter(lambda p:
216 filter(lambda p: {
244 filter(lambda p: {
260 filter(lambda p:
277 filter(lambda p: {
295 filter(lambda p:
311 filter(lambda p: {
[all …]
DCert_5_1_05_RouterAddressTimeout.py116 filter(lambda p: {
133 filter(lambda p: {
161 filter(lambda p: {
177 filter(lambda p: {
195 filter(lambda p: {
208 filter(lambda p: {
227 filter(lambda p: {
253 filter(lambda p: {
269 filter(lambda p: {
287 filter(lambda p: {
[all …]
Dv1_2_LowPower_6_1_07_PreferringARouterOverAReed.py120 .filter(lambda p: p.mle.tlv.scan_mask.r == 1 and p.mle.tlv.scan_mask.e == 0) \
121 .filter(lambda p: p.mle.tlv.version >= config.THREAD_VERSION_1_2) \
122 .filter(lambda p: p.ipv6.hlim == 255) \
130 .filter(lambda p: p.mle.tlv.version == config.THREAD_VERSION_1_1) \
138 .filter(lambda p: p.mle.tlv.scan_mask.r == 1 and p.mle.tlv.scan_mask.e == 1) \
139 .filter(lambda p: p.mle.tlv.version >= consts.THREAD_VERSION_1_2) \
140 .filter(lambda p: p.ipv6.hlim == 255) \
155 .filter(lambda p: p.mle.tlv.version >= consts.THREAD_VERSION_1_2) \
DCert_5_3_06_RouterIdMask.py147 filter(lambda p:
160 filter(lambda p: {1,0,1} == set(p.mle.tlv.route64.cost)).\
165 filter(lambda p:
191 filter(lambda p: p.sniff_timestamp - _pkt.sniff_timestamp <= 4).\
198 filter(lambda p: {1,2,1} == set(p.mle.tlv.route64.cost) and\
210 filter(lambda p: {0, 0, 1} == set(p.mle.tlv.route64.cost)).\
215 filter(lambda p: {0, 1} == set(p.mle.tlv.route64.cost)).\
220 filter(lambda p:
Dv1_2_LowPower_test_forward_tracking_series.py131 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
138 ….filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SERIES_ID_ALREADY_RE…
146 ….filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SERIES_ID_NOT_RECOGN…
154 ….filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_NO_MATCHING_FRAMES_R…
161 ….filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SERIES_ID_NOT_RECOGN…
168 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
175 .filter(lambda p: p.mle.tlv.link_status_sub_tlv == consts.LINK_METRICS_STATUS_SUCCESS) \
188 .filter(lambda p: TlvType.LINK_METRICS_REPORT in p.mle.tlv.type) \
DCert_5_7_02_CoapDiagCommands.py253 filter(lambda p: dut_payload_tlvs == set(p.thread_diagnostic.tlv.type)).\
260 filter(lambda p:
277 filter(lambda p: {
286 filter(lambda p: {
303 filter(lambda p: {
326 filter(lambda p: {
347 filter(lambda p: {
370 filter(lambda p: {
379 filter(lambda p: {
404 filter(lambda p: dut_payload_tlvs == set(p.thread_diagnostic.tlv.type)).\
[all …]
DCert_8_1_02_Commissioning.py88 …_cpkts2.range(_cpkts.index).filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO]).mu…
92 …_cpkts2.index).filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_HELLO_VERIFY_REQUEST]).must_ne…
97 …_cpkts2.filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO]).must_next().must_verif…
101 _cpkts.filter(
106 …_cpkts2.filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE]).must_next().mus…
111 _cpkts.filter(
DCert_5_1_07_MaxChildCount.py195 filter(lambda p: {
208 filter(lambda p: {
224 filter(lambda p: {
238 filter(lambda p: {
256 p = _pkts.filter('wpan.dst16 == {rloc16}', rloc16=rloc16).\
259 _pkts.filter('wpan.dst16 == {rloc16}',
269 p = _pkts.filter('wpan.dst16 == {rloc16}', rloc16=rloc16).\
272 _pkts.filter('wpan.dst16 == {rloc16}',
/openthread-3.4.0/tests/scripts/thread-cert/pktverify/
Dpacket_filter.py148 def filter(self, func, cascade=True, **vars) -> 'PacketFilter': member in PacketFilter
179 return self.filter(*args, **kwargs)
366 filter(lambda p: tlv_set ==
378 return self.filter(attrgetter('coap'), **kwargs)
391 return self.filter(
407 return self.filter(
420 … confirmable=confirmable).filter('thread_bl.tlv.target_eid == {target}',
423 f = f.filter('thread_bl.tlv.ml_eid == {mliid}', mliid=mliid)
428 …urn self.filter_eth_src(eth_src).filter_coap_request('/b/bq', port=port, confirmable=False).filter(
438 return self.filter(attrgetter('wpan'), **kwargs)
[all …]
/openthread-3.4.0/tests/unit/
Dtest_child_table.cpp121 for (Child::StateFilter filter : kAllFilters) in VerifyChildTableContent() local
130 if (!StateMatchesFilter(aChildList[listIndex].mState, filter)) in VerifyChildTableContent()
135 child = aTable.FindChild(aChildList[listIndex].mRloc16, filter); in VerifyChildTableContent()
139 … aTable.FindChild(static_cast<const Mac::ExtAddress &>(aChildList[listIndex].mExtAddress), filter); in VerifyChildTableContent()
144 child = aTable.FindChild(address, filter); in VerifyChildTableContent()
149 child = aTable.FindChild(address, filter); in VerifyChildTableContent()
157 ChildTable::Iterator iter(*sInstance, filter); in VerifyChildTableContent()
204 VerifyOrQuit(aTable.GetNumChildren(filter) == numChildren); in VerifyChildTableContent()
205 VerifyOrQuit(aTable.HasChildren(filter) == (numChildren != 0)); in VerifyChildTableContent()
212 if (StateMatchesFilter(aChildList[index].mState, filter)) in VerifyChildTableContent()
[all …]
/openthread-3.4.0/tests/scripts/thread-cert/border_router/
Dtest_radvd_coexist.py155 .filter(lambda p: RA_OPT_TYPE_PIO in p.icmpv6.opt.type) \
161 .filter(lambda p: RA_OPT_TYPE_RIO in p.icmpv6.opt.type) \
162 … .filter(lambda p: p.icmpv6.nd.ra.router_lifetime == radvd_ra.icmpv6.nd.ra.router_lifetime) \
163 .filter(lambda p: p.icmpv6.nd.ra.retrans_timer == radvd_ra.icmpv6.nd.ra.retrans_timer) \
164 … .filter(lambda p: p.icmpv6.nd.ra.reachable_time == radvd_ra.icmpv6.nd.ra.reachable_time) \
171 .filter(lambda p: RA_OPT_TYPE_PIO in p.icmpv6.opt.type) \
172 .filter(lambda p: p.icmpv6.nd.ra.router_lifetime == 0) \
178 .filter(lambda p: RA_OPT_TYPE_RIO in p.icmpv6.opt.type) \
179 .filter(lambda p: p.icmpv6.nd.ra.router_lifetime == 0) \
180 .filter(lambda p: p.icmpv6.nd.ra.retrans_timer == 0) \
[all …]
/openthread-3.4.0/third_party/jlink/
DMakefile.am32 override CFLAGS := $(filter-out -Wundef,$(CFLAGS))
33 override CXXFLAGS := $(filter-out -Wundef,$(CXXFLAGS))
36 override CFLAGS := $(filter-out -Wcast-align,$(CFLAGS))
37 override CXXFLAGS := $(filter-out -Wcast-align,$(CXXFLAGS))
/openthread-3.4.0/third_party/tcplp/
DMakefile.am56 override CFLAGS := $(filter-out -Wsign-compare,$(CFLAGS))
60 override CFLAGS := $(filter-out -Wconversion,$(CFLAGS))
63 override CFLAGS := $(filter-out -Wcast-align,$(CFLAGS))
67 override CFLAGS := $(filter-out -Wunused-parameter,$(CFLAGS))
71 override CFLAGS := $(filter-out -Waddress-of-packed-member,$(CFLAGS))
75 override CFLAGS := $(filter-out -pedantic-errors,$(CFLAGS))
/openthread-3.4.0/tests/scripts/thread-cert/border_router/MATN/
DMATN_12_HopLimitProcessing.py169 .filter(lambda
179 .filter(lambda
195 .filter(
212 .filter(lambda p: p.ipv6inner.dst == MA2 and
221 .filter(lambda p: p.ipv6.hlim == 158) \
230 .filter(lambda p: p.ipv6inner.dst == MA2 and
239 .filter(lambda p: p.ipv6.hlim == 1) \
248 .filter(lambda p: p.ipv6inner.dst == MA2 and
264 .filter(lambda p: p.ipv6inner.dst == MA2 and

123456