protocols
const int protocols[] = {
OPENSSL_assert(tst >= 0 && (size_t)tst < OSSL_NELEM(protocols));
SSL_CTX_set_max_proto_version(cctx, protocols[tst]);
SSL_CTX_set_min_proto_version(cctx, protocols[tst]);
if ((protocols[tst] < TLS1_2_VERSION) && (!SSL_CTX_set_cipher_list(cctx, "DEFAULT:@SECLEVEL=0") || !SSL_CTX_set_cipher_list(sctx, "DEFAULT:@SECLEVEL=0")))
protocols, (void *)nss_lt_id,
NSS_MP_CACHE_HANDLING(protocols);
protocols, (void *)nss_lt_all,
protocols, (void *)nss_lt_all,
protocols, (void *)nss_lt_all,
protocols, (void *)nss_lt_name,
for (l = protocols; l; l = l->next)
for (i = 0, l = protocols; l; l = l->next) {
for (l = protocols; l; l = l->next) {
p->next = protocols;
protocols = p;
for (p = protocols, prev = NULL; p != NULL; prev = p, p = p->next) {
protocols = p->next;
static struct protocol *protocols;
static char **protocols = NULL;
if (protocols != NULL) {
if (protocols[i] != NULL) {
free(protocols[i]);
protocols[i] = NULL;
free(protocols);
protocols = NULL;
protocols = (char **)malloc(256 * sizeof(*protocols));
if (protocols != NULL) {
bzero((char *)protocols, 256 * sizeof(*protocols));
p->p_name != NULL && protocols[p->p_proto] == NULL)
protocols[p->p_proto] = strdup(p->p_name);
if (protocols[0])
free(protocols[0]);
protocols[0] = strdup("ip");
s = protocols ? protocols[p] : NULL;
EFI_GUID **protocols = NULL;
status = BS->ProtocolsPerHandle(handle, &protocols, &nproto);
if (efi_guid_to_name(protocols[j], &name) == true) {
BS->FreePool(protocols);
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T *protocols)
protocols);
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
SMP_DISCOVER_RESPONSE_PROTOCOLS_T protocols;
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
SMP_DISCOVER_RESPONSE_PROTOCOLS_T * protocols
scic_sds_phy_get_protocols(this_phy, &properties->transmit_iaf.protocols);
if (identify_frame->protocols.u.bits.smp_target)
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
protocols->u.bits.smp_target = 1;
protocols->u.bits.stp_target = 1;
protocols->u.bits.ssp_target = 1;
protocols->u.bits.smp_initiator = 1;
protocols->u.bits.stp_initiator = 1;
protocols->u.bits.ssp_initiator = 1;
this_phy, protocols->u.all
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
this_phy, protocols, protocols->u.all
protocols->u.all = 0;
protocols->u.all =
this_phy->phy_type.sas.identify_address_frame_buffer.protocols.u.all;
protocols->u.bits.stp_target = 1;
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
scic_sds_phy_get_attached_phy_protocols(the_phy, &protocols);
if (!protocols.u.bits.stp_target)
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
scic_sds_phy_get_attached_phy_protocols(the_phy, &protocols);
&& (protocols.u.bits.stp_target)
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
this_port, protocols
protocols->u.all = 0;
scic_sds_phy_get_protocols(this_port->phy_table[index], protocols);
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
scic_sds_phy_get_attached_phy_protocols(phy, &protocols);
if (!protocols.u.bits.stp_target)
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
this_port, protocols
scic_sds_phy_get_attached_phy_protocols(phy, protocols);
protocols->u.all = 0;
scic_sds_port_get_protocols(this_port, &properties->local.protocols);
scic_sds_port_get_attached_protocols(this_port, &properties->remote.protocols);
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T protocols;
scic_sds_port_get_attached_protocols(this_device->owning_port,&protocols);
this_device->target_protocols.u.all = protocols.u.all;
this_device->target_protocols.u.all = discover_response->protocols.u.all;
SMP_DISCOVER_RESPONSE_PROTOCOLS_T * protocols
protocols->u.all = this_device->target_protocols.u.all;
SMP_DISCOVER_RESPONSE_PROTOCOLS_T protocols;
scic_remote_device_get_protocols(rnc->device, &protocols);
(protocols.u.bits.attached_stp_target == 1)
SMP_DISCOVER_RESPONSE_PROTOCOLS_T protocols;
scic_remote_device_get_protocols(this_rnc->device, &protocols);
(protocols.u.bits.attached_stp_target == 1)
if (this_smp_response->response.discover.protocols.u.bits.attached_sata_device
&& !this_smp_response->response.discover.protocols.u.bits.attached_stp_target)
this_smp_response->response.discover.protocols.u.bits.attached_stp_target = 1;
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
&properties.remote.protocols
if(properties.remote.protocols.u.bits.smp_target)
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
remote_device, sas_address, protocols
if (protocols->u.bits.stp_target)
else if (protocols->u.bits.smp_target)
if (smp_response->protocols.u.bits.attached_smp_target)
else if (smp_response->protocols.u.bits.attached_stp_target)
SMP_DISCOVER_RESPONSE_PROTOCOLS_T protocols;
scic_remote_device_get_protocols(fw_device->core_object, &protocols);
if (protocols.u.bits.attached_stp_target)
if ( discover_response->protocols.u.bits.attached_smp_target )
&& ( discover_response->protocols.u.bits.attached_ssp_target
|| discover_response->protocols.u.bits.attached_stp_target
|| discover_response->protocols.u.bits.attached_smp_target
|| discover_response->protocols.u.bits.attached_sata_device ) )
&& discover_response->protocols.u.bits.attached_ssp_target
if ( discover_response->protocols.u.bits.attached_smp_target
if ( discover_response->protocols.u.bits.attached_ssp_target
|| discover_response->protocols.u.bits.attached_smp_target)
else if ( (discover_response->protocols.u.bits.attached_stp_target)
|| (discover_response->protocols.u.bits.attached_sata_device) )
discover_response->protocols.u.bits.attached_stp_target = 1;
&&(discover_response->protocols.u.bits.attached_stp_target
|| discover_response->protocols.u.bits.attached_sata_device)
discover_response->protocols.u.bits.attached_stp_target = 1;
&& ( discover_response->protocols.u.bits.attached_stp_target
||discover_response->protocols.u.bits.attached_sata_device )
SCI_SAS_IDENTIFY_ADDRESS_FRAME_PROTOCOLS_T * protocols
static int protocols(int, char *[]);
{ "protocols", protocols, },
} protocols[] = {
#define NPROTOCOLS (sizeof protocols/sizeof protocols[0])
if (proto >= protocols[f].from && proto <= protocols[f].to)
return protocols[f].name;
else if (proto < protocols[f].from)