Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/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()
/external/libwebsockets/minimal-examples/api-tests/api-test-dhcpc/
Dmain.c18 lws_dhcpc_cb(void *opaque, int af, uint8_t *ip, int ip_len) in lws_dhcpc_cb() argument
/external/tcpdump/
Dip.h57 nd_uint16_t ip_len; /* total length */ member
Dprint-icmp.c585 ND_TCHECK_16BITS(&ip->ip_len); in icmp_print()
586 ip_print(ndo, bp, EXTRACT_16BITS(&ip->ip_len)); in icmp_print()
Dprint-ip.c569 ipds->len = EXTRACT_16BITS(&ipds->ip->ip_len); in ip_print()
637 ND_PRINT((ndo, ", length %u", EXTRACT_16BITS(&ipds->ip->ip_len))); in ip_print()
Dprint-esp.c728 len = EXTRACT_16BITS(&ip->ip_len); in esp_print()
Dprint-tcp.c868 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4; in tcp_verify_signature()
/external/libwebsockets/include/libwebsockets/
Dlws-system.h220 typedef int (*dhcpc_cb_t)(void *opaque, int af, uint8_t *ip, int ip_len);
/external/wpa_supplicant_8/src/tls/
Dx509v3.h44 size_t ip_len; /* IPv4: 4, IPv6: 16 */ member
Dx509v3.c36 name->ip_len = 0; in x509_free_name()
971 name->ip_len = len; in x509_parse_alt_name_ip()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c185 iphdr->ip_len = htons(frag_len); in send_fragment()
313 iphdr->ip_len = htons(frag_len); in send_udp_frags()
/external/usrsctp/usrsctplib/netinet/
Dsctp_input.c6312 NTOHS(ip->ip_len);
6315 ip->ip_len = ntohs(ip->ip_len);
6319 length = ntohs(ip->ip_len);
6321 length = ip->ip_len + iphlen;
6324 length = ip->ip_len + iphlen;
6327 length = ip->ip_len;
6329 length = ip->ip_len + iphlen;
6332 length = ip->ip_len;
Dsctp_os_userspace.h330 u_short ip_len; member
Dsctputil.c8228 iph->ip_len = htons(ntohs(iph->ip_len) - sizeof(struct udphdr));
8230 iph->ip_len -= sizeof(struct udphdr);
8272 if (ntohs(outer_ip->ip_len) <
8325 if (ntohs(outer_ip->ip_len) >=
8351 ntohs(inner_ip->ip_len),
Dsctp_usrreq.c287 uint16_t ip_len, argument
356 next_mtu = sctp_get_prev_mtu(ip_len);
487 if (ntohs(outer_ip->ip_len) >=
514 ntohs(inner_ip->ip_len),
516 inner_ip->ip_len,
Dsctp_output.c4285 ip->ip_len = htons(packet_length);
4287 ip->ip_len = packet_length;
11969 ip->ip_len = htons(len);
11971 ip->ip_len = len;
11974 ip->ip_len = len;
11976 ip->ip_len = htons(len);
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1982 ntohs(ip.ip_len) > HWSIM_IP_LEN) { in hostapd_data_test_rx()
1988 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in hostapd_data_test_rx()
1998 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in hostapd_data_test_rx()
1999 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in hostapd_data_test_rx()
2097 ip->ip_len = htons(send_len); in hostapd_ctrl_iface_data_test_tx()
/external/usrsctp/usrsctplib/
Duser_socket.c3102 ip->ip_len = htons(ip->ip_len);
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface.c9417 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) { in wpas_data_test_rx()
9423 for (i = 0; i < ntohs(ip.ip_len) - sizeof(ip); i++) { in wpas_data_test_rx()
9432 if (ntohs(ip.ip_len) != HWSIM_IP_LEN) in wpas_data_test_rx()
9433 os_snprintf(extra, sizeof(extra), " len=%d", ntohs(ip.ip_len)); in wpas_data_test_rx()
9530 ip->ip_len = htons(send_len); in wpas_ctrl_iface_data_test_tx()
/external/python/pycparser/utils/benchmark/inputs/
Dredis.c.ppout1720 int anetTcpAccept(char *err, int serversock, char *ip, size_t ip_len, int *port);
1729 int anetPeerToString(int fd, char *ip, size_t ip_len, int *port);
1731 int anetSockName(int fd, char *ip, size_t ip_len, int *port);