/dports/security/tor-devel/tor-0.4.7.2-alpha/src/feature/relay/ |
H A D | circuitbuild_relay.c | 263 const channel_t *p_chan = CONST_TO_OR_CIRCUIT(circ)->p_chan; in circuit_extend_lspec_valid_helper() local 265 IF_BUG_ONCE(!p_chan) { in circuit_extend_lspec_valid_helper() 272 if (tor_memeq(ec->node_id, p_chan->identity_digest, DIGEST_LEN)) { in circuit_extend_lspec_valid_helper() 280 ed25519_pubkey_eq(&ec->ed_pubkey, &p_chan->ed25519_identity)) { in circuit_extend_lspec_valid_helper() 581 circ->p_chan, &cell, CELL_DIRECTION_IN, 0); in onionskin_answer() 589 if ((!channel_is_local(circ->p_chan) in onionskin_answer() 591 && !channel_is_outgoing(circ->p_chan)) { in onionskin_answer() 595 const tor_addr_t *my_supposed_addr = &circ->p_chan->addr_according_to_peer; in onionskin_answer() 605 if (channel_get_addr_if_possible(circ->p_chan, &remote_addr) && in onionskin_answer()
|
/dports/security/tor/tor-0.4.6.8/src/feature/relay/ |
H A D | circuitbuild_relay.c | 263 const channel_t *p_chan = CONST_TO_OR_CIRCUIT(circ)->p_chan; in circuit_extend_lspec_valid_helper() local 265 IF_BUG_ONCE(!p_chan) { in circuit_extend_lspec_valid_helper() 272 if (tor_memeq(ec->node_id, p_chan->identity_digest, DIGEST_LEN)) { in circuit_extend_lspec_valid_helper() 280 ed25519_pubkey_eq(&ec->ed_pubkey, &p_chan->ed25519_identity)) { in circuit_extend_lspec_valid_helper() 581 circ->p_chan, &cell, CELL_DIRECTION_IN, 0); in onionskin_answer() 589 if ((!channel_is_local(circ->p_chan) in onionskin_answer() 591 && !channel_is_outgoing(circ->p_chan)) { in onionskin_answer() 595 const tor_addr_t *my_supposed_addr = &circ->p_chan->addr_according_to_peer; in onionskin_answer() 605 if (channel_get_addr_if_possible(circ->p_chan, &remote_addr) && in onionskin_answer()
|
/dports/security/tor/tor-0.4.6.8/src/test/ |
H A D | test_circuitbuild.c | 701 or_circ->p_chan = p_chan; in test_circuit_extend_lspec_valid() 711 memset(p_chan->identity_digest, 0xAA, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 718 memset(p_chan->identity_digest, 0, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 722 memset(p_chan->identity_digest, 0xBB, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 773 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 783 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 793 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 807 memset(p_chan->identity_digest, 0, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 824 tor_free(p_chan); in test_circuit_extend_lspec_valid() 1383 or_circ->p_chan = p_chan; in test_circuit_extend() [all …]
|
H A D | fakecircs.c | 83 if (orcirc->p_chan && orcirc->p_chan->cmux) { in free_fake_orcirc() 84 circuitmux_detach_circuit(orcirc->p_chan->cmux, circ); in free_fake_orcirc()
|
H A D | test_controller_events.c | 149 channel_tls_t *n_chan=NULL, *p_chan=NULL; in test_cntev_format_cell_stats() local 193 p_chan = tor_malloc_zero(sizeof(channel_tls_t)); in test_cntev_format_cell_stats() 194 p_chan->base_.global_identifier = 2; in test_cntev_format_cell_stats() 200 or_circ->p_chan = &(p_chan->base_); in test_cntev_format_cell_stats() 234 tor_free(p_chan); in test_cntev_format_cell_stats()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/test/ |
H A D | test_circuitbuild.c | 701 or_circ->p_chan = p_chan; in test_circuit_extend_lspec_valid() 711 memset(p_chan->identity_digest, 0xAA, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 718 memset(p_chan->identity_digest, 0, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 722 memset(p_chan->identity_digest, 0xBB, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 773 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 783 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 793 memset(&p_chan->ed25519_identity, 0, sizeof(p_chan->ed25519_identity)); in test_circuit_extend_lspec_valid() 807 memset(p_chan->identity_digest, 0, sizeof(p_chan->identity_digest)); in test_circuit_extend_lspec_valid() 824 tor_free(p_chan); in test_circuit_extend_lspec_valid() 1383 or_circ->p_chan = p_chan; in test_circuit_extend() [all …]
|
H A D | fakecircs.c | 83 if (orcirc->p_chan && orcirc->p_chan->cmux) { in free_fake_orcirc() 84 circuitmux_detach_circuit(orcirc->p_chan->cmux, circ); in free_fake_orcirc()
|
H A D | test_controller_events.c | 149 channel_tls_t *n_chan=NULL, *p_chan=NULL; in test_cntev_format_cell_stats() local 193 p_chan = tor_malloc_zero(sizeof(channel_tls_t)); in test_cntev_format_cell_stats() 194 p_chan->base_.global_identifier = 2; in test_cntev_format_cell_stats() 200 or_circ->p_chan = &(p_chan->base_); in test_cntev_format_cell_stats() 234 tor_free(p_chan); in test_cntev_format_cell_stats()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/megaraid/ |
H A D | mega_common.h | 227 #define MRAID_GET_DEVICE_MAP(adp, scp, p_chan, target, islogical) \ argument 237 p_chan = 0xFF; \ 242 p_chan = ((adp)->device_ids[SCP2CHANNEL(scp)] \
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/megaraid/ |
H A D | mega_common.h | 227 #define MRAID_GET_DEVICE_MAP(adp, scp, p_chan, target, islogical) \ argument 237 p_chan = 0xFF; \ 242 p_chan = ((adp)->device_ids[SCP2CHANNEL(scp)] \
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/megaraid/ |
H A D | mega_common.h | 227 #define MRAID_GET_DEVICE_MAP(adp, scp, p_chan, target, islogical) \ argument 237 p_chan = 0xFF; \ 242 p_chan = ((adp)->device_ids[SCP2CHANNEL(scp)] \
|
/dports/net/hostapd/hostapd-2.9/src/common/ |
H A D | hw_features_common.c | 94 struct hostapd_channel_data *p_chan, *s_chan; in allowed_ht40_channel_pair() local 97 p_chan = hw_get_channel_chan(mode, pri_chan, NULL); in allowed_ht40_channel_pair() 98 if (!p_chan) in allowed_ht40_channel_pair() 102 if (chan_pri_allowed(p_chan)) in allowed_ht40_channel_pair() 121 (ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) || in allowed_ht40_channel_pair() 122 (!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) { in allowed_ht40_channel_pair()
|
/dports/security/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | hw_features_common.c | 94 struct hostapd_channel_data *p_chan, *s_chan; in allowed_ht40_channel_pair() local 97 p_chan = hw_get_channel_chan(mode, pri_chan, NULL); in allowed_ht40_channel_pair() 98 if (!p_chan) in allowed_ht40_channel_pair() 102 if (chan_pri_allowed(p_chan)) in allowed_ht40_channel_pair() 121 (ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) || in allowed_ht40_channel_pair() 122 (!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) { in allowed_ht40_channel_pair()
|
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/src/common/ |
H A D | hw_features_common.c | 94 struct hostapd_channel_data *p_chan, *s_chan; in allowed_ht40_channel_pair() local 97 p_chan = hw_get_channel_chan(mode, pri_chan, NULL); in allowed_ht40_channel_pair() 98 if (!p_chan) in allowed_ht40_channel_pair() 102 if (chan_pri_allowed(p_chan)) in allowed_ht40_channel_pair() 121 (ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) || in allowed_ht40_channel_pair() 122 (!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) { in allowed_ht40_channel_pair()
|
/dports/net/hostapd-devel/hostap-14ab4a816/src/common/ |
H A D | hw_features_common.c | 112 struct hostapd_channel_data *p_chan, in allowed_ht40_channel_pair() argument 121 if (!p_chan || !s_chan) in allowed_ht40_channel_pair() 123 pri_chan = p_chan->chan; in allowed_ht40_channel_pair() 129 if (chan_pri_allowed(p_chan)) in allowed_ht40_channel_pair() 139 pri_chan, p_chan->freq, sec_chan, s_chan->freq); in allowed_ht40_channel_pair() 144 (ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) || in allowed_ht40_channel_pair() 145 (!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) { in allowed_ht40_channel_pair()
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/common/ |
H A D | hw_features_common.c | 112 struct hostapd_channel_data *p_chan, in allowed_ht40_channel_pair() argument 121 if (!p_chan || !s_chan) in allowed_ht40_channel_pair() 123 pri_chan = p_chan->chan; in allowed_ht40_channel_pair() 129 if (chan_pri_allowed(p_chan)) in allowed_ht40_channel_pair() 139 pri_chan, p_chan->freq, sec_chan, s_chan->freq); in allowed_ht40_channel_pair() 144 (ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40P)) || in allowed_ht40_channel_pair() 145 (!ht40_plus && !(p_chan->allowed_bw & HOSTAPD_CHAN_WIDTH_40M))) { in allowed_ht40_channel_pair()
|
/dports/security/tor-devel/tor-0.4.7.2-alpha/src/core/or/ |
H A D | circuitlist.c | 253 chan_ptr = &c->p_chan; in circuit_set_circid_chan_helper() 457 channel_t *old_chan = or_circ->p_chan; in circuit_set_p_circid_chan() 1093 or_circuit_new(circid_t p_circ_id, channel_t *p_chan) in or_circuit_new() argument 1101 if (p_chan) in or_circuit_new() 1608 TO_OR_CIRCUIT(circ)->p_chan == chan)) { in circuit_unlink_all_from_channel() 1657 if (or_circ->p_chan == chan) { in circuit_unlink_all_from_channel() 2114 chan = or_circ->p_chan; in circuit_synchronize_written_or_bandwidth() 2261 if (or_circ->p_chan) { in circuit_about_to_free_atexit() 2341 if (or_circ->p_chan) { in circuit_about_to_free() 2344 if (!CHANNEL_CONDEMNED(or_circ->p_chan)) { in circuit_about_to_free() [all …]
|
H A D | or_circuit_st.h | 37 channel_t *p_chan; member
|
H A D | circuitmux.c | 604 if (TO_OR_CIRCUIT(circ)->p_chan) { in circuitmux_find_map_entry() 605 search.chan_id = TO_OR_CIRCUIT(circ)->p_chan->global_identifier; in circuitmux_find_map_entry() 756 chan = TO_OR_CIRCUIT(circ)->p_chan; 881 if (TO_OR_CIRCUIT(circ)->p_chan) { 882 search.chan_id = TO_OR_CIRCUIT(circ)->p_chan->global_identifier;
|
/dports/security/tor/tor-0.4.6.8/src/core/or/ |
H A D | circuitlist.c | 251 chan_ptr = &c->p_chan; in circuit_set_circid_chan_helper() 455 channel_t *old_chan = or_circ->p_chan; in circuit_set_p_circid_chan() 1091 or_circuit_new(circid_t p_circ_id, channel_t *p_chan) in or_circuit_new() argument 1099 if (p_chan) in or_circuit_new() 1604 TO_OR_CIRCUIT(circ)->p_chan == chan)) { in circuit_unlink_all_from_channel() 1653 if (or_circ->p_chan == chan) { in circuit_unlink_all_from_channel() 2110 chan = or_circ->p_chan; in circuit_synchronize_written_or_bandwidth() 2257 if (or_circ->p_chan) { in circuit_about_to_free_atexit() 2337 if (or_circ->p_chan) { in circuit_about_to_free() 2340 if (!CHANNEL_CONDEMNED(or_circ->p_chan)) { in circuit_about_to_free() [all …]
|
H A D | or_circuit_st.h | 37 channel_t *p_chan; member
|
H A D | circuitmux.c | 604 if (TO_OR_CIRCUIT(circ)->p_chan) { in circuitmux_find_map_entry() 605 search.chan_id = TO_OR_CIRCUIT(circ)->p_chan->global_identifier; in circuitmux_find_map_entry() 756 chan = TO_OR_CIRCUIT(circ)->p_chan; 881 if (TO_OR_CIRCUIT(circ)->p_chan) { 882 search.chan_id = TO_OR_CIRCUIT(circ)->p_chan->global_identifier;
|
H A D | relay.c | 197 if (BUG(!or_circ->p_chan)) in circuit_update_channel_usage() 200 if (!channel_is_client(or_circ->p_chan) || in circuit_update_channel_usage() 201 (channel_is_client(or_circ->p_chan) && circ->n_chan)) { in circuit_update_channel_usage() 204 or_circ->p_chan->channel_usage = CHANNEL_USED_FOR_FULL_CIRCS; in circuit_update_channel_usage() 207 or_circ->p_chan->channel_usage = CHANNEL_USED_FOR_USER_TRAFFIC; in circuit_update_channel_usage() 306 chan = TO_OR_CIRCUIT(circ)->p_chan; in circuit_receive_relay_cell() 413 chan = or_circ->p_chan; 1657 TO_OR_CIRCUIT(circ)->p_chan->dirreq_id = circ->dirreq_id; in handle_relay_cell_command() 2802 chan = or_circ->p_chan; in update_circuit_on_cmux_() 2975 tor_assert(or_circ->p_chan == chan); [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/applications/testapps/broadcaster/ |
H A D | RTP_serv_generator.h | 57 extern PNC_CallbackData* PNC_Init_SceneGenerator(GF_RTPChannel *p_chan, GF_RTPHeader *p_hdr, char *…
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/applications/testapps/broadcaster/ |
H A D | RTP_serv_generator.h | 57 extern PNC_CallbackData* PNC_Init_SceneGenerator(GF_RTPChannel *p_chan, GF_RTPHeader *p_hdr, char *…
|