Lines Matching +full:remote +full:- +full:pid
2 * Copyright (c) 1997 - 2000 Kungliga Tekniska Högskolan
87 fprintf (stderr, "gss_verify_mic: %.*s\n", (int)input_token->length, in process_it()
88 (char *)input_token->value); in process_it()
106 fprintf (stderr, "gss_unwrap: %.*s %s\n", (int)output_token->length, in process_it()
107 (char *)output_token->value, in process_it()
124 fprintf (stderr, "gss_unwrap: %.*s %s\n", (int)output_token->length, in process_it()
125 (char *)output_token->value, in process_it()
137 struct sockaddr_in remote, local; in proto() local
158 addrlen = sizeof(remote); in proto()
159 if (getpeername (sock, (struct sockaddr *)&remote, &addrlen) < 0 in proto()
160 || addrlen != sizeof(remote)) in proto()
165 init_buf[0] = (remote.sin_addr.s_addr >> 24) & 0xFF; in proto()
166 init_buf[1] = (remote.sin_addr.s_addr >> 16) & 0xFF; in proto()
167 init_buf[2] = (remote.sin_addr.s_addr >> 8) & 0xFF; in proto()
168 init_buf[3] = (remote.sin_addr.s_addr >> 0) & 0xFF; in proto()
182 remote.sin_port; in proto()
209 if (output_token->length != 0) in proto()
220 p = (char *)mech_oid->elements; in proto()
221 if (mech_oid->length == GSS_KRB5_MECHANISM->length in proto()
222 && memcmp(p, GSS_KRB5_MECHANISM->elements, mech_oid->length) == 0) in proto()
224 else if (mech_oid->length == GSS_SPNEGO_MECHANISM->length in proto()
225 && memcmp(p, GSS_SPNEGO_MECHANISM->elements, mech_oid->length) == 0) in proto()
260 pid_t pid; in proto() local
266 pid = fork (); in proto()
267 if (pid < 0) in proto()
269 if (pid != 0) { in proto()