Lines Matching defs:sndlen
282 snmp_output(struct snmp_pdu *pdu, u_char *sndbuf, size_t *sndlen,
299 *sndlen = (size_t)(resp_b.asn_ptr - sndbuf);
661 u_char *sndbuf, size_t *sndlen, const char *source,
697 *sndlen = (size_t)(resp_b.asn_ptr - sndbuf);
732 *sndlen = (size_t)(resp_b.asn_ptr - sndbuf);
755 *sndlen = (size_t)(resp_b.asn_ptr - sndbuf);
1036 size_t sndlen;
1186 sndbuf, &sndlen, "SNMP", ierr, vi, NULL);
1191 sndlen, pi->peer, pi->peerlen);
1194 sndlen, pi);
1197 else if ((size_t)slen != sndlen)
1198 syslog(LOG_ERR, "send*: short write %zu/%zu", sndlen,
1220 size_t sndlen;
1232 snmp_output(pdu, sndbuf, &sndlen, "SNMP PROXY");
1235 len = trans->vtab->send(tp, sndbuf, sndlen, addr, addrlen);
1237 len = trans->vtab->send2(tp, sndbuf, sndlen, NULL);
1241 else if ((size_t)len != sndlen)
1243 sndlen, (size_t)len);