/openthread-latest/src/core/thread/ |
D | network_data_types.cpp | 83 uint16_t flags = 0; in ConvertToTlvFlags() local 87 flags |= BorderRouterEntry::kPreferredFlag; in ConvertToTlvFlags() 92 flags |= BorderRouterEntry::kSlaacFlag; in ConvertToTlvFlags() 97 flags |= BorderRouterEntry::kDhcpFlag; in ConvertToTlvFlags() 102 flags |= BorderRouterEntry::kConfigureFlag; in ConvertToTlvFlags() 107 flags |= BorderRouterEntry::kDefaultRouteFlag; in ConvertToTlvFlags() 112 flags |= BorderRouterEntry::kOnMeshFlag; in ConvertToTlvFlags() 117 flags |= BorderRouterEntry::kNdDnsFlag; in ConvertToTlvFlags() 123 flags |= BorderRouterEntry::kDpFlag; in ConvertToTlvFlags() 127 …flags |= (static_cast<uint16_t>(RoutePreferenceToValue(mPreference)) << BorderRouterEntry::kPrefer… in ConvertToTlvFlags() [all …]
|
/openthread-latest/third_party/tcplp/bsdtcp/ |
D | tcp_output.c | 116 int off, flags, error = 0; /* Keep compiler happy */ in tcp_output() local 178 flags = tcp_outflags[tp->t_state]; in tcp_output() 236 flags |= TH_FIN; in tcp_output() 238 flags |= TH_SYN; in tcp_output() 269 flags &= ~TH_FIN; in tcp_output() 338 if ((flags & TH_SYN) && SEQ_GT(tp->snd_nxt, tp->snd_una)) { in tcp_output() 340 flags &= ~TH_SYN; in tcp_output() 347 flags &= ~TH_SYN; in tcp_output() 356 if ((flags & TH_SYN) && (tp->t_flags & TF_NOOPT)) { in tcp_output() 358 flags &= ~TH_FIN; in tcp_output() [all …]
|
D | tcp_reass.c | 62 int flags = 0; in tcp_reass() local 100 flags = TH_FIN; in tcp_reass() 117 return flags; in tcp_reass() 129 int flags; 301 flags = q->tqe_th->th_flags & TH_FIN; 314 return (flags);
|
D | tcp_timewait.c | 121 tcp_twrespond(struct tcpcb* tp, int flags) in tcp_twrespond() argument 134 if ((tp->t_flags & TF_RCVD_TSTMP) && flags == TH_ACK) { in tcp_twrespond() 162 nth->th_flags = flags; in tcp_twrespond()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto_metadata.function | 72 /* Check that in the value of flags, the bit flag (which should be a macro 83 #define TEST_CLASSIFICATION_MACRO(cond, flag, alg, flags) \ 88 if ((flags) & (flag)) \ 119 void algorithm_classification(psa_algorithm_t alg, unsigned flags) 122 TEST_CLASSIFICATION_MACRO(1, ALG_IS_VENDOR_DEFINED, alg, flags); 123 TEST_CLASSIFICATION_MACRO(1, ALG_IS_HMAC, alg, flags); 124 TEST_CLASSIFICATION_MACRO(1, ALG_IS_BLOCK_CIPHER_MAC, alg, flags); 125 TEST_CLASSIFICATION_MACRO(1, ALG_IS_STREAM_CIPHER, alg, flags); 126 TEST_CLASSIFICATION_MACRO(1, ALG_IS_RSA_PKCS1V15_SIGN, alg, flags); 127 TEST_CLASSIFICATION_MACRO(1, ALG_IS_RSA_PSS, alg, flags); [all …]
|
D | test_suite_x509parse.function | 63 int verify_none(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags) 68 *flags |= MBEDTLS_X509_BADCERT_OTHER; 73 int verify_all(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags) 78 *flags = 0; 144 int verify_fatal(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags) 153 *flags |= (1 << certificate_depth); 201 int verify_print(void *data, mbedtls_x509_crt *crt, int certificate_depth, uint32_t *flags) 207 ((void) flags); 221 ret = mbedtls_snprintf(p, n, " - flags 0x%08x\n", *flags); 620 void x509_verify_info(int flags, char *prefix, char *result_str) [all …]
|
/openthread-latest/tools/tcat_ble_client/dataset/ |
D | dataset_entries.py | 348 rotation_time, flags, version_threshold = args + [None] * (3 - len(args)) 351 if flags: 352 self.out_of_band = 1 if 'o' in flags else 0 353 self.native = 1 if 'n' in flags else 0 354 self.routers_1_2 = 1 if 'r' in flags else 0 355 self.external_commissioners = 1 if 'c' in flags else 0 356 self.commercial_commissioning_off = 0 if 'C' in flags else 1 357 self.autonomous_enrollment_off = 0 if 'e' in flags else 1 358 self.networkkey_provisioning_off = 0 if 'p' in flags else 1 359 self.non_ccm_routers_off = 0 if 'R' in flags else 1 [all …]
|
/openthread-latest/tests/scripts/thread-cert/border_router/ |
D | test_manual_omr_prefix.py | 117 def _test_manual_omr_prefix(self, prefix, flags, expect_withdraw, prf='med'): argument 121 br2.add_prefix(prefix, flags, prf=prf) 125 is_omr_prefix = ('a' in flags and 'o' in flags and 's' in flags and 'D' not in flags)
|
/openthread-latest/src/core/net/ |
D | tcp6_ext.cpp | 66 uint32_t flags = 0; in Write() local 89 flags |= OT_TCP_SEND_MORE_TO_COME; in Write() 122 error = aEndpoint.SendByReference(dataSendLink, flags); in Write() 128 error = aEndpoint.SendByExtension(aLength, flags); in Write() 145 error = aEndpoint.SendByExtension(bytesUntilWrap, flags | OT_TCP_SEND_MORE_TO_COME); in Write() 156 error = aEndpoint.SendByReference(wrappedDataSendLink, flags); in Write()
|
/openthread-latest/third_party/mbedtls/repo/library/ |
D | x509_crt.c | 77 uint32_t flags; member 380 ver_chain->items[i].flags = (uint32_t) -1; in x509_crt_verify_chain_reset() 1901 uint32_t flags) in mbedtls_x509_crt_verify_info() argument 1909 if ((flags & cur->code) == 0) { in mbedtls_x509_crt_verify_info() 1915 flags ^= cur->code; in mbedtls_x509_crt_verify_info() 1918 if (flags != 0) { in mbedtls_x509_crt_verify_info() 2013 int flags = 0; in x509_crt_verifycrl() local 2023 return flags; in x509_crt_verifycrl() 2038 flags |= MBEDTLS_X509_BADCRL_NOT_TRUSTED; in x509_crt_verifycrl() 2046 flags |= MBEDTLS_X509_BADCRL_BAD_MD; in x509_crt_verifycrl() [all …]
|
D | ssl_debug_helpers.h | 54 unsigned int flags); 67 #define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags) \ argument 68 mbedtls_ssl_print_ticket_flags(ssl, level, __FILE__, __LINE__, flags) 78 #define MBEDTLS_SSL_PRINT_TICKET_FLAGS(level, flags) argument
|
D | padlock.c | 29 static int flags = -1; in mbedtls_padlock_has_support() local 32 if (flags == -1) { in mbedtls_padlock_has_support() 48 flags = edx; in mbedtls_padlock_has_support() 51 return flags & feature; in mbedtls_padlock_has_support()
|
D | entropy_poll.c | 83 static int getrandom_wrapper(void *buf, size_t buflen, unsigned int flags) in getrandom_wrapper() argument 91 return (int) syscall(SYS_getrandom, buf, buflen, flags); in getrandom_wrapper() 103 static int getrandom_wrapper(void *buf, size_t buflen, unsigned int flags) in getrandom_wrapper() argument 105 return (int) getrandom(buf, buflen, flags); in getrandom_wrapper()
|
D | psa_its_file.c | 59 uint8_t flags[sizeof(psa_storage_create_flags_t)]; member 102 p_info->flags = MBEDTLS_GET_UINT32_LE(header.flags, 0); in psa_its_read_file() 192 MBEDTLS_PUT_UINT32_LE(create_flags, header.flags, 0); in psa_its_set()
|
D | pk_ecc.c | 52 psa_key_usage_t flags; in mbedtls_pk_ecc_set_key() local 61 flags = PSA_KEY_USAGE_EXPORT; in mbedtls_pk_ecc_set_key() 65 flags = PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_SIGN_MESSAGE | in mbedtls_pk_ecc_set_key() 68 psa_set_key_usage_flags(&attributes, flags); in mbedtls_pk_ecc_set_key()
|
/openthread-latest/third_party/mbedtls/repo/scripts/mbedtls_dev/ |
D | crypto_knowledge.py | 548 flags = [] 550 flags = ['SIGN_HASH', 'SIGN_MESSAGE', 554 flags = ['DECRYPT', 'ENCRYPT'] 556 flags = ['VERIFY_HASH', 'VERIFY_MESSAGE'] 558 flags += ['SIGN_HASH', 'SIGN_MESSAGE'] 560 flags = ['ENCRYPT'] 562 flags += ['DECRYPT'] 565 flags = ['DERIVE'] 568 return ['PSA_KEY_USAGE_' + flag for flag in flags]
|
/openthread-latest/third_party/mbedtls/repo/programs/x509/ |
D | cert_app.c | 99 static int my_verify(void *data, mbedtls_x509_crt *crt, int depth, uint32_t *flags) in my_verify() argument 108 if ((*flags) == 0) { in my_verify() 111 mbedtls_x509_crt_verify_info(buf, sizeof(buf), " ! ", *flags); in my_verify() 131 uint32_t flags; in main() local 317 if ((ret = mbedtls_x509_crt_verify(&crt, &cacert, &cacrl, NULL, &flags, in main() 323 mbedtls_x509_crt_verify_info(vrfy_buf, sizeof(vrfy_buf), " ! ", flags); in main()
|
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/ |
D | x509_crt.h | 252 uint32_t MBEDTLS_PRIVATE(flags); 597 uint32_t flags); 673 const char *cn, uint32_t *flags, 715 const char *cn, uint32_t *flags, 749 const char *cn, uint32_t *flags, 815 const char *cn, uint32_t *flags,
|
/openthread-latest/third_party/mbedtls/repo/programs/ssl/ |
D | ssl_test_common_source.c | 323 uint32_t flags) in x509_crt_verify_info() argument 326 return mbedtls_x509_crt_verify_info(buf, size, prefix, flags); in x509_crt_verify_info() 334 if ((flags & err) != 0) \ in x509_crt_verify_info() 338 flags ^= err; \ in x509_crt_verify_info() 344 if (flags != 0) { in x509_crt_verify_info()
|
D | ssl_client1.c | 60 uint32_t flags; in main() local 193 if ((flags = mbedtls_ssl_get_verify_result(&ssl)) != 0) { in main() 201 mbedtls_x509_crt_verify_info(vrfy_buf, sizeof(vrfy_buf), " ! ", flags); in main()
|
D | dtls_client.c | 73 uint32_t flags; in main() local 222 if ((flags = mbedtls_ssl_get_verify_result(&ssl)) != 0) { in main() 230 mbedtls_x509_crt_verify_info(vrfy_buf, sizeof(vrfy_buf), " ! ", flags); in main()
|
/openthread-latest/src/core/common/ |
D | notifier.cpp | 208 Events::Flags flags = aEvents.GetAsFlags(); in LogEvents() local 215 VerifyOrExit(flags != 0); in LogEvents() 217 if (flags & (1 << bit)) in LogEvents() 231 flags ^= (1 << bit); in LogEvents()
|
/openthread-latest/third_party/tcplp/bsdtcp/cc/ |
D | cc_newreno.c | 93 (ccv->flags & CCF_CWND_LIMITED)) { in newreno_ack_received() 126 if (ccv->flags & CCF_ABC_SENTAWND) in newreno_ack_received() 127 ccv->flags &= ~CCF_ABC_SENTAWND; in newreno_ack_received()
|
/openthread-latest/src/ncp/ |
D | ncp_base_mtd.cpp | 84 uint8_t flags = 0; in BorderRouterConfigToFlagByte() local 88 flags |= SPINEL_NET_FLAG_PREFERRED; in BorderRouterConfigToFlagByte() 93 flags |= SPINEL_NET_FLAG_SLAAC; in BorderRouterConfigToFlagByte() 98 flags |= SPINEL_NET_FLAG_DHCP; in BorderRouterConfigToFlagByte() 103 flags |= SPINEL_NET_FLAG_DEFAULT_ROUTE; in BorderRouterConfigToFlagByte() 108 flags |= SPINEL_NET_FLAG_CONFIGURE; in BorderRouterConfigToFlagByte() 113 flags |= SPINEL_NET_FLAG_ON_MESH; in BorderRouterConfigToFlagByte() 116 flags |= (static_cast<uint8_t>(aConfig.mPreference) << SPINEL_NET_FLAG_PREFERENCE_OFFSET); in BorderRouterConfigToFlagByte() 118 return flags; in BorderRouterConfigToFlagByte() 123 uint8_t flags = 0; in BorderRouterConfigToFlagByteExtended() local [all …]
|
/openthread-latest/tools/harness-simulation/posix/sniffer_sim/ |
D | sniffer.py | 164 flags = fcntl.fcntl(fd, fcntl.F_GETFL) 165 if flags < 0: 168 flags |= os.O_NONBLOCK 169 if fcntl.fcntl(fd, fcntl.F_SETFL, flags) < 0:
|