Searched refs:echo_size (Results 1 - 5 of 5) sorted by relevance
/freebsd-9.3-release/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 67 int32_t n, s, count, wait, flood, echo_size, numeric; local 85 echo_size = NG_L2CAP_MTU_MINIMUM - sizeof(ng_l2cap_cmd_hdr_t); 133 echo_size = strtol(optarg, &endp, 10); 134 if (echo_size < sizeof(int32_t) || 135 echo_size > NG_L2CAP_MAX_ECHO_SIZE || 182 for (n = 0; n < echo_size; ) { 183 int32_t avail = min(echo_size - n, PATTERN_SIZE); 202 r.echo_size = echo_size; 220 r.echo_size, [all...] |
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_l2cap_raw.c | 950 if ((p->echo_size != 0 && p->echo_data == NULL) || 951 p->echo_size > NG_L2CAP_MAX_ECHO_SIZE) { 957 NGM_L2CAP_L2CA_PING, sizeof(*ip) + p->echo_size, 969 ip->echo_size = p->echo_size; 971 if (ip->echo_size > 0) { 972 error = copyin(p->echo_data, ip + 1, p->echo_size); 999 p->echo_size = min(p->echo_size, op->echo_size); [all...] |
/freebsd-9.3-release/sys/netgraph/bluetooth/include/ |
H A D | ng_btsocket.h | 247 u_int32_t echo_size; member in struct:ng_btsocket_l2cap_raw_ping
|
H A D | ng_l2cap.h | 530 u_int16_t echo_size; /* size of echo data in bytes */ member in struct:__anon9865 538 u_int16_t echo_size; /* size of echo data in bytes */ member in struct:__anon9866
|
/freebsd-9.3-release/sys/netgraph/bluetooth/l2cap/ |
H A D | ng_l2cap_ulpi.c | 1316 if (ip->echo_size > NG_L2CAP_MAX_ECHO_SIZE) { 1318 "%s: %s - invalid L2CA_Ping request. Echo size is too big, echo_size=%d\n", 1319 __func__, NG_NODE_NAME(l2cap->node), ip->echo_size); 1358 msg->data + sizeof(*ip), ip->echo_size); 1410 op->echo_size = size;
|
Completed in 132 milliseconds