| /minix3/minix/lib/liblwip/dist/src/apps/snmp/ |
| H A D | snmp_msg.c | 259 static err_t snmp_process_get_request(struct snmp_request *request); 260 static err_t snmp_process_getnext_request(struct snmp_request *request); 261 static err_t snmp_process_getbulk_request(struct snmp_request *request); 262 static err_t snmp_process_set_request(struct snmp_request *request); 264 static err_t snmp_parse_inbound_frame(struct snmp_request *request); 265 static err_t snmp_prepare_outbound_frame(struct snmp_request *request); 266 static err_t snmp_complete_outbound_frame(struct snmp_request *request); 267 static void snmp_execute_write_callbacks(struct snmp_request *request); 278 struct snmp_request request; in snmp_receive() local 280 memset(&request, 0, sizeof(request)); in snmp_receive() [all …]
|
| /minix3/lib/libwrap/ |
| H A D | update.c | 44 request_fill(struct request_info *request, va_list ap) in request_fill() argument 53 return (request); in request_fill() 55 request->fd = va_arg(ap, int); in request_fill() 58 request->client->sin = va_arg(ap, struct sockaddr *); in request_fill() 61 request->server->sin = va_arg(ap, struct sockaddr *); in request_fill() 69 ptr = request->daemon; in request_fill() 72 ptr = request->user; in request_fill() 75 ptr = request->client->name; in request_fill() 78 ptr = request->client->addr; in request_fill() 81 ptr = request->server->name; in request_fill() [all …]
|
| H A D | eval.c | 53 eval_user(struct request_info *request) in eval_user() argument 55 if (request->user[0] == 0) { in eval_user() 56 (void)strlcpy(request->user, unknown, sizeof(request->user)); in eval_user() 57 if (request->sink == 0 && request->client->sin && request->server->sin) in eval_user() 58 rfc931(request->client->sin, request->server->sin, request->user); in eval_user() 60 return (request->user); in eval_user() 70 if (host->request->hostaddr != 0) in eval_hostaddr() 71 host->request->hostaddr(host); in eval_hostaddr() 83 if (host->request->hostname != 0) in eval_hostname() 84 host->request->hostname(host); in eval_hostname() [all …]
|
| H A D | percent_x.c | 40 struct request_info *request) in percent_x() argument 62 ch == 'a' ? eval_hostaddr(request->client) : in percent_x() 63 ch == 'A' ? eval_hostaddr(request->server) : in percent_x() 64 ch == 'c' ? eval_client(request) : in percent_x() 65 ch == 'd' ? eval_daemon(request) : in percent_x() 66 ch == 'h' ? eval_hostinfo(request->client) : in percent_x() 67 ch == 'H' ? eval_hostinfo(request->server) : in percent_x() 68 ch == 'n' ? eval_hostname(request->client) : in percent_x() 69 ch == 'N' ? eval_hostname(request->server) : in percent_x() 70 ch == 'p' ? eval_pid(request) : in percent_x() [all …]
|
| H A D | options.c | 156 process_options(char *options, struct request_info *request) in process_options() argument 209 value = chop_string(percent_x(bf, sizeof(bf), value, request)); in process_options() 212 (*(op->func)) (value, request); in process_options() 221 allow_option(char *value, struct request_info *request) in allow_option() argument 231 deny_option(char *value, struct request_info *request) in deny_option() argument 239 banners_option(char *value, struct request_info *request) in banners_option() argument 248 (void)snprintf(path, sizeof path, "%s/%s", value, eval_daemon(request)); in banners_option() 251 write(request->fd, "", 1); in banners_option() 256 percent_x(obuf, sizeof(obuf), ibuf, request); in banners_option() 257 write(request->fd, obuf, strlen(obuf)); in banners_option() [all …]
|
| /minix3/libexec/httpd/ |
| H A D | auth-bozo.c | 56 bozo_auth_check(bozo_httpreq_t *request, const char *file) in bozo_auth_check() argument 58 bozohttpd_t *httpd = request->hr_httpd; in bozo_auth_check() 72 if (bozo_check_special_files(request, basename)) in bozo_auth_check() 75 request->hr_authrealm = bozostrdup(httpd, dir); in bozo_auth_check() 79 return bozo_http_error(httpd, 404, request, in bozo_auth_check() 89 return bozo_http_error(httpd, 403, request, in bozo_auth_check() 94 if (request->hr_authuser && request->hr_authpass) { in bozo_auth_check() 105 user, pass, request->hr_authuser, in bozo_auth_check() 106 request->hr_authpass)); in bozo_auth_check() 107 if (strcmp(request->hr_authuser, user) != 0) in bozo_auth_check() [all …]
|
| H A D | bozohttpd.c | 325 bozo_clean_request(bozo_httpreq_t *request) in bozo_clean_request() argument 329 if (request == NULL) in bozo_clean_request() 333 bozo_ssl_destroy(request->hr_httpd); in bozo_clean_request() 336 free(request->hr_remotehost); in bozo_clean_request() 337 free(request->hr_remoteaddr); in bozo_clean_request() 338 free(request->hr_serverport); in bozo_clean_request() 339 free(request->hr_virthostname); in bozo_clean_request() 340 free(request->hr_file); in bozo_clean_request() 341 free(request->hr_oldfile); in bozo_clean_request() 342 free(request->hr_query); in bozo_clean_request() [all …]
|
| H A D | cgi-bozo.c | 64 content_cgihandler(bozohttpd_t *httpd, bozo_httpreq_t *request, in content_cgihandler() argument 69 USE_ARG(request); in content_cgihandler() 112 finish_cgi_output(bozohttpd_t *httpd, bozo_httpreq_t *request, int in, int nph) in finish_cgi_output() argument 148 bozo_printf(httpd, "%s %s\r\n", request->hr_proto, in finish_cgi_output() 167 "%s 200 OK\r\n", request->hr_proto); in finish_cgi_output() 243 bozo_process_cgi(bozo_httpreq_t *request) in bozo_process_cgi() argument 245 bozohttpd_t *httpd = request->hr_httpd; in bozo_process_cgi() 263 if (request->hr_oldfile && strcmp(request->hr_oldfile, "/") != 0) in bozo_process_cgi() 264 uri = request->hr_oldfile; in bozo_process_cgi() 266 uri = request->hr_file; in bozo_process_cgi() [all …]
|
| H A D | tilde-luzah-bozo.c | 59 bozo_user_transform(bozo_httpreq_t *request, int *isindex) in bozo_user_transform() argument 61 bozohttpd_t *httpd = request->hr_httpd; in bozo_user_transform() 68 user = strchr(request->hr_file + 2, '~'); in bozo_user_transform() 88 (void)bozo_http_error(httpd, 404, request, "no such user"); in bozo_user_transform() 99 (void)bozo_http_error(httpd, 404, request, in bozo_user_transform() 106 (void)bozo_http_error(httpd, 404, request, in bozo_user_transform() 123 (void)bozo_http_error(httpd, 403, request, "illegal request"); in bozo_user_transform() 128 if (bozo_auth_check(request, file)) { in bozo_user_transform() 133 free(request->hr_file); in bozo_user_transform() 134 request->hr_file = file; in bozo_user_transform()
|
| H A D | lua-bozo.c | 298 bozo_process_lua(bozo_httpreq_t *request) in bozo_process_lua() argument 300 bozohttpd_t *httpd = request->hr_httpd; in bozo_process_lua() 317 uri = request->hr_oldfile ? request->hr_oldfile : request->hr_file; in bozo_process_lua() 332 if (request->hr_query && request->hr_query[0]) in bozo_process_lua() 333 query = bozostrdup(httpd, request->hr_query); in bozo_process_lua() 352 type = request->hr_content_type; in bozo_process_lua() 353 clen = request->hr_content_length; in bozo_process_lua() 368 BOZOHOST(httpd, request)); in bozo_process_lua() 370 lua_env(map->L, "SERVER_PROTOCOL", request->hr_proto); in bozo_process_lua() 372 request->hr_methodstr); in bozo_process_lua() [all …]
|
| H A D | dir-index-bozo.c | 60 bozo_dir_index(bozo_httpreq_t *request, const char *dirpath, int isindex) in bozo_dir_index() argument 62 bozohttpd_t *httpd = request->hr_httpd; in bozo_dir_index() 87 (void)bozo_http_error(httpd, 403, request, in bozo_dir_index() 90 (void)bozo_http_error(httpd, 404, request, "no file"); in bozo_dir_index() 92 (void)bozo_http_error(httpd, 500, request, in bozo_dir_index() 98 bozo_printf(httpd, "%s 200 OK\r\n", request->hr_proto); in bozo_dir_index() 100 if (request->hr_proto != httpd->consts.http_09) { in bozo_dir_index() 101 bozo_print_header(request, NULL, "text/html", ""); in bozo_dir_index() 106 if (request->hr_method == HTTP_HEAD) { in bozo_dir_index() 113 request->hr_file); in bozo_dir_index() [all …]
|
| /minix3/external/bsd/bind/dist/lib/dns/ |
| H A D | request.c | 48 #define VALID_REQUEST(request) ISC_MAGIC_VALID(request, REQUEST_MAGIC) argument 127 static isc_socket_t * req_getsocket(dns_request_t *request); 129 static void req_sendevent(dns_request_t *request, isc_result_t result); 130 static void req_cancel(dns_request_t *request); 131 static void req_destroy(dns_request_t *request); 263 dns_request_t *request; in mgr_shutdown() local 270 for (request = ISC_LIST_HEAD(requestmgr->requests); in mgr_shutdown() 271 request != NULL; in mgr_shutdown() 272 request = ISC_LIST_NEXT(request, link)) { in mgr_shutdown() 273 dns_request_cancel(request); in mgr_shutdown() [all …]
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/krb5/ |
| H A D | kcm.c | 72 krb5_storage *request, in kcm_send_request() argument 85 ret = krb5_storage_to_data(request, &request_data); in kcm_send_request() 171 krb5_storage *request, in krb5_kcm_call() argument 185 ret = kcm_send_request(context, request, &response_data); in krb5_kcm_call() 258 krb5_storage *request, *response; in kcm_gen_new() local 267 ret = krb5_kcm_storage_request(context, KCM_OP_GEN_NEW, &request); in kcm_gen_new() 273 ret = krb5_kcm_call(context, request, &response, &response_data); in kcm_gen_new() 275 krb5_storage_free(request); in kcm_gen_new() 284 krb5_storage_free(request); in kcm_gen_new() 309 krb5_storage *request; in kcm_initialize() local [all …]
|
| H A D | digest.c | 47 DigestRequest request; member 74 free_DigestRequest(&digest->request); in krb5_digest_free() 168 if (digest->request.serverNonce) { in krb5_digest_set_server_nonce() 172 digest->request.serverNonce = strdup(nonce); in krb5_digest_set_server_nonce() 173 if (digest->request.serverNonce == NULL) { in krb5_digest_set_server_nonce() 192 if (digest->request.opaque) { in krb5_digest_set_opaque() 196 digest->request.opaque = strdup(opaque); in krb5_digest_set_opaque() 197 if (digest->request.opaque == NULL) { in krb5_digest_set_opaque() 218 if (digest->request.identifier) { in krb5_digest_set_identifier() 222 digest->request.identifier = calloc(1, sizeof(*digest->request.identifier)); in krb5_digest_set_identifier() [all …]
|
| /minix3/external/bsd/bind/dist/lib/samples/win32/ |
| H A D | request.mak.in | 1 # Microsoft Developer Studio Generated NMAKE File, Based on request.dsp 3 CFG=request - @PLATFORM@ Debug 4 !MESSAGE No configuration specified. Defaulting to request - @PLATFORM@ Debug. 7 !IF "$(CFG)" != "request - @PLATFORM@ Release" && "$(CFG)" != "request - @PLATFORM@ Debug" 12 !MESSAGE NMAKE /f "request.mak" CFG="request - @PLATFORM@ Debug" 16 !MESSAGE "request - @PLATFORM@ Release" (based on "@PLATFORM@ (x86) Console Application") 17 !MESSAGE "request - @PLATFORM@ Debug" (based on "@PLATFORM@ (x86) Console Application") 28 !IF "$(CFG)" == "request - @PLATFORM@ Release" 103 !IF "$(CFG)" == "request - @PLATFORM@ Release" 108 ALL : "..\..\..\Build\Release\sample-request.exe" [all …]
|
| /minix3/minix/servers/vfs/ |
| H A D | device.c | 20 unsigned long request; in do_ioctl() local 27 request = job_m_in.m_lc_vfs_ioctl.req; in do_ioctl() 38 r = bdev_ioctl(vp->v_sdev, who_e, request, arg); in do_ioctl() 44 r = cdev_io(CDEV_IOCTL, vp->v_sdev, who_e, arg, 0, request, in do_ioctl() 49 r = sdev_ioctl(vp->v_sdev, request, arg, f->filp_flags); in do_ioctl() 66 unsigned long request) in make_ioctl_grant() argument 77 if (_MINIX_IOCTL_IOR(request)) access |= CPF_WRITE; in make_ioctl_grant() 78 if (_MINIX_IOCTL_IOW(request)) access |= CPF_READ; in make_ioctl_grant() 79 if (_MINIX_IOCTL_BIG(request)) in make_ioctl_grant() 80 size = _MINIX_IOCTL_SIZE_BIG(request); in make_ioctl_grant() [all …]
|
| /minix3/minix/net/lwip/ |
| H A D | ifconf.c | 79 ifconf_ioctl_ifreq(unsigned long request, const struct sockdriver_data * data) in ifconf_ioctl_ifreq() argument 88 if (request != SIOCIFCREATE) { in ifconf_ioctl_ifreq() 96 switch (request) { in ifconf_ioctl_ifreq() 164 ifconf_ioctl_ifcap(unsigned long request, in ifconf_ioctl_ifcap() argument 179 switch (request) { in ifconf_ioctl_ifcap() 199 ifconf_ioctl_ifmedia(unsigned long request, in ifconf_ioctl_ifmedia() argument 214 switch (request) { in ifconf_ioctl_ifmedia() 268 ifconf_ioctl_ifclone(unsigned long request, in ifconf_ioctl_ifclone() argument 315 ifconf_ioctl_ifaddrpref(unsigned long request, in ifconf_ioctl_ifaddrpref() argument 334 switch (request) { in ifconf_ioctl_ifaddrpref() [all …]
|
| /minix3/minix/lib/libc/sys/ |
| H A D | ioctl.c | 59 ioctl_convert_if_to_minix(void * data, unsigned long * request) in ioctl_convert_if_to_minix() argument 66 switch (*request) { in ioctl_convert_if_to_minix() 78 *request = MINIX_SIOCGIFMEDIA; in ioctl_convert_if_to_minix() 95 *request = MINIX_SIOCIFGCLONERS; in ioctl_convert_if_to_minix() 115 ioctl_convert_if_from_minix(vir_bytes addr, void * data, unsigned long request) in ioctl_convert_if_from_minix() argument 123 switch (request) { in ioctl_convert_if_from_minix() 162 ioctl_convert_bpf_to_minix(void * data, unsigned long * request) in ioctl_convert_bpf_to_minix() argument 169 switch (*request) { in ioctl_convert_bpf_to_minix() 184 *request = MINIX_BIOCSETF; in ioctl_convert_bpf_to_minix() 201 *request = MINIX_BIOCGDLTLIST; in ioctl_convert_bpf_to_minix() [all …]
|
| /minix3/external/bsd/tcpdump/dist/tests/ |
| H A D | e1000g.out | 1 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 0, length 64 3 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 1, length 64 5 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 2, length 64 7 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 3, length 64 9 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 4, length 64 11 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 5, length 64 13 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 6, length 64 15 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 7, length 64 17 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 8, length 64 19 IP 129.146.106.55 > 10.5.233.117: ICMP echo request, id 6901, seq 9, length 64
|
| H A D | esp1.out | 1 …spi=0x12345678,seq=0x1), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 12… 2 …spi=0x12345678,seq=0x2), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 15… 3 …spi=0x12345678,seq=0x3), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 17… 4 …spi=0x12345678,seq=0x4), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 20… 5 …spi=0x12345678,seq=0x5), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 23… 6 …spi=0x12345678,seq=0x6), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 25… 7 …spi=0x12345678,seq=0x7), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 28… 8 …spi=0x12345678,seq=0x8), length 116: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 30…
|
| H A D | esp5.out | 1 …spi=0xd1234567,seq=0x1), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 12… 2 …spi=0xd1234567,seq=0x2), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 15… 3 …spi=0xd1234567,seq=0x3), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 17… 4 …spi=0xd1234567,seq=0x4), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 20… 5 …spi=0xd1234567,seq=0x5), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 23… 6 …spi=0xd1234567,seq=0x6), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 25… 7 …spi=0xd1234567,seq=0x7), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 28… 8 …spi=0xd1234567,seq=0x8), length 132: IP 192.0.2.1 > 192.0.1.1: ICMP echo request, id 28416, seq 30…
|
| /minix3/crypto/external/bsd/heimdal/dist/lib/hx509/ |
| H A D | test_req.in | 51 ${hxtool} request-create \ 54 request.out || exit 1 56 ${hxtool} request-print \ 57 PKCS10:request.out > /dev/null || exit 1 59 ${hxtool} request-create \ 63 request.out || exit 1
|
| /minix3/crypto/external/bsd/heimdal/dist/kcm/ |
| H A D | protocol.c | 59 krb5_storage *request, in kcm_op_noop() argument 78 krb5_storage *request, in kcm_op_get_name() argument 86 ret = krb5_ret_stringz(request, &name); in kcm_op_get_name() 121 krb5_storage *request, in kcm_op_gen_new() argument 152 krb5_storage *request, in kcm_op_initialize() argument 165 ret = krb5_ret_stringz(request, &name); in kcm_op_initialize() 169 ret = krb5_ret_principal(request, &principal); in kcm_op_initialize() 218 krb5_storage *request, in kcm_op_destroy() argument 224 ret = krb5_ret_stringz(request, &name); in kcm_op_destroy() 251 krb5_storage *request, in kcm_op_store() argument [all …]
|
| /minix3/minix/drivers/usb/usbd/hcd/ |
| H A D | hcd.c | 966 hcd_datarequest request; in hcd_non_control_urb() local 1011 request.type = urb->type; in hcd_non_control_urb() 1012 request.endpoint = urb->endpoint; in hcd_non_control_urb() 1013 request.direction = urb->direction; in hcd_non_control_urb() 1014 request.data_left = (int)urb->in_size; in hcd_non_control_urb() 1015 request.data = urb->inout_data; in hcd_non_control_urb() 1020 request.interval = urb->interval; in hcd_non_control_urb() 1022 request.interval = HCD_DEFAULT_NAKLIMIT; in hcd_non_control_urb() 1026 request.max_packet_size = UGETW(e->descriptor.wMaxPacketSize); in hcd_non_control_urb() 1029 request.speed = this_device->speed; in hcd_non_control_urb() [all …]
|
| /minix3/external/bsd/libevent/dist/include/event2/ |
| H A D | rpc.h | 176 struct reqstruct* request; \ 192 struct evrpc_pool *pool, void *request, void *reply, 215 pool, request, reply, cb, cbarg) \ argument 216 evrpc_make_request_ctx(pool, request, reply, \ 236 struct reqstruct *request, struct rplystruct *reply, \ 240 return evrpc_send_request_generic(pool, request, reply, \ 320 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \ argument 323 (void *(*)(void *))request##_new, NULL, \ 324 (void (*)(void *))request##_free, \ 325 (int (*)(void *, struct evbuffer *))request##_unmarshal, \ [all …]
|