Lines Matching defs:buf_sz
282 * buf_sz: length of buffer
287 dyndns_addr_to_ptrname(int af, const void *addr, char *buf, size_t buf_sz)
306 if (len >= buf_sz)
308 (void) snprintf(buf, buf_sz, "%d.%d.%d.%d.in-addr.arpa",
318 if (len >= buf_sz)
423 * May be called with buf == NULL and buf_sz == 0, in which case the
429 * buf_sz: buffer length
435 dyndns_build_tkey(uchar_t *buf, size_t buf_sz, const dyndns_tkey_rdata_t *tkey)
458 if ((buf == NULL) && (buf_sz == 0))
461 if (tkey_len > buf_sz) {
507 * May be called with buf == NULL and buf_sz == 0, in which case the
513 * buf_sz: buffer length
522 dyndns_build_tsig(uchar_t *buf, size_t buf_sz, size_t msg_len,
569 if ((buf == NULL) && (buf_sz == 0))
572 if (msg_len + tsig_rrlen + tsig_rdlen > buf_sz) {
643 * buf_sz: size of buffer
651 dyndns_build_tkey_msg(res_state statp, uchar_t *buf, int buf_sz,
670 if (ns_newmsg_init(buf, buf_sz, &newmsg) != 0) {
804 int buf_sz = NS_MAXMSG;
820 if ((buf = malloc(buf_sz)) == NULL) {
882 buf, buf_sz, key_name, &tkey)) <= 0) {
1030 * buf_sz: buffer size
1047 dyndns_build_update_msg(res_state statp, uchar_t *buf, size_t buf_sz,
1111 if ((msg_len = res_nmkupdate(statp, HEAD(updque), buf, buf_sz)) < 0)
1265 int buf_sz = NS_MAXMSG;
1366 if ((buf = malloc(buf_sz)) == NULL) {
1418 if ((msg_len = dyndns_build_update_msg(statp, buf, buf_sz,
1544 if ((tsig_len = dyndns_build_tsig(buf, buf_sz, msg_len,
1572 if ((tsig_len = dyndns_build_tsig(buf, buf_sz, msg_len,