Home
last modified time | relevance | path

Searched refs:MAX_IMSGSIZE (Results 1 – 15 of 15) sorted by relevance

/openbsd/lib/libutil/
H A Dimsg.c142 m.hdr.len > MAX_IMSGSIZE) { in imsg_get()
293 if (ibuf_size(buf) + IMSG_HEADER_SIZE > MAX_IMSGSIZE) { in imsg_compose_ibuf()
364 if (datalen > MAX_IMSGSIZE) { in imsg_create()
374 if ((wbuf = ibuf_dynamic(datalen, MAX_IMSGSIZE)) == NULL) { in imsg_create()
H A Dimsg.h29 #define MAX_IMSGSIZE 16384 macro
/openbsd/usr.bin/tmux/
H A Dfile.c337 if (msglen > MAX_IMSGSIZE - IMSG_HEADER_SIZE) { in file_write()
413 if (msglen > MAX_IMSGSIZE - IMSG_HEADER_SIZE) { in file_read()
473 if (sent > MAX_IMSGSIZE - IMSG_HEADER_SIZE - sizeof *msg) in file_push()
474 sent = MAX_IMSGSIZE - IMSG_HEADER_SIZE - sizeof *msg; in file_push()
702 if (bsize > MAX_IMSGSIZE - IMSG_HEADER_SIZE - sizeof *msg) in file_read_callback()
703 bsize = MAX_IMSGSIZE - IMSG_HEADER_SIZE - sizeof *msg; in file_read_callback()
H A Dclient.c368 if (size > MAX_IMSGSIZE - (sizeof *data)) { in client_main()
481 if (sslen > MAX_IMSGSIZE - IMSG_HEADER_SIZE) in client_send_identify()
H A Dserver-fn.c167 if (*cmd == '\0' || strlen(cmd) + 1 > MAX_IMSGSIZE - IMSG_HEADER_SIZE) in server_lock_client()
/openbsd/usr.sbin/lpd/
H A Dproc.c368 if (p->m_out.pos + len + IMSG_HEADER_SIZE > MAX_IMSGSIZE) in m_add()
451 if (sz > MAX_IMSGSIZE || in m_get()
/openbsd/usr.sbin/smtpd/
H A Dmproc.c297 if (p->m_pos + len + IMSG_HEADER_SIZE > MAX_IMSGSIZE) { in m_add()
396 if (sz > MAX_IMSGSIZE || in m_get()
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_ctl.c198 u_char pktbuf[MAX_IMSGSIZE - IMSG_HEADER_SIZE]; in npppd_ctl_imsg_compose()
/openbsd/usr.sbin/npppctl/
H A Dnpppctl.c341 nmax = (MAX_IMSGSIZE - IMSG_HEADER_SIZE - in clear_session()
/openbsd/usr.sbin/bgpd/
H A Drtr.c537 MAX_IMSGSIZE - IMSG_HEADER_SIZE) { in rtr_recalc()
H A Dbgpd.c723 MAX_IMSGSIZE - IMSG_HEADER_SIZE) { in send_config()
/openbsd/usr.sbin/radiusd/
H A Dradiusd_module.c309 siz = MAX_IMSGSIZE - sizeof(ans); in module_common_radpkt()
H A Dradiusd.c1579 siz = MAX_IMSGSIZE - sizeof(arg); in imsg_compose_radius_packet()
/openbsd/usr.sbin/httpd/
H A Dhttpd.h187 #define MAX_IMSG_DATA_SIZE (MAX_IMSGSIZE - IMSG_HEADER_SIZE)
/openbsd/sbin/unwind/
H A Dresolver.c935 uint8_t answer_imsg[MAX_IMSGSIZE - IMSG_HEADER_SIZE]; in resolve_done()