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

/freebsd-9.3-release/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c65 uint8_t *echo_data; local
74 echo_data = (uint8_t *) calloc(NG_L2CAP_MAX_ECHO_SIZE, sizeof(uint8_t));
75 if (echo_data == NULL) {
185 memcpy(echo_data + n, pattern, avail);
199 *((int32_t *) echo_data) = htonl(n);
203 r.echo_data = echo_data;
222 ntohl(*((int32_t *)(r.echo_data))),
238 free(echo_data);
/freebsd-9.3-release/sys/netgraph/bluetooth/include/
H A Dng_btsocket.h248 u_int8_t *echo_data; member in struct:ng_btsocket_l2cap_raw_ping
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_l2cap_raw.c950 if ((p->echo_size != 0 && p->echo_data == NULL) ||
972 error = copyin(p->echo_data, ip + 1, p->echo_size);
1002 error = copyout(op + 1, p->echo_data,

Completed in 104 milliseconds