/openbsd-current/sbin/isakmpd/ |
H A D | connection.c | 88 struct conf_list_node *conn, *attr = NULL; local 100 for (conn = TAILQ_FIRST(&conns->fields); conn; 101 conn = TAILQ_NEXT(conn, link)) { 102 if (connection_setup(conn->field)) 104 "\"%s\"", conn->field); 113 attrs = conf_get_list(conn->field, "Flags"); 121 if (connection_record_passive(conn->field)) 124 conn 147 struct connection *conn = vconn; local 172 struct connection *conn; local 192 struct connection_passive *conn; local 221 struct connection_passive *conn; local 273 struct connection *conn = 0; local 314 struct connection_passive *conn; local 374 struct connection *conn; local 390 struct connection_passive *conn; local 406 struct connection *conn; local 431 struct connection *conn, *next; local [all...] |
/openbsd-current/usr.sbin/lpd/ |
H A D | frontend_lpr.c | 108 struct lpr_conn *conn; local 110 if ((conn = calloc(1, sizeof(*conn))) == NULL) { 116 conn->id = connid; 117 conn->ifd = -1; 118 conn->io = io_new(); 119 if (conn->io == NULL) { 121 free(conn); 126 SPLAY_INSERT(lpr_conn_tree, &conns, conn); 127 io_set_callback(conn 141 struct lpr_conn *conn = NULL, key; local 195 lpr_on_allowedhost(struct lpr_conn *conn, const char *hostname, const char *reject) argument 206 lpr_on_recvjob(struct lpr_conn *conn, int ack) argument 216 lpr_on_recvjob_file(struct lpr_conn *conn, int ack, size_t sz, int cf, int fd) argument 246 lpr_on_request(struct lpr_conn *conn, int fd, const char *hostname, const char *cmd) argument 286 struct lpr_conn *conn = arg; local 304 struct lpr_conn *conn = arg; local 367 lpr_readcommand(struct lpr_conn *conn) argument 522 lpr_readfile(struct lpr_conn *conn) argument 573 lpr_parsejobfilter(struct lpr_conn *conn, struct lp_jobfilter *jf, int argc, char **argv) argument 610 lpr_free(struct lpr_conn *conn) argument 617 lpr_close(struct lpr_conn *conn) argument 645 lpr_ack(struct lpr_conn *conn, char c) argument 656 lpr_reply(struct lpr_conn *conn, const char *s) argument 667 lpr_stream(struct lpr_conn *conn) argument 710 lpr_forward(struct lpr_conn *conn) argument 743 struct lpr_conn *conn = arg; local [all...] |
H A D | frontend.c | 42 struct conn { struct 43 SPLAY_ENTRY(conn) entry; 48 static int conn_cmp(struct conn *, struct conn *); 50 SPLAY_HEAD(conntree, conn); 51 SPLAY_PROTOTYPE(conntree, conn, entry, conn_cmp); 57 conn_cmp(struct conn *a, struct conn *b) 66 SPLAY_GENERATE(conntree, conn, entry, conn_cmp); 119 struct conn ke local 197 struct conn *conn; local [all...] |
/openbsd-current/usr.sbin/ldapd/ |
H A D | conn.c | 1 /* $OpenBSD: conn.c,v 1.21 2023/06/26 10:28:12 claudio Exp $ */ 29 int conn_dispatch(struct conn *conn); 30 int conn_tls_init(struct conn *); 50 conn_close(struct conn *conn) argument 53 struct listener *l = conn->listener; 55 log_debug("closing connection %d", conn->fd); 58 for (search = TAILQ_FIRST(&conn->searches); search; search = next) { 64 namespace_cancel_conn(conn); 91 conn_disconnect(struct conn *conn) argument 141 conn_dispatch(struct conn *conn) argument 195 struct conn *conn = data; local 216 struct conn *conn = data; local 238 struct conn *conn = data; local 256 struct conn *conn; local 339 struct conn *conn; local 351 struct conn *conn; local 372 conn_tls_init(struct conn *conn) argument [all...] |
H A D | auth.c | 35 aci_matches(struct aci *aci, struct conn *conn, struct namespace *ns, argument 92 if (conn->binddn == NULL) 95 if (strcmp(dn, conn->binddn) != 0) 97 } else if (strcmp(aci->subject, conn->binddn) != 0) 111 /* Returns true (1) if conn is authorized for op on dn in namespace. 114 authorized(struct conn *conn, struct namespace *ns, int rights, char *dn, argument 121 if (conn->binddn != NULL) { 123 strcasecmp(conn 381 ldap_bind_continue(struct conn *conn, int ok) argument [all...] |
H A D | ldapd.h | 59 struct conn; 89 struct conn *conn; member in struct:request 180 struct conn *conn; member in struct:search 215 struct conn { struct 216 TAILQ_ENTRY(conn) next; 232 TAILQ_HEAD(conn_list, conn); 339 /* conn.c */ 341 struct conn *conn_by_f [all...] |
H A D | ldape.c | 44 void send_ldap_extended_response(struct conn *conn, 72 send_ldap_extended_response(struct conn *conn, int msgid, unsigned int type, argument 93 ldap_debug_elements(root, type, "sending response on fd %d", conn->fd); 95 rc = ober_write_elements(&conn->ber, root); 101 ober_get_writebuf(&conn->ber, &buf); 102 if (bufferevent_write(conn->bev, buf, rc) != 0) 168 rc = ober_write_elements(&req->conn->ber, root); 174 ober_get_writebuf(&req->conn 192 send_ldap_result(struct conn *conn, int msgid, unsigned int type, long long result_code) argument 527 struct conn *conn; local [all...] |
H A D | search.c | 101 struct conn *conn = search->conn; local 125 if (authorized(search->conn, search->ns, ACI_READ, 149 "sending search entry on fd %d", conn->fd); 151 rc = ober_write_elements(&conn->ber, root); 159 ober_get_writebuf(&conn->ber, &buf); 160 if (bufferevent_write(conn->bev, buf, rc) != 0) { 195 TAILQ_REMOVE(&search->conn->searches, search, next); 236 if (!authorized(search->conn, searc 300 struct conn *conn; local [all...] |
H A D | namespace.c | 212 struct conn *conn; local 229 TAILQ_FOREACH(conn, &conn_list, next) { 230 for (search = TAILQ_FIRST(&conn->searches); search != NULL; 527 namespace_cancel_conn(struct conn *conn) argument 537 if (req->conn == conn) { 546 namespace_conn_queue_count(struct conn *conn) argument [all...] |
/openbsd-current/usr.sbin/rpki-client/ |
H A D | http.c | 236 ip_info(const struct http_connection *conn) argument 240 if (conn->res == NULL) 243 if (getnameinfo(conn->res->ai_addr, conn->res->ai_addrlen, ipbuf, 251 conn_info(const struct http_connection *conn) argument 256 if (conn->req == NULL) 257 uri = conn->host; 259 uri = conn->req->uri; 261 snprintf(buf, sizeof(buf), "%s (%s)", http_info(uri), ip_info(conn)); 654 struct http_connection *conn; local 694 http_inflate_new(struct http_connection *conn) argument 721 http_inflate_free(struct http_connection *conn) argument 733 http_inflate_done(struct http_connection *conn) argument 745 http_inflate_data(struct http_connection *conn) argument 788 http_inflate_advance(struct http_connection *conn) argument 831 struct http_connection *conn; local 872 http_free(struct http_connection *conn) argument 904 http_done(struct http_connection *conn, enum http_result res) argument 944 http_failed(struct http_connection *conn) argument 961 http_connect_failed(struct http_connection *conn) argument 975 http_do(struct http_connection *conn, enum res (*f)(struct http_connection *)) argument 996 http_connect_done(struct http_connection *conn) argument 1007 http_connect(struct http_connection *conn) argument 1076 http_finish_connect(struct http_connection *conn) argument 1099 http_tls_connect(struct http_connection *conn) argument 1126 http_tls_handshake(struct http_connection *conn) argument 1143 proxy_connect(struct http_connection *conn) argument 1180 http_request(struct http_connection *conn) argument 1250 http_parse_status(struct http_connection *conn, char *buf) argument 1312 http_isredirect(struct http_connection *conn) argument 1321 http_isok(struct http_connection *conn) argument 1329 http_redirect(struct http_connection *conn) argument 1355 http_parse_header(struct http_connection *conn, char *buf) argument 1469 http_get_line(struct http_connection *conn) argument 1500 http_parse_chunked(struct http_connection *conn, char *buf) argument 1519 http_read(struct http_connection *conn) argument 1711 http_write(struct http_connection *conn) argument 1747 proxy_read(struct http_connection *conn) argument 1808 proxy_write(struct http_connection *conn) argument 1841 http_close(struct http_connection *conn) argument 1870 data_write(struct http_connection *conn) argument 1920 data_inflate_write(struct http_connection *conn) argument 1963 http_handle(struct http_connection *conn) argument 2045 struct http_connection *conn, *nc; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | 20021111-1.c | 6 int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type); 8 int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type) argument 12 if (!conn) 24 return aim_callhandler(sess, conn, family, (unsigned short) 0xffff);
|
/openbsd-current/usr.bin/ssh/ |
H A D | sftp-usergroup.h | 20 void get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g); 21 void get_remote_user_groups_from_dirents(struct sftp_conn *conn, SFTP_DIRENT **d);
|
H A D | sftp-glob.c | 41 struct sftp_conn *conn; member in struct:__anon15 51 if (sftp_readdir(cur.conn, path, &r->dir)) { 88 if (sftp_lstat(cur.conn, path, 1, &a) != 0) 101 if (sftp_stat(cur.conn, path, 1, &a) != 0) 110 sftp_glob(struct sftp_conn *conn, const char *pattern, int flags, argument 125 cur.conn = conn;
|
H A D | sftp-client.c | 103 get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, 144 send_msg(struct sftp_conn *conn, struct sshbuf *m) argument 159 if (atomiciov6(writev, conn->fd_out, iov, 2, sftpio, 160 conn->limit_kbps > 0 ? &conn->bwlimit_out : NULL) != 168 get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial) argument 177 if (atomicio6(read, conn->fd_in, p, 4, sftpio, 178 conn->limit_kbps > 0 ? &conn->bwlimit_in : NULL) != 4) { 196 if (atomicio6(read, conn 207 get_msg(struct sftp_conn *conn, struct sshbuf *m) argument 213 send_string_request(struct sftp_conn *conn, u_int id, u_int code, const char *s, u_int len) argument 231 send_string_attrs_request(struct sftp_conn *conn, u_int id, u_int code, const void *s, u_int len, Attrib *a) argument 251 get_status(struct sftp_conn *conn, u_int expected_id) argument 281 get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, const char *errfmt, ...) argument 326 get_decode_stat(struct sftp_conn *conn, u_int expected_id, int quiet, Attrib *a) argument 377 get_decode_statvfs(struct sftp_conn *conn, struct sftp_statvfs *st, u_int expected_id, int quiet) argument 595 sftp_proto_version(struct sftp_conn *conn) argument 601 sftp_get_limits(struct sftp_conn *conn, struct sftp_limits *limits) argument 655 sftp_close(struct sftp_conn *conn, const u_char *handle, u_int handle_len) argument 683 sftp_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag, SFTP_DIRENT ***dir) argument 826 sftp_readdir(struct sftp_conn *conn, const char *path, SFTP_DIRENT ***dir) argument 846 sftp_rm(struct sftp_conn *conn, const char *path) argument 861 sftp_mkdir(struct sftp_conn *conn, const char *path, Attrib *a, int print_flag) argument 879 sftp_rmdir(struct sftp_conn *conn, const char *path) argument 897 sftp_stat(struct sftp_conn *conn, const char *path, int quiet, Attrib *a) argument 913 sftp_lstat(struct sftp_conn *conn, const char *path, int quiet, Attrib *a) argument 932 sftp_fstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, int quiet, Attrib *a) argument 948 sftp_setstat(struct sftp_conn *conn, const char *path, Attrib *a) argument 966 sftp_fsetstat(struct sftp_conn *conn, const u_char *handle, u_int handle_len, Attrib *a) argument 986 sftp_realpath_expand(struct sftp_conn *conn, const char *path, int expand) argument 1061 sftp_realpath(struct sftp_conn *conn, const char *path) argument 1067 sftp_can_expand_path(struct sftp_conn *conn) argument 1073 sftp_expand_path(struct sftp_conn *conn, const char *path) argument 1083 sftp_copy(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument 1198 sftp_rename(struct sftp_conn *conn, const char *oldpath, const char *newpath, int force_legacy) argument 1243 sftp_hardlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument 1281 sftp_symlink(struct sftp_conn *conn, const char *oldpath, const char *newpath) argument 1317 sftp_fsync(struct sftp_conn *conn, u_char *handle, u_int handle_len) argument 1350 sftp_readlink(struct sftp_conn *conn, const char *path) argument 1408 sftp_statvfs(struct sftp_conn *conn, const char *path, struct sftp_statvfs *st, int quiet) argument 1439 sftp_fstatvfs(struct sftp_conn *conn, const u_char *handle, u_int handle_len, struct sftp_statvfs *st, int quiet) argument 1469 sftp_lsetstat(struct sftp_conn *conn, const char *path, Attrib *a) argument 1502 send_read_request(struct sftp_conn *conn, u_int id, u_int64_t offset, u_int len, const u_char *handle, u_int handle_len) argument 1521 send_open(struct sftp_conn *conn, const char *path, const char *tag, u_int openmode, Attrib *a, u_char **handlep, size_t *handle_lenp) argument 1577 sftp_download(struct sftp_conn *conn, const char *remote_path, const char *local_path, Attrib *a, int preserve_flag, int resume_flag, int fsync_flag, int inplace_flag) argument 1867 download_dir_internal(struct sftp_conn *conn, const char *src, const char *dst, int depth, Attrib *dirattrib, int preserve_flag, int print_flag, int resume_flag, int fsync_flag, int follow_link_flag, int inplace_flag) argument 1988 sftp_download_dir(struct sftp_conn *conn, const char *src, const char *dst, Attrib *dirattrib, int preserve_flag, int print_flag, int resume_flag, int fsync_flag, int follow_link_flag, int inplace_flag) argument 2008 sftp_upload(struct sftp_conn *conn, const char *local_path, const char *remote_path, int preserve_flag, int resume, int fsync_flag, int inplace_flag) argument 2225 upload_dir_internal(struct sftp_conn *conn, const char *src, const char *dst, int depth, int preserve_flag, int print_flag, int resume, int fsync_flag, int follow_link_flag, int inplace_flag) argument 2341 sftp_upload_dir(struct sftp_conn *conn, const char *src, const char *dst, int preserve_flag, int print_flag, int resume, int fsync_flag, int follow_link_flag, int inplace_flag) argument 2816 sftp_can_get_users_groups_by_id(struct sftp_conn *conn) argument 2822 sftp_get_users_groups_by_id(struct sftp_conn *conn, const u_int *uids, u_int nuids, const u_int *gids, u_int ngids, char ***usernamesp, char ***groupnamesp) argument 2963 sftp_remote_is_dir(struct sftp_conn *conn, const char *path) argument [all...] |
H A D | sftp-client.h | 105 int sftp_lsetstat(struct sftp_conn *conn, const char *path, Attrib *a); 132 int sftp_fsync(struct sftp_conn *conn, u_char *, u_int); 182 int sftp_can_get_users_groups_by_id(struct sftp_conn *conn); 183 int sftp_get_users_groups_by_id(struct sftp_conn *conn, 196 int sftp_remote_is_dir(struct sftp_conn *conn, const char *path);
|
H A D | sftp-usergroup.c | 101 lookup_and_record(struct sftp_conn *conn, argument 108 if ((r = sftp_get_users_groups_by_id(conn, uids, nuids, gids, ngids, 174 get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g) argument 178 if (!sftp_can_get_users_groups_by_id(conn)) 183 lookup_and_record(conn, uids, nuids, gids, ngids); 213 get_remote_user_groups_from_dirents(struct sftp_conn *conn, SFTP_DIRENT **d) argument 217 if (!sftp_can_get_users_groups_by_id(conn)) 222 lookup_and_record(conn, uids, nuids, gids, ngids);
|
H A D | sftp.c | 90 struct sftp_conn *conn; member in struct:complete_ctx 626 process_get(struct sftp_conn *conn, const char *src, const char *dst, argument 637 if ((r = sftp_glob(conn, abs_src, GLOB_MARK, NULL, &g)) != 0) { 690 if (sftp_download_dir(conn, g.gl_pathv[i], abs_dst, 695 if (sftp_download(conn, g.gl_pathv[i], abs_dst, NULL, 711 process_put(struct sftp_conn *conn, const char *src, const char *dst, argument 737 dst_is_dir = sftp_remote_is_dir(conn, tmp_dst); 787 if (sftp_upload_dir(conn, g.gl_pathv[i], abs_dst, 792 if (sftp_upload(conn, g.gl_pathv[i], abs_dst, 826 do_ls_dir(struct sftp_conn *conn, cons argument 941 do_globbed_ls(struct sftp_conn *conn, const char *path, const char *strip_path, int lflag) argument 1051 do_df(struct sftp_conn *conn, const char *path, int hflag, int iflag) argument 1522 parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd, const char *startdir, int err_abort, int echo_command) argument 1971 complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path, char *file, int remote, int lastarg, char quote, int terminated) argument 2177 interactive_loop(struct sftp_conn *conn, char *file1, char *file2) argument 2400 struct sftp_conn *conn; local [all...] |
/openbsd-current/usr.sbin/snmpd/ |
H A D | application_agentx.c | 182 struct appl_agentx_connection *conn, *tconn; local 184 RB_FOREACH_SAFE(conn, appl_agentx_conns, &appl_agentx_conns, tconn) 185 appl_agentx_free(conn, APPL_CLOSE_REASONSHUTDOWN); 195 struct appl_agentx_connection *conn = NULL; local 202 if ((conn = malloc(sizeof(*conn))) == NULL) { 207 conn->conn_backend = 0; 208 TAILQ_INIT(&(conn->conn_sessions)); 209 if ((conn->conn_ax = ax_new(fd)) == NULL) { 215 conn 234 struct appl_agentx_connection *conn; local 256 appl_agentx_free(struct appl_agentx_connection *conn, enum appl_close_reason reason) argument 285 struct appl_agentx_connection *conn = cookie; local 473 appl_agentx_open(struct appl_agentx_connection *conn, struct ax_pdu *pdu) argument 584 struct appl_agentx_connection *conn = session->sess_conn; local 632 struct appl_agentx_connection *conn = session->sess_conn; local 920 struct appl_agentx_connection *conn = cookie; local [all...] |
/openbsd-current/usr.sbin/vmd/ |
H A D | vm_agentx.c | 35 struct conn { struct 265 static struct conn *conn; local 280 if (conn != NULL) { 281 agentx_free(conn->agentx); 282 conn = NULL; 290 if (strcmp(curpath, vmd_agentx->ax_path) != 0 || conn == NULL) { 291 if (conn != NULL) { 292 agentx_free(conn->agentx); 293 conn 375 struct conn *conn = cookie; local 390 struct conn *conn = cookie; local 417 struct conn *conn = cookie; local [all...] |
/openbsd-current/libexec/login_ldap/ |
H A D | login_ldap.h | 66 int conn(struct auth_ctx *);
|
/openbsd-current/sys/dev/pci/drm/amd/display/modules/hdcp/ |
H A D | hdcp1_transition.c | 34 struct mod_hdcp_connection *conn = &hdcp->connection; local 81 } else if (!conn->is_repeater && input->encryption != PASS) { 85 if (conn->is_repeater) { 157 struct mod_hdcp_connection *conn = &hdcp->connection; local 229 } else if ((!conn->is_repeater && input->encryption != PASS) || 230 (!conn->is_repeater && is_dp_mst_hdcp(hdcp) && input->stream_encryption_dp != PASS)) { 233 } else if (conn->hdcp1_retry_count < conn->link.adjust.hdcp1.min_auth_retries_wa) { 237 if (conn->is_repeater) {
|
/openbsd-current/usr.sbin/nsd/ |
H A D | xfrd-tcp.h | 2 * xfrd-tcp.h - XFR (transfer) Daemon TCP system header file. Manages tcp conn. 192 struct xfrd_tcp_pipeline* tp, int conn); 215 int conn_read(struct xfrd_tcp* conn); 223 int conn_write(struct xfrd_tcp* conn);
|
H A D | ipc.h | 43 * Data for ipc handler, nsd and a conn for reading ipc msgs. 50 struct xfrd_tcp *conn; member in struct:ipc_handler_conn_data
|
/openbsd-current/gnu/llvm/lldb/tools/lldb-server/ |
H A D | Acceptor.h | 32 Status Accept(const bool child_processes_inherit, Connection *&conn);
|
/openbsd-current/usr.sbin/smtpd/ |
H A D | mail.lmtp.c | 57 int conn; local 110 conn = lmtp_connect(destination); 111 lmtp_engine(conn, &session); 314 stream_file(FILE *conn) argument 322 fprintf(conn, "."); 323 fprintf(conn, "%s\r\n", line);
|