Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 10 of 10) sorted by relevance

/openbsd/src/usr.sbin/sasyncd/
Dpfkey.c457 u_int8_t *sadb, *spd, *max, *next, *sendbuf; in pfkey_snapshot() local
489 sendbuf = calloc(m->sadb_msg_len, CHUNK); in pfkey_snapshot()
490 if (sendbuf) { in pfkey_snapshot()
491 memcpy(sendbuf, m, m->sadb_msg_len * CHUNK); in pfkey_snapshot()
492 net_queue(p, MSG_PFKEYDATA, sendbuf, in pfkey_snapshot()
518 sendbuf = calloc(m->sadb_msg_len, CHUNK); in pfkey_snapshot()
519 if (sendbuf) { in pfkey_snapshot()
520 memcpy(sendbuf, m, m->sadb_msg_len * CHUNK); in pfkey_snapshot()
521 net_queue(p, MSG_PFKEYDATA, sendbuf, in pfkey_snapshot()
/openbsd/src/sys/arch/armv7/omap/
Dnxphdmi.c416 uint8_t sendbuf[] = { addr, val }; in nxphdmi_cec_write() local
419 &sendbuf, 2, NULL, 0, 0))) { in nxphdmi_cec_write()
457 uint8_t sendbuf[] = { REGADDR(reg), val }; in nxphdmi_write() local
462 &sendbuf, 2, NULL, 0, 0))) { in nxphdmi_write()
479 uint8_t sendbuf[] = { REGADDR(reg), val >> 8, val & 0xff }; in nxphdmi_write2() local
484 &sendbuf, 3, NULL, 0, 0))) { in nxphdmi_write2()
528 uint8_t sendbuf[] = { TDA_CURPAGE_ADDR, page }; in nxphdmi_set_page() local
534 &sendbuf, sizeof(sendbuf), NULL, 0, 0))) { in nxphdmi_set_page()
/openbsd/src/usr.sbin/relayd/
Dcheck_tls.c112 len = strlen(cte->table->sendbuf); in check_tls_write()
113 buf = cte->table->sendbuf; in check_tls_write()
164 if (cte->table->sendbuf != NULL) { in check_tls_handshake()
Dcheck_tcp.c186 if (cte->table->sendbuf != NULL || cte->table->sendbinbuf != NULL) { in tcp_host_up()
219 len = strlen(cte->table->sendbuf); in tcp_send_req()
220 req = cte->table->sendbuf; in tcp_send_req()
Dparse.y372 sendbuf : NOTHING {
373 table->sendbuf = NULL;
376 table->sendbuf = strdup($1);
377 if (table->sendbuf == NULL)
392 table->sendbuf = strdup($1);
393 if (table->sendbuf == NULL)
923 if (asprintf(&table->sendbuf,
929 if (table->sendbuf == NULL)
938 if (asprintf(&table->sendbuf,
944 if (table->sendbuf == NULL)
[all …]
Drelayd.c540 free(table->sendbuf); in purge_table()
1187 ((tb->sendbuf == NULL && table->sendbuf == NULL) || in table_findbyconf()
1188 (tb->sendbuf != NULL && table->sendbuf != NULL && in table_findbyconf()
1189 strcmp(tb->sendbuf, table->sendbuf) == 0))) in table_findbyconf()
Dconfig.c329 if (tb->sendbuf != NULL) { in config_settable()
330 iov[c].iov_base = tb->sendbuf; in config_settable()
331 iov[c++].iov_len = strlen(tb->sendbuf); in config_settable()
362 if ((tb->sendbuf = get_string(p + s, sb)) == NULL) { in config_gettable()
368 tb->sendbinbuf = string2binary(tb->sendbuf); in config_gettable()
Drelayd.h524 char *sendbuf; member
/openbsd/src/usr.bin/dig/
Ddig.h196 isc_buffer_t sendbuf; member
Ddighost.c2331 query->sendbuf = lookup->renderbuf; in setup_lookup()
2596 isc_buffer_t *sendbuf; in send_udp() local
2643 sendbuf = clone_buffer(&query->sendbuf); in send_udp()
2644 ISC_LIST_ENQUEUE(query->sendlist, sendbuf, link); in send_udp()
2840 isc_buffer_putuint16(&query->slbuf, (uint16_t) query->sendbuf.used); in launch_next_query()
2847 buffer = clone_buffer(&query->sendbuf); in launch_next_query()