Lines Matching refs:protocol
585 const char *protocol,
656 /* Get the service protocol.
657 * Use the requested protocol if present,
658 * otherwise take the first protocol returned
663 if (protocol) {
664 orig_proto = protocol;
715 /* Store the protocol */
817 /* get service name and protocol */
837 dctx->protocol = service_protocol;
888 char *protocol;
895 * than the body length (if the protocol wasn't
916 * a NULL-terminator. No protocol field
928 /* Copy in the protocol */
930 /* Zero-length protocol
931 * Just set the protocol to NULL
933 protocol = NULL;
935 /* The protocol must be no longer than the remaining
938 protocol = talloc_array(tmp_ctx, char, blen - i);
939 if (!protocol) {
945 protocol[j] = body[i];
957 protocol[j] = '\0';
961 "Body longer than the name and protocol\n");
978 *service_protocol = talloc_steal(mem_ctx, protocol);
1020 dctx->protocol,
1046 char *protocol;
1058 /* Copy in the protocol */
1060 /* Zero-length protocol
1061 * Just set the protocol to NULL
1063 protocol = NULL;
1065 /* The protocol must be no longer than the remaining
1068 protocol = talloc_array(tmp_ctx, char, blen - i);
1069 if (!protocol) {
1075 protocol[j] = body[i];
1087 protocol[j] = '\0';
1091 "Body longer than the name and protocol\n");
1098 *service_protocol = talloc_steal(mem_ctx, protocol);
1136 /* get service port and protocol */
1153 dctx->protocol = service_protocol;