Searched refs:request (Results 1 - 25 of 325) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libwrap/
H A Drefuse.c29 /* refuse - refuse request */
31 void refuse(request)
32 struct request_info *request;
34 syslog(deny_severity, "refused connect from %s", eval_client(request));
35 clean_exit(request);
H A Dupdate.c9 * Routines for controlled update/initialization of request structures.
14 * request_set() adds information to an already initialized request structure.
40 /* request_fill - request update engine */
42 static struct request_info *request_fill(request, ap)
43 struct request_info *request;
53 return (request);
55 request->fd = va_arg(ap, int);
58 request->client->sin = va_arg(ap, struct sockaddr_gen *);
61 request->server->sin = va_arg(ap, struct sockaddr_gen *);
69 ptr = request
[all...]
H A Dclean_exit.c32 void clean_exit(request)
33 struct request_info *request;
41 if (request->sink)
42 request->sink(request->fd);
H A Dfromhost.c37 void fromhost(request)
38 struct request_info *request;
48 * so if request->fd is not a stream we simply assume sockets.
51 if (ioctl(request->fd, I_FIND, "timod") > 0) {
52 tli_host(request);
54 sock_host(request);
H A Deval.c51 char *eval_user(request)
52 struct request_info *request;
54 if (request->user[0] == 0) {
55 strcpy(request->user, unknown);
56 if (request->sink == 0 && request->client->sin && request->server->sin)
57 rfc931(request->client->sin, request->server->sin, request
[all...]
H A Dpercent_x.c40 char *percent_x(result, result_len, string, request)
44 struct request_info *request;
66 ch == 'a' ? eval_hostaddr(request->client) :
67 ch == 'A' ? eval_hostaddr(request->server) :
68 ch == 'c' ? eval_client(request) :
69 ch == 'd' ? eval_daemon(request) :
70 ch == 'h' ? eval_hostinfo(request->client) :
71 ch == 'H' ? eval_hostinfo(request->server) :
72 ch == 'n' ? eval_hostname(request->client) :
73 ch == 'N' ? eval_hostname(request
[all...]
H A Dtli.c70 void tli_host(request)
71 struct request_info *request;
82 tli_endpoints(request);
83 if ((request->config = tli_transport(request->fd)) != 0
84 && (STR_EQ(request->config->nc_protofmly, "inet")
86 || STR_EQ(request->config->nc_protofmly, "inet6")
89 if (request->client->unit != 0) {
90 memcpy(&client, request->client->unit->addr.buf,
92 request
233 struct request_info *request = host->request; local
250 struct request_info *request = host->request; local
[all...]
H A Dhosts_ctl.c36 struct request_info request; local
38 return (hosts_access(request_init(&request,
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt.conf28 #Name: PCI max read request override
31 # request setting, overriding the default value or the value programmed
37 pci-max-read-request=2048;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dprint.c49 print_request(CTL_MSG *request) argument
52 request->type, request->l_name, request->r_name,
53 request->r_tty);
54 (void) printf(" id = %d\n", request->id_num);
H A Dtalkd_impl.h48 extern void print_request(CTL_MSG *request);
49 extern void process_request(CTL_MSG *request, CTL_RESPONSE *response);
50 extern CTL_MSG *find_request(CTL_MSG *request);
51 extern CTL_MSG *find_match(CTL_MSG *request);
52 extern void insert_table(CTL_MSG *request, CTL_RESPONSE *response);
54 extern int announce(CTL_MSG *request, char *remote_machine);
H A Dtable.c61 CTL_MSG request; member in struct:table_entry
74 * request looking for an invitation.
78 find_match(CTL_MSG *request) argument
91 print_request(request);
100 print_request(&ptr->request);
109 print_request(&ptr->request);
111 if (strcmp(request->l_name, ptr->request.r_name) == 0 &&
112 strcmp(request->r_name, ptr->request
129 find_request(CTL_MSG *request) argument
184 insert_table(CTL_MSG *request, CTL_RESPONSE *response) argument
[all...]
H A Dprocess.c48 * LEAVE_INVITE - insert the request into the table
50 * LOOK_UP - look up to see if a request is waiting in
68 static void do_announce(CTL_MSG *request, CTL_RESPONSE *response);
72 process_request(CTL_MSG *request, CTL_RESPONSE *response) argument
76 response->type = request->type;
80 * Check if any of the strings within the request structure aren't
81 * NUL terminated, and if so don't bother processing the request
84 if ((memchr(request->l_name, '\0', sizeof (request->l_name)) == NULL) ||
85 (memchr(request
137 do_announce(CTL_MSG *request, CTL_RESPONSE *response) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dtest_net_sctp.sh39 typeset request
49 # send HTTP request
50 request="GET / HTTP/1.1\r\n"
51 request+="Host: www.sctp.org\r\n"
52 request+="User-Agent: ksh93/test_net_sctp (2009-04-08; $(uname -s -r -p))\r\n"
53 request+="Connection: close\r\n"
54 print -u${netfd} -n -- "${request}\r\n"
/illumos-gate/usr/src/cmd/krb5/krb5kdc/
H A Dpolicy.c36 against_local_policy_as(register krb5_kdc_req *request, krb5_db_entry client, argument
41 /* An AS request must include the addresses field */
42 if (request->addresses == 0) {
55 against_local_policy_tgs(register krb5_kdc_req *request, krb5_db_entry server, argument
64 if (isflagset(request->kdc_options, KDC_OPT_FORWARDED)) {
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dcancel.c42 if (prs->request->outcome & RS_DONE)
45 prs->request->outcome |= RS_CANCELLED;
47 if (spool || (prs->request->actions & ACT_NOTIFY))
48 prs->request->outcome |= RS_NOTIFY;
50 if (prs->request->outcome & RS_PRINTING) {
53 else if (prs->request->outcome & RS_FILTERING) {
56 else if (prs->request->outcome | RS_NOTIFY) {
H A Dnotify.c35 "Subject: Status of lp request %s\n\nYour request %s destined for %s%s\n",
60 "You are no longer allowed to use any printer suitable for\nthe request."
78 "The form or print wheel you requested is not allowed on any\nprinter otherwise suitable for the request."
107 if (!(prs->request->outcome & RS_NOTIFY))
110 !(prs->request->actions & (ACT_MAIL|ACT_WRITE|ACT_NOTIFY))
111 && !prs->request->alert
112 && !(prs->request->outcome & RS_CANCELLED)
123 prs->request->destination,
124 STREQU(prs->request
[all...]
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dfailwide.c45 size_t request = LONG_MAX; local
47 foo = malloc(request/2); /* prime the pump */
50 printf ("Before big malloc brk is %p request %d\n", foo, request);
51 foo = malloc(request + request/2);
H A Dwideload.c44 size_t request = LONG_MAX; local
49 printf ("Before big malloc brk is %p request %d\n", foo, request);
50 foo = malloc(request + 100);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_qinfo_quota.c43 smb_quota_query_t request; local
48 bzero(&request, sizeof (smb_quota_query_t));
74 request.qq_root_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP);
75 if (smb_node_getmntpath(tnode, request.qq_root_path, MAXPATHLEN) != 0) {
76 kmem_free(request.qq_root_path, MAXPATHLEN);
81 request.qq_query_op = SMB_QUOTA_QUERY_SIDLIST;
83 request.qq_query_op = SMB_QUOTA_QUERY_STARTSID;
85 request.qq_query_op = SMB_QUOTA_QUERY_ALL;
87 request.qq_single = single;
88 request
[all...]
/illumos-gate/usr/src/cmd/tcpd/
H A Dtcpd.c49 struct request_info request; local
86 request_init(&request, RQ_DAEMON, argv[0], RQ_FILE, STDIN_FILENO, 0);
87 fromhost(&request);
96 if (STR_EQ(eval_hostname(request.client), paranoid))
97 refuse(&request);
108 fix_options(&request);
118 if (!hosts_access(&request))
119 refuse(&request);
122 /* Report request and invoke the real daemon program. */
124 syslog(allow_severity, "connect from %s", eval_client(&request));
[all...]
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSShared/
H A Duds_daemon.c113 mDNSlocal void set_peer_pid(request_state *request);
295 LogMcastNoIdent("%3d: Orphan operation; parent not found in request list", req->sd);
352 // We also set req->terminate to a bogus value so we know if abort_request() gets called again for this request
383 mDNSlocal reply_state *create_reply(const reply_op_t op, const size_t datalen, request_state *const request) argument
404 reply->mhdr->client_context = request->hdr.client_context;
410 // Append a reply to the list in a request object
411 // If our request is sharing a connection, then we append our reply_state onto the primary's list
412 // If the request does not want asynchronous replies, then the reply is freed instead of being appended to any list.
435 request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStatus err)
463 *rep = create_reply(op, len, request);
434 GenerateNTDResponse(const domainname *const servicename, const mDNSInterfaceID id, request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStatus err) argument
478 GenerateBrowseReply(const domainname *const servicename, const mDNSInterfaceID id, request_state *const request, reply_state **const rep, reply_op_t op, DNSServiceFlags flags, mStatus err) argument
519 read_rr_from_ipc_msg(request_state *request, int GetTTL, int validate_flags) argument
957 request_state *request = re->request; local
1013 set_peer_pid(request_state *request) argument
1041 connection_termination(request_state *request) argument
1082 handle_cancel_request(request_state *request) argument
1103 handle_regrecord_request(request_state *request) argument
1167 regservice_termination_callback(request_state *request) argument
1210 LocateSubordinateRequest(request_state *request) argument
1220 add_record_to_service(request_state *request, service_instance *instance, mDNSu16 rrtype, mDNSu16 rdlen, const char *rdata, mDNSu32 ttl) argument
1254 handle_add_request(request_state *request) argument
1343 handle_update_request(request_state *request) argument
1430 remove_record(request_state *request) argument
1459 remove_extra(const request_state *const request, service_instance *const serv, mDNSu16 *const rrtype) argument
1477 handle_removerecord_request(request_state *request) argument
1637 register_service_instance(request_state *request, const domainname *domain) argument
1720 request_state *request; local
1780 request_state *request; local
1843 handle_regservice_request(request_state *request) argument
2215 request_state *request; local
2511 handle_browse_request(request_state *request) argument
2697 resolve_termination_callback(request_state *request) argument
2708 handle_resolve_request(request_state *request) argument
3016 SendAdditionalQuery(DNSQuestion *q, request_state *request, mStatus err) argument
3545 queryrecord_termination_callback(request_state *request) argument
3612 handle_queryrecord_request(request_state *request) argument
3767 format_enumeration_reply(request_state *request, const char *domain, DNSServiceFlags flags, mDNSu32 ifi, DNSServiceErrorType err) argument
3788 enum_termination_callback(request_state *request) argument
3810 request_state *request = question->QuestionContext; local
3843 handle_enum_request(request_state *request) argument
3916 handle_reconfirm_request(request_state *request) argument
3937 handle_release_request(request_state *request) argument
3975 handle_release_request(request_state *request) argument
3983 handle_setdomain_request(request_state *request) argument
4004 handle_getproperty_request(request_state *request) argument
4027 handle_connection_delegate_request(request_state *request) argument
4068 handle_connection_delegate_request(request_state *request) argument
4080 handle_getpid_request(request_state *request) argument
4145 port_mapping_termination_callback(request_state *request) argument
4157 request_state *request = (request_state *)n->clientContext; local
4198 handle_port_mapping_request(request_state *request) argument
4257 addrinfo_termination_callback(request_state *request) argument
4363 handle_addrinfo_request(request_state *request) argument
5022 request_state *request = NewRequest(); local
[all...]
/illumos-gate/usr/src/cmd/lp/filter/postscript/common/
H A Drequest.c37 * The argument to -R can be "request", "request:page", or "request:page:file".
38 * If page is omitted (as in the first form) or set to 0 request will be applied
49 #include "request.h" /* a few special definitions */
50 #include "path.h" /* for the default request file */
53 Request request[MAXREQUEST]; /* next page or global request */ variable
54 int nextreq = 0; /* goes in request[nextreq] */
71 * Save the request unti
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dget_in_tkt.c111 * This function sends a request to the KDC, and gets back a response;
118 krb5_kdc_req *request,
142 if (request->nonce == 0) {
145 request->nonce = (krb5_int32) time_now;
149 if ((retval = encode_krb5_as_req(request, &packet)) != 0)
155 krb5_princ_realm(context, request->client),
237 krb5_kdc_req *request,
243 request,
252 krb5_kdc_req *request,
270 else if (request !
117 send_as_request2(krb5_context context, krb5_kdc_req *request, krb5_error ** ret_err_reply, krb5_kdc_rep ** ret_as_reply, int *use_master, char **hostname_used) argument
236 send_as_request(krb5_context context, krb5_kdc_req *request, krb5_error ** ret_err_reply, krb5_kdc_rep ** ret_as_reply, int *use_master) argument
251 decrypt_as_reply(krb5_context context, krb5_kdc_req *request, krb5_kdc_rep *as_reply, git_key_proc key_proc, krb5_const_pointer keyseed, krb5_keyblock * key, git_decrypt_proc decrypt_proc, krb5_const_pointer decryptarg) argument
322 verify_as_reply(krb5_context context, krb5_timestamp time_now, krb5_kdc_req *request, krb5_kdc_rep *as_reply) argument
387 stash_as_reply(krb5_context context, krb5_timestamp time_now, krb5_kdc_req *request, krb5_kdc_rep *as_reply, krb5_creds * creds, krb5_ccache ccache) argument
540 krb5_kdc_req request; local
996 krb5_kdc_req request; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dss_wrapper.c64 char *request; local
78 request = kadmin_startup(argc, argv);
89 if (request) {
90 code = ss_execute_line(sci_idx, request);
92 ss_perror(sci_idx, code, request);

Completed in 83 milliseconds

1234567891011>>