/external/tcpdump/ |
D | print-dhcp6.c | 283 size_t optlen; in dhcp6opt_print() local 298 optlen = EXTRACT_16BITS(&dh6o->dh6opt_len); in dhcp6opt_print() 299 if (ep < cp + sizeof(*dh6o) + optlen) in dhcp6opt_print() 306 if (optlen < 2) { in dhcp6opt_print() 314 if (optlen >= 2 + 6) { in dhcp6opt_print() 318 for (i = 8; i < optlen; i++) in dhcp6opt_print() 328 if (optlen >= 2 + 8) { in dhcp6opt_print() 340 if (optlen >= 2 + 2) { in dhcp6opt_print() 343 for (i = 4; i < optlen; i++) in dhcp6opt_print() 358 if (optlen < 24) { in dhcp6opt_print() [all …]
|
D | print-dccp.c | 502 u_int optlen; in dccp_print() local 508 optlen = dccp_print_option(ndo, cp, hlen); in dccp_print() 509 if (!optlen) in dccp_print() 511 if (hlen <= optlen) in dccp_print() 513 hlen -= optlen; in dccp_print() 514 cp += optlen; in dccp_print() 547 uint8_t optlen, i; in dccp_print_option() local 553 optlen = *(option +1); in dccp_print_option() 554 if (optlen < 2) { in dccp_print_option() 563 optlen = 1; in dccp_print_option() [all …]
|
D | print-ip6opts.c | 48 int optlen; in ip6_sopt_print() local 50 for (i = 0; i < len; i += optlen) { in ip6_sopt_print() 52 optlen = 1; in ip6_sopt_print() 55 optlen = bp[i + 1] + 2; in ip6_sopt_print() 59 if (i + optlen > len) in ip6_sopt_print() 92 int optlen = 0; in ip6_opt_print() local 96 for (i = 0; i < len; i += optlen) { in ip6_opt_print() 98 optlen = 1; in ip6_opt_print() 101 optlen = bp[i + 1] + 2; in ip6_opt_print() 105 if (i + optlen > len) in ip6_opt_print() [all …]
|
D | print-mobility.c | 107 unsigned i, optlen; in mobility_opt_print() local 109 for (i = 0; i < len; i += optlen) { in mobility_opt_print() 112 optlen = 1; in mobility_opt_print() 116 optlen = bp[i + 1] + 2; in mobility_opt_print() 121 if (i + optlen > len) in mobility_opt_print() 123 ND_TCHECK(bp[i + optlen]); in mobility_opt_print()
|
D | print-decnet.c | 1156 u_int segsize, optlen; in print_nsp() local 1167 optlen = EXTRACT_LE_8BITS(ccmp->cc_optlen); in print_nsp() 1197 if (optlen) { in print_nsp() 1198 ND_PRINT((ndo, "optlen %d ", optlen)); in print_nsp() 1200 if (optlen > nsplen - sizeof(struct ccmsg)) in print_nsp() 1203 ND_TCHECK2(*dp, optlen); in print_nsp() 1204 pdata(ndo, dp, optlen); in print_nsp() 1214 u_int optlen; in print_nsp() local 1223 optlen = EXTRACT_LE_8BITS(dimp->di_optlen); in print_nsp() 1226 if (optlen) { in print_nsp() [all …]
|
D | print-udp.c | 166 u_int i2, optlen; in rtp_print() local 169 optlen = (i2 >> 16) & 0xff; in rtp_print() 170 if (optlen == 0 || optlen > len) { in rtp_print() 174 ip += optlen; in rtp_print() 175 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 | 91 int optlen = strlen(opt), len, no, got = 0; in comma_scan() local 98 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 | 1294 Int *optlen) in VG_() 1305 args[4] = (UWord)optlen; in VG_() 1315 (UWord)optval, (UWord)optlen ); in VG_() 1322 (UWord)optval, (UWord)optlen ); in VG_() 1328 (UWord)optlen, VKI_SOV_DEFAULT /*version*/); in VG_() 1338 Int optlen) in VG_() 1349 args[4] = (UWord)optlen; in VG_() 1359 (UWord)optval, (UWord)optlen ); in VG_() 1366 (UWord)optval, (UWord)optlen ); in VG_() 1373 (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/webrtc/webrtc/test/channel_transport/ |
D | udp_socket_posix.cc | 117 const int8_t* optval, int32_t optlen) in SetSockopt() argument 119 if(0 == setsockopt(_socket, level, optname, optval, optlen )) in SetSockopt()
|
D | udp_socket_posix.h | 43 int32_t optlen) override;
|
D | udp_socket_wrapper.h | 70 const int8_t* optval, int32_t optlen) = 0;
|
D | udp_socket2_win.h | 53 int32_t optlen) override;
|
/external/toybox/toys/pending/ |
D | modprobe.c | 85 int optlen = 0; in add_opts() local 87 if (opts) optlen = strlen(opts); in add_opts() 88 opts = xrealloc(opts, optlen + strlen(toadd) + 2); in add_opts() 89 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()
|
D | dhcpd.c | 854 static int send_packet6(uint8_t relay, uint8_t *client_lla, uint16_t optlen) in send_packet6() argument 863 padding = sizeof(packet.dhcp6.options) - optlen; in send_packet6() 1610 uint16_t optlen = 0; in dhcpd_main() local 1762 optlen = 0; in dhcpd_main() 1844 optlen += (server_ia_na_len + 4); in dhcpd_main() 1874 optlen += (server_duid_len + 4); in dhcpd_main() 1878 optlen += (client_duid_len + 4); in dhcpd_main() 1882 send_packet6(0, client_lla, optlen); in dhcpd_main() 1888 optlen = 0; in dhcpd_main() 1895 optlen += (client_duid_len + 4); in dhcpd_main() [all …]
|
/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/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | socket_ops.ipp | 1035 const void* optval, std::size_t optlen) 1038 (const char*)optval, (SockLenType)optlen); 1042 const void* optval, std::size_t optlen, asio::error_code& ec) 1059 if (optlen != sizeof(int)) 1078 s, level, optname, optval, optlen), ec); 1090 SOL_SOCKET, SO_REUSEPORT, optval, optlen); 1101 void* optval, std::size_t* optlen) 1103 SockLenType tmp_optlen = (SockLenType)*optlen; 1105 *optlen = (std::size_t)tmp_optlen; 1110 void* optval, size_t* optlen, asio::error_code& ec) [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface_unix.c | 80 socklen_t optlen; in wpas_ctrl_sock_debug() local 87 optlen = sizeof(sndbuf); in wpas_ctrl_sock_debug() 89 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0) in wpas_ctrl_sock_debug() 285 socklen_t optlen; in wpas_ctrl_iface_throttle() local 288 optlen = sizeof(sndbuf); in wpas_ctrl_iface_throttle() 290 if (getsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, &optlen) < 0 || in wpas_ctrl_iface_throttle()
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | socket_ops.hpp | 191 std::size_t optlen, asio::error_code& ec); 195 size_t* optlen, asio::error_code& ec);
|
/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
|