Searched refs:sendbuf (Results 1 - 7 of 7) sorted by relevance
/freebsd-10.2-release/tests/sys/netinet/ |
H A D | udp_dontroute.c | 60 const char* sendbuf = "Hello, World!"; local 90 ret = sendto(s, sendbuf, strlen(sendbuf), 0, (struct sockaddr*)&dst,
|
/freebsd-10.2-release/contrib/ntp/lib/isc/tests/ |
H A D | socket_test.c | 89 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; local 119 strcpy(sendbuf, "Hello"); 120 r.base = (void *) sendbuf; 121 r.length = strlen(sendbuf) + 1; 160 char sendbuf[BUFSIZ], recvbuf[BUFSIZ]; local 193 strcpy(sendbuf, "Hello"); 194 r.base = (void *) sendbuf; 195 r.length = strlen(sendbuf) + 1; 205 strcpy(sendbuf, "World"); 206 r.base = (void *) sendbuf; [all...] |
/freebsd-10.2-release/usr.sbin/bluetooth/btpand/ |
H A D | channel.c | 87 chan->sendbuf = malloc(chan->mtu); 88 if (chan->sendbuf == NULL) { 89 log_err("Could not malloc channel sendbuf: %m"); 159 free(chan->sendbuf);
|
H A D | bnep.c | 647 p = chan->sendbuf; 679 if (p + eh->len > chan->sendbuf + chan->mtu) 691 iov[0].iov_base = chan->sendbuf; 692 iov[0].iov_len = (p - chan->sendbuf);
|
H A D | btpand.h | 102 uint8_t * sendbuf; member in struct:channel
|
/freebsd-10.2-release/usr.bin/csup/ |
H A D | mux.c | 157 struct buf *sendbuf; member in struct:chan 495 avail = buf_avail(chan->sendbuf); 501 buf_put(chan->sendbuf, cp + pos, n); 592 chan->sendbuf = buf_new(CHAN_SBSIZE); 614 buf_free(chan->sendbuf); 825 size = min(buf_count(chan->sendbuf), chan->sendmss); 849 buf = chan->sendbuf; 942 buf_count(chan->sendbuf) > 0)
|
/freebsd-10.2-release/contrib/ldns/ |
H A D | net.c | 651 uint8_t *sendbuf; local 655 sendbuf = LDNS_XMALLOC(uint8_t, ldns_buffer_position(qbin) + 2); 656 if(!sendbuf) return 0; 657 ldns_write_uint16(sendbuf, ldns_buffer_position(qbin)); 658 memcpy(sendbuf + 2, ldns_buffer_begin(qbin), ldns_buffer_position(qbin)); 660 bytes = sendto(sockfd, (void*)sendbuf, 663 LDNS_FREE(sendbuf);
|
Completed in 130 milliseconds