Searched refs:echo_data (Results 1 - 3 of 3) sorted by relevance

/freebsd-12-stable/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c68 uint8_t *echo_data; local
77 echo_data = (uint8_t *) calloc(NG_L2CAP_MAX_ECHO_SIZE, sizeof(uint8_t));
78 if (echo_data == NULL) {
188 memcpy(echo_data + n, pattern, avail);
202 *((int32_t *) echo_data) = htonl(n);
206 r.echo_data = echo_data;
225 ntohl(*((int32_t *)(r.echo_data))),
241 free(echo_data);
/freebsd-12-stable/sys/netgraph/bluetooth/include/
H A Dng_btsocket.h265 u_int8_t *echo_data; member in struct:ng_btsocket_l2cap_raw_ping
/freebsd-12-stable/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c962 if ((p->echo_size != 0 && p->echo_data == NULL) ||
984 error = copyin(p->echo_data, ip + 1, p->echo_size);
1014 error = copyout(op + 1, p->echo_data,

Completed in 108 milliseconds