Lines Matching defs:protocol
66 * @protocol: socket protocol, e.g. IPPROTO_TCP or IPPROTO_UDP (or 0 for any)
79 int family, int type, int protocol)
91 ret = BIO_lookup_ex(host, port, BIO_LOOKUP_CLIENT, family, type, protocol,
100 family, type, protocol, &bindaddr);
115 && (protocol == 0
116 || protocol == BIO_ADDRINFO_protocol(ai)));
147 if (protocol == IPPROTO_SCTP) {
260 int family, int type, int protocol, do_server_cb cb,
278 if (!BIO_lookup_ex(host, port, BIO_LOOKUP_SERVER, family, type, protocol,
288 && (protocol == 0 || protocol == BIO_ADDRINFO_protocol(res)));
331 if (protocol == IPPROTO_SCTP) {
384 i = (*cb)(sock, type, protocol, context);
413 i = (*cb)(asock, type, protocol, context);