Home
last modified time | relevance | path

Searched refs:ip_len (Results 1 – 22 of 22) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Ddhcp_snoop.c42 u16 ip_len; in handle_dhcp() local
49 ip_len = ntohs(b->iph.ip_len); in handle_dhcp()
50 if (ip_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp()
57 end = (const u8 *) b + ip_len; in handle_dhcp()
Dfils_hlp.c264 iph->ip_len = htons(sizeof(*iph) + sizeof(*udph) + (end - pos)); in fils_dhcp_handler()
514 uint16_t ip_len; in fils_process_hlp_ip() local
524 ip_len = ntohs(iph->ip_len); in fils_process_hlp_ip()
525 if (ip_len > len) in fils_process_hlp_ip()
/third_party/mbedtls/library/
Dnet_sockets.c354 void *client_ip, size_t buf_size, size_t *ip_len ) in mbedtls_net_accept() argument
446 *ip_len = sizeof( addr4->sin_addr.s_addr ); in mbedtls_net_accept()
448 if( buf_size < *ip_len ) in mbedtls_net_accept()
451 memcpy( client_ip, &addr4->sin_addr.s_addr, *ip_len ); in mbedtls_net_accept()
456 *ip_len = sizeof( addr6->sin6_addr.s6_addr ); in mbedtls_net_accept()
458 if( buf_size < *ip_len ) in mbedtls_net_accept()
461 memcpy( client_ip, &addr6->sin6_addr.s6_addr, *ip_len); in mbedtls_net_accept()
/third_party/mbedtls/include/mbedtls/
Dnet_sockets.h172 void *client_ip, size_t buf_size, size_t *ip_len );
/third_party/musl/porting/liteos_m/kernel/include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/musl/porting/liteos_a/kernel/include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dx509v3.h44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member
Dx509v3.c36 name->ip_len = 0; in x509_free_name()
970 name->ip_len = len; in x509_parse_alt_name_ip()
/third_party/musl/porting/uniproton/kernel/include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/musl/include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/musl/ndk_musl_include/netinet/
Dip.h52 uint16_t ip_len; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dx509v3.h44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member
Dx509v3.c36 name->ip_len = 0; in x509_free_name()
950 name->ip_len = len; in x509_parse_alt_name_ip()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_input.c6299 NTOHS(ip->ip_len);
6302 ip->ip_len = ntohs(ip->ip_len);
6306 length = ip->ip_len;
6308 length = ip->ip_len + iphlen;
6311 length = ntohs(ip->ip_len);
6313 length = ip->ip_len + iphlen;
6315 length = ip->ip_len;
Dsctp_os_userspace.h326 u_short ip_len; member
Dsctputil.c8132 iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr));
8171 if (ntohs(outer_ip->ip_len) <
8224 if (ntohs(outer_ip->ip_len) >=
8250 ntohs(inner_ip->ip_len),
Dsctp_usrreq.c254 uint16_t ip_len, argument
321 next_mtu = sctp_get_prev_mtu(ip_len);
440 if (ntohs(outer_ip->ip_len) >=
467 ntohs(inner_ip->ip_len),
469 inner_ip->ip_len,
Dsctp_output.c4251 ip->ip_len = htons(packet_length);
4253 ip->ip_len = packet_length;
11881 ip->ip_len = htons(len);
11883 ip->ip_len = len;
11885 ip->ip_len = htons(len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c2042 ntohs(ip.ip_len) > HWSIM_IP_LEN) { in hostapd_data_test_rx()
2048 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in hostapd_data_test_rx()
2058 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in hostapd_data_test_rx()
2059 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in hostapd_data_test_rx()
2157 ip->ip_len = htons(send_len); in hostapd_ctrl_iface_data_test_tx()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_socket.c2912 ip->ip_len = htons(ip->ip_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c9666 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx()
9672 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in wpas_data_test_rx()
9681 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in wpas_data_test_rx()
9682 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in wpas_data_test_rx()
9779 ip->ip_len = htons(send_len); in wpas_ctrl_iface_data_test_tx()