Lines Matching defs:peek
59 struct strpeek peek;
93 peek.ctlbuf.maxlen = tli_state_ptr->ti_ctlsize;
94 peek.ctlbuf.len = 0;
95 peek.ctlbuf.buf = tli_state_ptr->ti_ctlbuf;
97 peek.databuf.maxlen = -1;
98 peek.databuf.len = 0;
99 peek.databuf.buf = 0;
100 peek.flags = 0;
102 switch (ioctl(request->fd, I_PEEK, &peek)) {
104 tcpd_warn("can't peek at endpoint: %s", tli_error());
115 if (peek.ctlbuf.len < sizeof(long)) {
119 TSI_prim_ptr = (union T_primitives *) peek.ctlbuf.buf;
125 if ((peek.ctlbuf.len < sizeof(struct T_unitdata_ind)) ||
127 (peek.ctlbuf.len <
135 peek.ctlbuf.buf + TSI_prim_ptr->unitdata_ind.SRC_offset,