/netbsd/sys/net/npf/ |
H A D | npf_conn.c | 330 npf_conn_t *con; in npf_conn_lookup() local 351 return con; in npf_conn_lookup() 364 npf_conn_t *con; in npf_conn_inspect() local 375 return con; in npf_conn_inspect() 414 return con; in npf_conn_inspect() 432 npf_conn_t *con; in npf_conn_establish() local 536 npf_nat_destroy(con, con->c_nat); in npf_conn_destroy() 600 bk = npf_conn_getbackkey(con, con->c_alen); in npf_conn_setnat() 789 con = head; in npf_conndb_export() 790 while (con) { in npf_conndb_export() [all …]
|
H A D | npf_conndb.c | 168 npf_conn_t *con; in npf_conndb_lookup() local 194 return con; in npf_conndb_lookup() 264 npf_conn_t *con; in npf_conndb_update() local 267 while (con) { in npf_conndb_update() 270 con = next; in npf_conndb_update() 292 if (con == NULL || (con = LIST_NEXT(con, c_entry)) == NULL) { in npf_conndb_getnext() 295 return con; in npf_conndb_getnext() 307 npf_conn_t *con; in npf_conndb_gc_incr() local 345 con = next; in npf_conndb_gc_incr() 349 con = next; in npf_conndb_gc_incr() [all …]
|
H A D | npf_handler.c | 148 npf_conn_t *con; in npfk_packet_handler() local 174 con = NULL; in npfk_packet_handler() 207 if (con && npf_conn_pass(con, &mi, &rp)) { in npfk_packet_handler() 257 con = npf_conn_establish(&npc, di, in npfk_packet_handler() 259 if (con) { in npfk_packet_handler() 265 npf_conn_setpass(con, &mi, rp); in npfk_packet_handler() 276 error = npf_do_nat(&npc, con, di); in npfk_packet_handler() 284 if (con) { in npfk_packet_handler() 285 npf_conn_release(con); in npfk_packet_handler() 297 if (con) { in npfk_packet_handler() [all …]
|
H A D | npf_nat.c | 310 npf_conn_t *con = nt->nt_conn; in npf_natpolicy_destroy() local 311 KASSERT(con != NULL); in npf_natpolicy_destroy() 312 npf_conn_expire(con); in npf_natpolicy_destroy() 496 nt->nt_conn = con; in npf_nat_create() 655 nt = npf_nat_create(npc, np, con); in npf_nat_share_policy() 665 npf_nat_destroy(con, nt); in npf_nat_share_policy() 736 if (con && (nt = npf_nat_lookup(npc, con, di, &flow)) != NULL) { in npf_do_nat() 768 if (con == NULL) { in npf_do_nat() 774 con = ncon; in npf_do_nat() 797 npf_nat_destroy(con, nt); in npf_do_nat() [all …]
|
/netbsd/tests/usr.bin/xlint/lint1/ |
H A D | msg_169.c | 16 con = a + b << c; in confusing_shift_arith() 21 con = a << b + c; in confusing_shift_arith() 26 con = a - b >> c; in confusing_shift_arith() 31 con = a >> b - c; in confusing_shift_arith() 81 con = a | b ^ c; in confusing_bitwise() 86 con = a | b & c; in confusing_bitwise() 91 con = a ^ b | c; in confusing_bitwise() 96 con = a ^ b & c; in confusing_bitwise() 101 con = a & b | c; in confusing_bitwise() 131 unsigned con; in constant_expressions() local [all …]
|
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_ras.c | 436 if (!con) in amdgpu_ras_create_obj() 463 if (!con) in amdgpu_ras_find_obj() 556 if (!con) in amdgpu_ras_feature_enable() 603 if (!con) in amdgpu_ras_feature_enable_on_boot() 1367 if (!con || !con->eh_data || !bps || !count) in amdgpu_ras_badpages_read() 1490 if (!con || !con->eh_data) in amdgpu_ras_save_bad_pages() 1555 if (!con || !con->eh_data) in amdgpu_ras_check_bad_page() 1584 if (!con || !con->eh_data) in amdgpu_ras_reserve_bad_pages() 1626 if (!con || !con->eh_data) in amdgpu_ras_release_bad_pages() 1776 con->objs = (struct ras_manager *)(con + 1); in amdgpu_ras_init() [all …]
|
/netbsd/external/bsd/wpa/dist/wpa_supplicant/dbus/ |
H A D | dbus_common.c | 37 dbus_connection_dispatch(con); in dispatch_data() 53 DBusConnection *con = eloop_ctx; in dispatch_initial_dbus_messages() local 54 dispatch_data(con); in dispatch_initial_dbus_messages() 61 dbus_connection_ref(priv->con); in process_watch() 73 dispatch_data(priv->con); in process_watch() 77 dbus_connection_unref(priv->con); in process_watch() 210 dbus_connection_ref(priv->con); in process_wakeup_main() 285 if (priv->con) { in wpas_dbus_init_common() 313 priv->con, NULL); in wpas_dbus_init_common_finish() 321 if (priv->con) { in wpas_dbus_deinit_common() [all …]
|
H A D | dbus_new_helpers.c | 481 obj_desc->connection = iface->con; in wpa_dbus_ctrl_iface_init() 534 DBusConnection *con; in wpa_dbus_register_object_per_iface() local 545 con = ctrl_iface->con; in wpa_dbus_register_object_per_iface() 546 obj_desc->connection = con; in wpa_dbus_register_object_per_iface() 583 DBusConnection *con = ctrl_iface->con; in wpa_dbus_unregister_object_per_iface() local 683 dbus_connection_send(con, msg, NULL); in do_send_prop_changed_signal() 710 dbus_connection_send(con, msg, NULL); in do_send_deprecated_prop_changed_signal() 742 DBusConnection *con = eloop_ctx; in flush_object_timeout_handler() local 759 wpa_dbus_flush_object_changed_properties(con, path); in recursive_flush_changed_properties() 880 iface->con, obj_desc)) { in wpa_dbus_mark_property_changed() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | data.c | 225 gfc_constructor *con; in gfc_assign_data_value() local 321 if (!con) in gfc_assign_data_value() 325 if (con != NULL && mpz_cmp (con->offset, end) >= 0) in gfc_assign_data_value() 326 con = NULL; in gfc_assign_data_value() 331 if (con != NULL && con->expr != NULL) in gfc_assign_data_value() 356 mpz_sub (con->repeat, offset, con->offset); in gfc_assign_data_value() 382 con = next_con; in gfc_assign_data_value() 411 if (!con) in gfc_assign_data_value() 428 mpz_sub (con->repeat, con->repeat, offset); in gfc_assign_data_value() 461 if (con == NULL) in gfc_assign_data_value() [all …]
|
H A D | data.cc | 238 gfc_constructor *con; in gfc_assign_data_value() local 341 if (!con) in gfc_assign_data_value() 345 if (con != NULL && mpz_cmp (con->offset, end) >= 0) in gfc_assign_data_value() 346 con = NULL; in gfc_assign_data_value() 351 if (con != NULL && con->expr != NULL) in gfc_assign_data_value() 376 mpz_sub (con->repeat, offset, con->offset); in gfc_assign_data_value() 402 con = next_con; in gfc_assign_data_value() 431 if (!con) in gfc_assign_data_value() 448 mpz_sub (con->repeat, con->repeat, offset); in gfc_assign_data_value() 481 if (con == NULL) in gfc_assign_data_value() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | data.c | 225 gfc_constructor *con; in gfc_assign_data_value() local 321 if (!con) in gfc_assign_data_value() 325 if (con != NULL && mpz_cmp (con->offset, end) >= 0) in gfc_assign_data_value() 326 con = NULL; in gfc_assign_data_value() 331 if (con != NULL && con->expr != NULL) in gfc_assign_data_value() 356 mpz_sub (con->repeat, offset, con->offset); in gfc_assign_data_value() 382 con = next_con; in gfc_assign_data_value() 411 if (!con) in gfc_assign_data_value() 428 mpz_sub (con->repeat, con->repeat, offset); in gfc_assign_data_value() 461 if (con == NULL) in gfc_assign_data_value() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/apps/ |
H A D | s_server.c | 2333 SSL *con = NULL; in sv_body() local 2356 if (con == NULL) { in sv_body() 2554 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body() 2561 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body() 2812 if (con != NULL) { in sv_body() 2815 SSL_free(con); in sv_body() 3038 SSL *con; in www_body() local 3087 SSL_free(con); in www_body() 3093 SSL_free(con); in www_body() 3494 SSL *con; in rev_body() local [all …]
|
H A D | s_client.c | 786 SSL *con = NULL; in s_client_main() local 1945 con = SSL_new(ctx); in s_client_main() 1946 if (con == NULL) in s_client_main() 2138 SSL_set_bio(con, sbio, sbio); in s_client_main() 2139 SSL_set_connect_state(con); in s_client_main() 2726 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in s_client_main() 2731 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main() 2836 if (SSL_is_dtls(con) && DTLSv1_handle_timeout(con) > 0) in s_client_main() 3057 do_ssl_shutdown(con); in s_client_main() 3085 if (con != NULL) { in s_client_main() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/apps/ |
H A D | s_server.c | 2270 SSL *con = NULL; in sv_body() local 2292 con = SSL_new(ctx); in sv_body() 2293 if (con == NULL) { in sv_body() 2479 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body() 2486 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body() 2758 if (con != NULL) { in sv_body() 2761 SSL_free(con); in sv_body() 3000 SSL *con; in www_body() local 3040 SSL_free(con); in www_body() 3393 SSL *con; in rev_body() local [all …]
|
H A D | s_client.c | 886 SSL *con = NULL; in s_client_main() local 1990 con = SSL_new(ctx); in s_client_main() 1991 if (con == NULL) in s_client_main() 2169 SSL_set_bio(con, sbio, sbio); in s_client_main() 2170 SSL_set_connect_state(con); in s_client_main() 2774 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in s_client_main() 2779 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main() 2885 if (SSL_is_dtls(con) && DTLSv1_handle_timeout(con) > 0) in s_client_main() 3115 do_ssl_shutdown(con); in s_client_main() 3143 if (con != NULL) { in s_client_main() [all …]
|
/netbsd/crypto/external/bsd/openssl.old/dist/test/ |
H A D | servername_test.c | 87 SSL *con = NULL; in client_setup_sni_before_state() local 98 con = SSL_new(ctx); in client_setup_sni_before_state() 99 if (!TEST_ptr(con)) in client_setup_sni_before_state() 113 SSL_set_bio(con, rbio, wbio); in client_setup_sni_before_state() 127 SSL_free(con); in client_setup_sni_before_state() 135 SSL *con = NULL; in client_setup_sni_after_state() local 146 con = SSL_new(ctx); in client_setup_sni_after_state() 147 if (!TEST_ptr(con)) in client_setup_sni_after_state() 158 SSL_set_bio(con, rbio, wbio); in client_setup_sni_after_state() 159 SSL_set_connect_state(con); in client_setup_sni_after_state() [all …]
|
H A D | clienthellotest.c | 62 SSL *con = NULL; in test_client_hello() local 143 con = SSL_new(ctx); in test_client_hello() 144 if (!TEST_ptr(con)) in test_client_hello() 163 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello() 175 SSL_set_bio(con, rbio, wbio); in test_client_hello() 176 SSL_set_connect_state(con); in test_client_hello() 179 if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick, in test_client_hello() 184 if (!TEST_int_le(SSL_connect(con), 0)) { in test_client_hello() 242 SSL_free(con); in test_client_hello()
|
H A D | bad_dtls_test.c | 448 SSL *con = NULL; in test_bad_dtls() local 481 con = SSL_new(ctx); in test_bad_dtls() 482 if (!TEST_ptr(con) in test_bad_dtls() 494 SSL_set_bio(con, rbio, wbio); in test_bad_dtls() 510 SSL_set_connect_state(con); in test_bad_dtls() 513 ret = SSL_do_handshake(con); in test_bad_dtls() 520 ret = SSL_do_handshake(con); in test_bad_dtls() 527 ret = SSL_do_handshake(con); in test_bad_dtls() 530 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls() 533 ret = SSL_do_handshake(con); in test_bad_dtls() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/test/ |
H A D | servername_test.c | 100 SSL *con = NULL; in client_setup_sni_before_state() local 115 con = SSL_new(ctx); in client_setup_sni_before_state() 116 if (!TEST_ptr(con)) in client_setup_sni_before_state() 130 SSL_set_bio(con, rbio, wbio); in client_setup_sni_before_state() 144 SSL_free(con); in client_setup_sni_before_state() 152 SSL *con = NULL; in client_setup_sni_after_state() local 167 con = SSL_new(ctx); in client_setup_sni_after_state() 168 if (!TEST_ptr(con)) in client_setup_sni_after_state() 179 SSL_set_bio(con, rbio, wbio); in client_setup_sni_after_state() 180 SSL_set_connect_state(con); in client_setup_sni_after_state() [all …]
|
H A D | clienthellotest.c | 62 SSL *con = NULL; in test_client_hello() local 148 con = SSL_new(ctx); in test_client_hello() 149 if (!TEST_ptr(con)) in test_client_hello() 168 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello() 180 SSL_set_bio(con, rbio, wbio); in test_client_hello() 181 SSL_set_connect_state(con); in test_client_hello() 184 if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick, in test_client_hello() 189 if (!TEST_int_le(SSL_connect(con), 0)) { in test_client_hello() 247 SSL_free(con); in test_client_hello()
|
H A D | bad_dtls_test.c | 467 SSL *con = NULL; in test_bad_dtls() local 502 con = SSL_new(ctx); in test_bad_dtls() 503 if (!TEST_ptr(con) in test_bad_dtls() 515 SSL_set_bio(con, rbio, wbio); in test_bad_dtls() 531 SSL_set_connect_state(con); in test_bad_dtls() 534 ret = SSL_do_handshake(con); in test_bad_dtls() 541 ret = SSL_do_handshake(con); in test_bad_dtls() 548 ret = SSL_do_handshake(con); in test_bad_dtls() 551 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls() 554 ret = SSL_do_handshake(con); in test_bad_dtls() [all …]
|
/netbsd/sys/arch/arm/rockchip/ |
H A D | rk_i2c.c | 193 uint32_t con; in rk_i2c_start() local 198 con |= RKI2C_CON_START; in rk_i2c_start() 199 WR4(sc, RKI2C_CON, con); in rk_i2c_start() 204 con &= ~RKI2C_CON_START; in rk_i2c_start() 205 WR4(sc, RKI2C_CON, con); in rk_i2c_start() 213 uint32_t con; in rk_i2c_stop() local 218 con |= RKI2C_CON_STOP; in rk_i2c_stop() 219 WR4(sc, RKI2C_CON, con); in rk_i2c_stop() 224 con &= ~RKI2C_CON_STOP; in rk_i2c_stop() 238 uint32_t con; in rk_i2c_write() local [all …]
|
/netbsd/external/ibm-public/postfix/dist/src/tls/ |
H A D | tls_client.c | 295 SSL_SESSION *session = SSL_get_session(TLScontext->con); in uncache_session() 350 const char *peername = SSL_get0_peername(TLScontext->con); in verify_extract_name() 382 SSL *ssl = TLScontext->con; in add_namechecks() 541 if (SSL_dane_enable(TLScontext->con, 0) <= 0) { in tls_auth_enable() 557 if (SSL_dane_enable(TLScontext->con, 0) <= 0) { in tls_auth_enable() 570 if (SSL_dane_enable(TLScontext->con, NULL) <= 0) { in tls_auth_enable() 595 if (!SSL_set_tlsext_host_name(TLScontext->con, sni)) { in tls_auth_enable() 1071 SSL_set_security_level(TLScontext->con, 1); in tls_client_start() 1081 SSL_set_session(TLScontext->con, session); in tls_client_start() 1166 tls_set_bio_callback(SSL_get_rbio(TLScontext->con), 0); in tls_client_post_connect() [all …]
|
H A D | tls_server.c | 232 SSL_SESSION *session = SSL_get_session(TLScontext->con); in uncache_session() 304 static int ticket_cb(SSL *con, unsigned char name[], unsigned char iv[], in ticket_cb() argument 821 if ((TLScontext->con = (SSL *) SSL_new(app_ctx->ssl_ctx)) == 0) { in tls_server_start() 851 SSL_set_security_level(TLScontext->con, 1); in tls_server_start() 864 if (SSL_set_fd(TLScontext->con, props->stream == 0 ? props->fd : in tls_server_start() 933 tls_set_bio_callback(SSL_get_rbio(TLScontext->con), 0); in tls_server_post_accept() 939 TLScontext->session_reused = SSL_session_reused(TLScontext->con); in tls_server_post_accept() 948 peer = TLS_PEEK_PEER_CERT(TLScontext->con); in tls_server_post_accept() 951 if (SSL_get_verify_result(TLScontext->con) == X509_V_OK) in tls_server_post_accept() 1002 TLScontext->protocol = SSL_get_version(TLScontext->con); in tls_server_post_accept() [all …]
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | arm_cde.td | 64 def "" : CDEIntrinsic<u32, !con(cp, argsReg, argsImm), 67 !con((CDEIRInt<NAME # "a"> $cp, $acc), 71 CDEIntrinsic<u64, !con(cp, argsReg, argsImm), 76 CDEIntrinsic<u64, !con(cp, (args u64:$acc), argsReg, argsImm), 94 def "" : CDEIntrinsic<u32, !con(cp, argsReg32, argsImm), 95 (bitcast !con((CDEIRInt<NAME, [f32]> $cp), cgArgs, (? $imm)), 98 (bitcast !con((CDEIRInt<NAME # "a", [f32]> $cp, 102 def d : CDEIntrinsic<u64, !con(cp, argsReg64, argsImm), 106 (bitcast !con((CDEIRInt<NAME # "a", [f64]> $cp, 194 !con((args imm_coproc:$cp, Vector:$inactive_or_acc), [all …]
|