Searched refs:echo_size (Results 1 - 5 of 5) sorted by relevance
/freebsd-13-stable/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 70 int32_t n, s, count, wait, flood, echo_size, numeric; local 88 echo_size = NG_L2CAP_MTU_MINIMUM - sizeof(ng_l2cap_cmd_hdr_t); 136 echo_size = strtol(optarg, &endp, 10); 137 if (echo_size < sizeof(int32_t) || 138 echo_size > NG_L2CAP_MAX_ECHO_SIZE || 185 for (n = 0; n < echo_size; ) { 186 int32_t avail = min(echo_size - n, PATTERN_SIZE); 205 r.echo_size = echo_size; 223 r.echo_size, [all...] |
/freebsd-13-stable/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap_raw.c | 980 if ((p->echo_size != 0 && p->echo_data == NULL) || 981 p->echo_size > NG_L2CAP_MAX_ECHO_SIZE) { 987 NGM_L2CAP_L2CA_PING, sizeof(*ip) + p->echo_size, 999 ip->echo_size = p->echo_size; 1001 if (ip->echo_size > 0) { 1003 error = copyin(p->echo_data, ip + 1, p->echo_size); 1041 p->echo_size = min(p->echo_size, op->echo_size); [all...] |
/freebsd-13-stable/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket.h | 262 u_int32_t echo_size; member in struct:ng_btsocket_l2cap_raw_ping
|
H A D | ng_l2cap.h | 562 u_int16_t echo_size; /* size of echo data in bytes */ member in struct:__anon15251 570 u_int16_t echo_size; /* size of echo data in bytes */ member in struct:__anon15252
|
/freebsd-13-stable/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.c | 1496 if (ip->echo_size > NG_L2CAP_MAX_ECHO_SIZE) { 1498 "%s: %s - invalid L2CA_Ping request. Echo size is too big, echo_size=%d\n", 1499 __func__, NG_NODE_NAME(l2cap->node), ip->echo_size); 1538 msg->data + sizeof(*ip), ip->echo_size); 1590 op->echo_size = size;
|
Completed in 71 milliseconds