/external/tcpdump/ |
D | print-dhcp6.c | 342 size_t optlen; in dhcp6opt_print() local 357 optlen = EXTRACT_16BITS(&dh6o->dh6opt_len); in dhcp6opt_print() 358 if (ep < cp + sizeof(*dh6o) + optlen) in dhcp6opt_print() 365 if (optlen < 2) { in dhcp6opt_print() 373 if (optlen >= 2 + 6) { in dhcp6opt_print() 377 for (i = 8; i < optlen; i++) in dhcp6opt_print() 387 if (optlen >= 2 + 8) { in dhcp6opt_print() 399 if (optlen >= 2 + 2) { in dhcp6opt_print() 402 for (i = 4; i < optlen; i++) in dhcp6opt_print() 417 if (optlen < 24) { in dhcp6opt_print() [all …]
|
D | print-dccp.c | 325 u_int optlen; in dccp_print() local 332 optlen = dccp_print_option(cp); in dccp_print() 333 if (!optlen) goto trunc2; in dccp_print() 334 if (hlen <= optlen) break; in dccp_print() 335 hlen -= optlen; in dccp_print() 336 cp += optlen; in dccp_print() 350 u_int8_t optlen, i; in dccp_print_option() local 356 optlen = *(option +1); in dccp_print_option() 357 if (optlen < 2) { in dccp_print_option() 361 } else optlen = 1; in dccp_print_option() [all …]
|
D | print-ip6opts.c | 77 int optlen; in ip6_sopt_print() local 79 for (i = 0; i < len; i += optlen) { in ip6_sopt_print() 81 optlen = 1; in ip6_sopt_print() 84 optlen = bp[i + 1] + 2; in ip6_sopt_print() 88 if (i + optlen > len) in ip6_sopt_print() 142 int optlen = 0; in ip6_opt_print() local 146 for (i = 0; i < len; i += optlen) { in ip6_opt_print() 148 optlen = 1; in ip6_opt_print() 151 optlen = bp[i + 1] + 2; in ip6_opt_print() 155 if (i + optlen > len) in ip6_opt_print() [all …]
|
D | print-decnet.c | 713 u_int segsize, optlen; in print_nsp() local 724 optlen = EXTRACT_LE_8BITS(ccmp->cc_optlen); in print_nsp() 754 if (optlen) { in print_nsp() 755 (void)printf("optlen %d ", optlen); in print_nsp() 757 if (optlen > nsplen - sizeof(struct ccmsg)) in print_nsp() 760 TCHECK2(*dp, optlen); in print_nsp() 761 pdata(dp, optlen); in print_nsp() 771 u_int optlen; in print_nsp() local 780 optlen = EXTRACT_LE_8BITS(dimp->di_optlen); in print_nsp() 783 if (optlen) { in print_nsp() [all …]
|
D | print-mobility.c | 95 int optlen; in mobility_opt_print() local 97 for (i = 0; i < len; i += optlen) { in mobility_opt_print() 99 optlen = 1; in mobility_opt_print() 102 optlen = bp[i + 1] + 2; in mobility_opt_print() 106 if (i + optlen > len) in mobility_opt_print()
|
D | print-udp.c | 177 u_int i2, optlen; in rtp_print() local 180 optlen = (i2 >> 16) & 0xff; in rtp_print() 181 if (optlen == 0 || optlen > len) { in rtp_print() 185 ip += optlen; in rtp_print() 186 len -= optlen; in rtp_print()
|
/external/iputils/ |
D | ping.c | 90 int optlen = 0; variable 499 optlen = 40; in main() 524 optlen = 40; in main() 541 optlen = 40; in main() 547 hold += ((hold+511)/512)*(optlen + 20 + 16 + 64 + 160); in main() 580 if (datalen > 0xFFFF - 8 - optlen - 20) { in main() 582 …printf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); in main() 586 …intf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); in main() 600 printf("%d(%d) bytes of data.\n", datalen, datalen+8+optlen+20); in main() 794 int optlen; in parse_reply() local [all …]
|
/external/toybox/lib/ |
D | getmountlist.c | 72 int optlen = strlen(opt), len, no, got = 0; in comma_scan() local 79 if (optlen == len-no && !strncmp(opt, s+no, optlen)) { in comma_scan()
|
/external/valgrind/coregrind/ |
D | pub_core_libcfile.h | 76 void *optval, Int *optlen ); 78 void *optval, Int optlen );
|
D | m_libcfile.c | 1141 Int *optlen) in VG_() 1152 args[4] = (UWord)optlen; in VG_() 1162 (UWord)optval, (UWord)optlen ); in VG_() 1169 (UWord)optval, (UWord)optlen ); in VG_() 1179 Int optlen) in VG_() 1190 args[4] = (UWord)optlen; in VG_() 1200 (UWord)optval, (UWord)optlen ); in VG_() 1207 (UWord)optval, (UWord)optlen ); in VG_()
|
/external/ppp/pppd/ |
D | ccp.c | 1497 int optlen; local 1525 optlen = p[1]; 1526 if (optlen < 2 || optlen > len) 1529 len -= optlen; 1530 optend = p + optlen; 1534 if (optlen >= CILEN_MPPE) { 1555 if (optlen >= CILEN_DEFLATE) { 1567 if (optlen >= CILEN_BSD_COMPRESS) { 1574 if (optlen >= CILEN_PREDICTOR_1) { 1580 if (optlen >= CILEN_PREDICTOR_2) {
|
/external/toybox/toys/pending/ |
D | modprobe.c | 87 int optlen = 0; in add_opts() local 89 if (opts) optlen = strlen(opts); in add_opts() 90 opts = xrealloc(opts, optlen + strlen(toadd) + 2); in add_opts() 91 sprintf(opts + optlen, " %s", toadd); in add_opts()
|
D | dhcp.c | 1061 int count, optlen, size = ARRAY_LEN(options_list); in dhcpc_parseoptions() local 1137 optlen = optptr[1]; in dhcpc_parseoptions() 1139 while (optlen) { in dhcpc_parseoptions() 1143 optlen -= 4; in dhcpc_parseoptions() 1156 optlen = optptr[1]; in dhcpc_parseoptions() 1158 while (optlen >= 1 + 4) { in dhcpc_parseoptions() 1165 optlen--; in dhcpc_parseoptions() 1170 optlen--; in dhcpc_parseoptions() 1172 if (optlen < 4) break; in dhcpc_parseoptions() 1179 optlen -= 4; in dhcpc_parseoptions()
|
/external/kernel-headers/original/uapi/linux/ |
D | isdn_ppp.h | 63 int optlen; member
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_monitor.c | 346 socklen_t optlen; in nl80211_create_monitor_interface() local 414 optlen = sizeof(optval); in nl80211_create_monitor_interface() 417 (drv->monitor_sock, SOL_SOCKET, SO_PRIORITY, &optval, optlen)) { in nl80211_create_monitor_interface()
|
/external/netcat/ |
D | netcat.c | 655 socklen_t optlen; in timeout_connect() local 669 optlen = sizeof(optval); in timeout_connect() 671 &optval, &optlen)) == 0) { in timeout_connect()
|
/external/kernel-headers/original/uapi/rdma/ |
D | rdma_user_cm.h | 290 __u32 optlen; member
|
/external/openssh/ |
D | misc.c | 142 socklen_t optlen; in set_nodelay() local 144 optlen = sizeof opt; in set_nodelay() 145 if (getsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, &optlen) == -1) { in set_nodelay()
|
D | sshconnect.c | 337 socklen_t optlen; in timeout_connect() local 382 optlen = sizeof(optval); in timeout_connect() 384 &optlen) == -1) { in timeout_connect()
|
/external/mdnsresponder/mDNSCore/ |
D | DNSCommon.c | 232 if (opt->optlen >= DNSOpt_OwnerData_ID_Wake_Space-4) in GetRRDisplayString_rdb() 235 if (opt->optlen > DNSOpt_OwnerData_ID_Wake_Space-4) in GetRRDisplayString_rdb() 2296 opt->optlen = (mDNSu16)((mDNSu16)ptr[2] << 8 | ptr[3]); in GetLargeResourceRecord() 2298 …if (ptr + opt->optlen > end) { LogInfo("GetLargeResourceRecord: ptr + opt->optlen > end"); goto fa… in GetLargeResourceRecord() 2302 if (opt->optlen == DNSOpt_LLQData_Space - 4) in GetLargeResourceRecord() 2315 if (opt->optlen == DNSOpt_LeaseData_Space - 4) in GetLargeResourceRecord() 2324 if (ValidOwnerLength(opt->optlen)) in GetLargeResourceRecord() 2331 if (opt->optlen >= DNSOpt_OwnerData_ID_Wake_Space-4) in GetLargeResourceRecord() 2336 if (opt->optlen > DNSOpt_OwnerData_ID_Wake_Space-4) in GetLargeResourceRecord() 2337 …mDNSPlatformMemCopy(opt->u.owner.password.b, ptr+14, opt->optlen - (DNSOpt_OwnerData_ID_Wake_Space… in GetLargeResourceRecord() [all …]
|
/external/compiler-rt/include/sanitizer/ |
D | linux_syscall_hooks.h | 1061 #define __sanitizer_syscall_pre_setsockopt(fd, level, optname, optval, optlen) \ argument 1064 (long)(optlen)) 1066 optlen) \ argument 1069 (long)(optlen)) 1070 #define __sanitizer_syscall_pre_getsockopt(fd, level, optname, optval, optlen) \ argument 1073 (long)(optlen)) 1075 optlen) \ argument 1078 (long)(optlen)) 2595 long optval, long optlen); 2598 long optlen); [all …]
|
/external/valgrind/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 321 Syscall param setsockopt(optlen) contains uninitialised byte(s) 370 Syscall param getsockopt(optlen) contains uninitialised byte(s) 373 Syscall param socketcall.getsockopt(optlen) points to unaddressable byte(s)
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-tilegx-linux.c | 740 const void *, optval, int, optlen); in PRE() 749 void *, optval, int, *optlen); in PRE()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_syscalls.inc | 1743 long optlen) {} 1746 void *optval, long optlen) { 1755 void *optlen) {} 1758 void *optval, void *optlen) { 1763 if (optlen) POST_WRITE(optlen, sizeof(int));
|
D | sanitizer_common_interceptors.inc | 2010 int *optlen) { 2013 optlen); 2014 if (optlen) COMMON_INTERCEPTOR_READ_RANGE(ctx, optlen, sizeof(*optlen)); 2018 int res = REAL(getsockopt)(sockfd, level, optname, optval, optlen); 2020 if (optval && optlen) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, optval, *optlen);
|