/external/tcpdump/ |
print-udp.c | 177 u_int i2, optlen; local 180 optlen = (i2 >> 16) & 0xff; 181 if (optlen == 0 || optlen > len) { 185 ip += optlen; 186 len -= optlen;
|
print-dhcp6.c | 342 size_t optlen; local 357 optlen = EXTRACT_16BITS(&dh6o->dh6opt_len); 358 if (ep < cp + sizeof(*dh6o) + optlen) 365 if (optlen < 2) { 373 if (optlen >= 2 + 6) { 377 for (i = 8; i < optlen; i++) 387 if (optlen >= 2 + 8) { 399 if (optlen >= 2 + 2) { 402 for (i = 4; i < optlen; i++) 417 if (optlen < 24) [all...] |
/system/core/libnetutils/ |
dhcpclient.c | 170 int optlen; local 193 optlen = *x++; 195 if (optlen > len) { 200 if (optlen >= 4) { 207 if (optlen >= 4) memcpy(&info->gateway, x, 4); 210 if (optlen >= 4) memcpy(&info->dns1, x + 0, 4); 211 if (optlen >= 8) memcpy(&info->dns2, x + 4, 4); 214 if (optlen >= 4) { 220 if (optlen >= 4) memcpy(&info->serveraddr, x, 4); 228 x += optlen; [all...] |
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 410 uint16_t optlen = opthdr->nd_opt_len; local 411 if (optlen * 8 > len) { 413 optlen * 8, len, opthdr->nd_opt_type); 420 // So for a valid option with one or more addresses, optlen must be 422 if ((optlen < 3) || !(optlen & 0x1)) { 423 SLOGE("Invalid optlen %d for RDNSS option\n", optlen); 426 int numaddrs = (optlen - 1) / 2;
|
/external/chromium_org/third_party/webrtc/base/ |
win32socketserver.cc | 403 int optlen = sizeof(value); local 404 return ::getsockopt(socket_, slevel, sopt, p, &optlen);
|
/external/iputils/ |
ping.c | 90 int optlen = 0; variable 499 optlen = 40; 524 optlen = 40; 541 optlen = 40; 547 hold += ((hold+511)/512)*(optlen + 20 + 16 + 64 + 160); 580 if (datalen > 0xFFFF - 8 - optlen - 20) { 582 fprintf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 586 fprintf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); 600 printf("%d(%d) bytes of data.\n", datalen, datalen+8+optlen+20); 794 int optlen; local 1136 int optlen, totlen; local [all...] |
/external/netcat/ |
netcat.c | 655 socklen_t optlen; local 669 optlen = sizeof(optval); 671 &optval, &optlen)) == 0) {
|
/external/openssl/crypto/bio/ |
bss_dgram.c | 1011 socklen_t optlen; local 1152 optlen = (socklen_t) sizeof(int); 1153 ret = getsockopt(b->num, SOL_SOCKET, SO_RCVBUF, &optval, &optlen); 1160 optlen = (socklen_t) sizeof(int); 1162 &optval, &optlen); 1194 optlen = (socklen_t)(sizeof(sctp_assoc_t) + 256 * sizeof(uint8_t)); 1195 authchunks = OPENSSL_malloc(optlen); 1196 memset(authchunks, 0, sizeof(optlen)); 1197 ii = getsockopt(b->num, IPPROTO_SCTP, SCTP_PEER_AUTH_CHUNKS, authchunks, &optlen); 1201 p < (unsigned char*) authchunks + optlen; [all...] |
/bionic/libc/dns/resolv/ |
res_debug.c | 202 uint16_t optcode, optlen; local 214 GETSHORT(optlen, cp); 218 if (optlen == 0) { 222 for (i = 0; i < optlen; i++) 226 for (i = 0; i < optlen; i++) 233 if (optlen == 0) { 239 for (i = 0; i < optlen; i++) 243 for (i = 0; i < optlen; i++) 250 rdatalen -= 4 + optlen; [all...] |
/bionic/libc/kernel/uapi/rdma/ |
rdma_user_cm.h | 289 __u32 optlen; member in struct:rdma_ucm_set_option
|
/external/kernel-headers/original/uapi/rdma/ |
rdma_user_cm.h | 289 __u32 optlen; member in struct:rdma_ucm_set_option
|
/external/qemu/android/ |
sockets.c | 1099 socklen_t optlen = sizeof(opt); local 1101 getsockopt(fd, domain, option, (char*)&opt, &optlen)); [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.c | 1098 socklen_t optlen = sizeof(opt); local 1099 ret = getsockopt(fd, domain, option, (char*)&opt, &optlen); [all...] |
/external/qemu/audio/ |
audio.c | 533 size_t preflen, optlen; local 561 optlen = len + preflen + sizeof (qemu_prefix) + 1; 562 optname = g_malloc (optlen); 564 pstrcpy (optname, optlen, qemu_prefix); 570 pstrcat (optname, optlen, "_"); 571 pstrcat (optname, optlen, opt->name); [all...] |
/external/qemu/net/ |
net.c | 1751 int so_type=-1, optlen=sizeof(so_type); local [all...] |
/external/mdnsresponder/mDNSShared/ |
uds_daemon.c | 3937 socklen_t optlen = sizeof(struct so_np_extensions); local [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211.c | 8397 socklen_t optlen; local [all...] |
/external/mdnsresponder/mDNSCore/ |
mDNSEmbeddedAPI.h | 758 mDNSu16 optlen; variable [all...] |