Home
last modified time | relevance | path

Searched refs:ip_hl (Results 1 – 14 of 14) sorted by relevance

/external/toybox/toys/pending/
Dtraceroute.c257 ricmp = (struct icmp *) ((char*)rcv_pkt + (rcv_pkt->ip_hl << 2)); in do_trace()
271 hudp = (struct udphdr*) ((char*)hip + (hip->ip_hl << 2)); in do_trace()
272 if ((hip->ip_hl << 2) + 12 <=(rcv_len - (rcv_pkt->ip_hl << 2)) in do_trace()
278 hicmp = (struct icmp *) ((char*)hip + (hip->ip_hl << 2)); in do_trace()
283 else if ((hip->ip_hl << 2) + ICMP_HD_SIZE4 in do_trace()
284 <= (rcv_len - (rcv_pkt->ip_hl << 2)) in do_trace()
/external/usrsctp/usrsctplib/
Duser_ip_icmp.h153 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/external/usrsctp/fuzzer/
Dpcap2corpus.c135 ip4_hdr_len = ip4_hdr_in->ip_hl << 2; in packet_handler()
/external/linux-kselftest/tools/testing/selftests/net/
Dip_defrag.c233 iphdr->ip_hl = 5; in send_udp_frags()
/external/wpa_supplicant_8/src/ap/
Dfils_hlp.c263 iph->ip_hl = sizeof(*iph) / 4; in fils_dhcp_handler()
/external/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h328 u_char ip_hl:4, ip_v:4; member
Dsctputil.c8273 sizeof(struct ip) + 8 + (inner_ip->ip_hl << 2) + sizeof(struct udphdr) + 8) {
8276 udp = (struct udphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));
8327 8 + (inner_ip->ip_hl << 2) + 8 + 20) {
Dsctp_pcb.c6592 offset = (ip->ip_hl << 2) + sizeof(struct sctphdr);
6600 sh = (struct sctphdr *)((caddr_t)ip + (ip->ip_hl << 2));
Dsctp_usrreq.c445 sh = (struct sctphdr *)((caddr_t)inner_ip + (inner_ip->ip_hl << 2));
489 8 + (inner_ip->ip_hl << 2) + 20) {
Dsctp_output.c4229 ip->ip_hl = (sizeof(struct ip) >> 2);
11826 ip->ip_hl = (sizeof(struct ip) >> 2);
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1981 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx()
2093 ip->ip_hl = 5; in hostapd_ctrl_iface_data_test_tx()
/external/ipsec-tools/src/racoon/
Disakmp.c265 extralen += sizeof(*udp) + ip->ip_hl;
/external/tcpdump/
DCHANGES1019 - Enable "ip_hl vs. ip_vhl" workaround for OSF4 too.
/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()
9526 ip->ip_hl = 5; in wpas_ctrl_iface_data_test_tx()