Lines Matching refs:len

63 	unsigned int len = sizeof(*un);  in check_un()  local
64 int ret = connect(-1, (void *) un, len); in check_un()
67 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
70 ret = connect(-1, (void *) un, len); in check_un()
72 " = %d EBADF (%m)\n", 0, len, ret); in check_un()
76 ret = connect(-1, (void *) un, len); in check_un()
79 (int) sizeof(un->sun_path) - 3, 0, len, ret); in check_un()
84 len = sizeof(*un) + 2; in check_un()
85 ret = connect(-1, (void *) un, len); in check_un()
88 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
91 ret = connect(-1, (void *) un, len); in check_un()
94 (int) sizeof(un->sun_path) - 1, 0, len, ret); in check_un()
98 len = sizeof(*un) - 2; in check_un()
99 ret = connect(-1, (void *) un, len); in check_un()
102 (int) sizeof(un->sun_path) - 2, 0, len, ret); in check_un()
105 ret = connect(-1, (void *) un, len); in check_un()
108 (int) sizeof(un->sun_path) - 3, 0, len, ret); in check_un()
110 len = sizeof(*un); in check_un()
111 ret = connect(-1, (void *) un, len); in check_un()
112 printf("connect(-1, %p, %u) = %d EBADF (%m)\n", un, len, ret); in check_un()
117 len = sizeof(struct sockaddr_storage) + 1; in check_un()
118 ret = connect(-1, (void *) un, len); in check_un()
121 (int) sizeof(un->sun_path), 0, len, ret); in check_un()
124 ret = connect(-1, (void *) un, len); in check_un()
127 (int) sizeof(un->sun_path) - 1, 0, len, ret); in check_un()
140 unsigned int len = sizeof(*in); in check_in() local
141 int ret = connect(-1, (void *) in, len); in check_in()
144 h_port, h_addr, len, ret); in check_in()
150 len = sizeof(*in) + 4; in check_in()
151 ret = connect(-1, (void *) in, len); in check_in()
154 h_port, h_addr, len, ret); in check_in()
160 len = sizeof(*in) - 4; in check_in()
161 ret = connect(-1, (void *) in, len); in check_in()
165 len, ret); in check_in()
167 len = sizeof(*in); in check_in()
168 ret = connect(-1, (void *) in, len); in check_in()
169 printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in, len, ret); in check_in()
178 unsigned int len = sizeof(*in6); in check_in6_linklocal() local
179 int ret = connect(-1, (void *) in6, len); in check_in6_linklocal()
186 ntohl(in6->sin6_flowinfo), in6->sin6_scope_id, len, ret); in check_in6_linklocal()
191 ret = connect(-1, (void *) in6, len); in check_in6_linklocal()
198 ntohl(in6->sin6_flowinfo), len, ret); in check_in6_linklocal()
216 unsigned int len = sizeof(*in6); in check_in6() local
217 int ret = connect(-1, (void *) in6, len); in check_in6()
222 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
233 len = sizeof(*in6) + 4; in check_in6()
234 ret = connect(-1, (void *) in6, len); in check_in6()
239 h_port, h_addr, h_flowinfo, in6->sin6_scope_id, len, ret); in check_in6()
246 len = sizeof(*in6) - sizeof(in6->sin6_scope_id); in check_in6()
247 ret = connect(-1, (void *) in6, len); in check_in6()
252 h_port, h_addr, h_flowinfo, len, ret); in check_in6()
259 len = sizeof(*in6) - sizeof(in6->sin6_scope_id) - 4; in check_in6()
260 ret = connect(-1, (void *) in6, len); in check_in6()
264 (int) (len - offsetof(struct sockaddr_in6, sin6_addr)), 0, in check_in6()
265 len, ret); in check_in6()
267 len = sizeof(*in6) - sizeof(in6->sin6_scope_id); in check_in6()
268 ret = connect(-1, (void *) in6, len); in check_in6()
269 printf("connect(-1, %p, %u) = %d EBADF (%m)\n", in6, len, ret); in check_in6()
285 unsigned int len = sizeof(c_ipx); in check_ipx() local
286 int ret = connect(-1, ipx, len); in check_ipx()
295 c_ipx.sipx_type, len, ret); in check_ipx()
305 unsigned int len = sizeof(*nl); in check_nl() local
306 int ret = connect(-1, (void *) nl, len); in check_nl()
309 nl->nl_pid, nl->nl_groups, len, ret); in check_nl()
315 len = sizeof(*nl) + 4; in check_nl()
316 ret = connect(-1, (void *) nl, len); in check_nl()
319 nl->nl_pid, nl->nl_groups, len, ret); in check_nl()
335 unsigned int len = sizeof(c_ll); in check_ll() local
336 int ret = connect(-1, ll, len); in check_ll()
348 len, ret); in check_ll()
351 ret = connect(-1, ll, len); in check_ll()
363 len, ret); in check_ll()
366 ret = connect(-1, ll, len); in check_ll()
371 " = %d EBADF (%m)\n", c_ll.sll_ifindex, len, ret); in check_ll()
377 ret = connect(-1, ll, len); in check_ll()
383 " = %d EBADF (%m)\n", len, ret); in check_ll()
397 unsigned int len = sizeof(*hci); in check_hci() local
398 int ret = connect(-1, (void *) hci, len); in check_hci()
401 h_port, len, ret); in check_hci()
412 unsigned int len = sizeof(c_sco); in check_sco() local
413 int ret = connect(-1, sco, len); in check_sco()
420 len, ret); in check_sco()
432 unsigned int len = sizeof(c_rc); in check_rc() local
433 int ret = connect(-1, rc, len); in check_rc()
440 c_rc.rc_channel, len, ret); in check_rc()
456 unsigned int len = sizeof(c_l2); in check_l2() local
457 int ret = connect(-1, l2, len); in check_l2()
466 h_cid, c_l2.l2_bdaddr_type, len, ret); in check_l2()
479 unsigned int len = sizeof(*u.st) + 8; in check_raw() local
480 int ret = connect(-1, (void *) u.st, len); in check_raw()
483 (int) (sizeof(*u.st) - sizeof(u.sa->sa_family)), 0, len, ret); in check_raw()
486 len = sizeof(u.sa->sa_family) + 1; in check_raw()
487 ret = connect(-1, (void *) u.st, len); in check_raw()
489 " = %d EBADF (%m)\n", len, ret); in check_raw()
492 ++len; in check_raw()
493 ret = connect(-1, (void *) u.st, len); in check_raw()
495 " = %d EBADF (%m)\n", len, ret); in check_raw()