Searched refs:imsg (Results 1 - 9 of 9) sorted by relevance
/freebsd-11.0-release/lib/libopenbsd/ |
H A D | Makefile | 6 imsg-buffer.c \ 7 imsg.c \
|
H A D | imsg.c | 1 /* $OpenBSD: imsg.c,v 1.13 2015/12/09 11:54:12 tb Exp $ */ 18 * $FreeBSD: releng/11.0/lib/libopenbsd/imsg.c 292023 2015-12-09 19:22:20Z rodrigc $ 31 #include "imsg.h" 126 imsg_get(struct imsgbuf *ibuf, struct imsg *imsg) argument 135 memcpy(&imsg->hdr, ibuf->r.buf, sizeof(imsg->hdr)); 136 if (imsg->hdr.len < IMSG_HEADER_SIZE || 137 imsg->hdr.len > MAX_IMSGSIZE) { 141 if (imsg 266 imsg_free(struct imsg *imsg) argument [all...] |
H A D | imsg.h | 1 /* $OpenBSD: imsg.h,v 1.3 2013/12/26 17:32:33 eric Exp $ */ 20 * $FreeBSD: releng/11.0/lib/libopenbsd/imsg.h 290375 2015-11-04 23:52:19Z rodrigc $ 75 struct imsg { struct 98 /* imsg.c */ 101 ssize_t imsg_get(struct imsgbuf *, struct imsg *); 110 void imsg_free(struct imsg *);
|
/freebsd-11.0-release/usr.sbin/ypldap/ |
H A D | ypldap_dns.c | 129 struct imsg imsg; local 158 if ((n = imsg_get(ibuf, &imsg)) == -1) 163 switch (imsg.hdr.type) { 165 name = imsg.data; 166 if (imsg.hdr.len < 1 + IMSG_HEADER_SIZE) 168 imsg.hdr.len -= 1 + IMSG_HEADER_SIZE; 169 if (name[imsg.hdr.len] != '\0' || 170 strlen(name) != imsg.hdr.len) 175 imsg [all...] |
H A D | ldapclient.c | 155 struct imsg imsg; local 185 if ((n = imsg_get(ibuf, &imsg)) == -1) 190 switch (imsg.hdr.type) { 193 if (idm->idm_id == imsg.hdr.peerid) 204 dlen = imsg.hdr.len - IMSG_HEADER_SIZE; 210 data = (u_char *)imsg.data; 229 imsg_free(&imsg); 258 struct imsg imsg; local [all...] |
H A D | ypldap.c | 357 struct imsg imsg; local 377 if ((n = imsg_get(ibuf, &imsg)) == -1) 382 switch (imsg.hdr.type) { 393 (void)memcpy(&ir, imsg.data, sizeof(ir)); 419 (void)memcpy(&ir, imsg.data, sizeof(ir)); 446 log_debug("main_dispatch_client: unexpected imsg %d", 447 imsg.hdr.type); 450 imsg_free(&imsg);
|
H A D | ypldap.h | 20 #include <imsg.h>
|
/freebsd-11.0-release/contrib/libpcap/ |
H A D | pcap-sita.c | 71 char *imsg; /* a pointer to an inbound message */ member in struct:unit 210 if (u->imsg) { /* then if an inbound message buffer exists */ 211 u->imsg = (char *)realloc(u->imsg, 1); /* and re-allocate the old large buffer into a new small one */ 212 if (u->imsg == NULL) { /* oops, realloc call failed */ 577 ptr = u->imsg; /* point to the start of the msg for this IOP */ 578 while (ptr < (u->imsg + u->len)) { 706 if ((u->imsg = realloc(u->imsg, (u->len + len))) == NULL) /* extend the buffer for the new data */ 708 memcpy((u->imsg [all...] |
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-sriox-defs.h | 823 uint64_t imsg : 5; /**< Incoming Message RAMs. */ member in struct:cvmx_sriox_bist_status::cvmx_sriox_bist_status_s 827 uint64_t imsg : 5; 867 uint64_t imsg : 5; /**< Incoming Message RAMs. member in struct:cvmx_sriox_bist_status::cvmx_sriox_bist_status_cn63xx 872 uint64_t imsg : 5; 910 uint64_t imsg : 5; /**< Incoming Message RAMs. */ member in struct:cvmx_sriox_bist_status::cvmx_sriox_bist_status_cn63xxp1 914 uint64_t imsg : 5;
|
Completed in 192 milliseconds