Home
last modified time | relevance | path

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

/third_party/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()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
Dip.h45 unsigned int ip_hl:4; member
49 unsigned int ip_hl:4;
Dip_icmp.h139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/third_party/musl/include/netinet/
Dip.h45 unsigned int ip_hl:4; member
49 unsigned int ip_hl:4;
Dip_icmp.h139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/third_party/musl/porting/uniproton/kernel/include/netinet/
Dip.h45 unsigned int ip_hl:4; member
49 unsigned int ip_hl:4;
Dip_icmp.h139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/third_party/musl/porting/liteos_a/kernel/include/netinet/
Dip.h45 unsigned int ip_hl:4; member
49 unsigned int ip_hl:4;
Dip_icmp.h139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/third_party/musl/porting/liteos_m/kernel/include/netinet/
Dip.h45 unsigned int ip_hl:4; member
49 unsigned int ip_hl:4;
Dip_icmp.h139 #define ICMP_ADVLEN(p) (8 + ((p)->icmp_ip.ip_hl << 2) + 8)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dfils_hlp.c263 iph->ip_hl = sizeof(*iph) / 4; in fils_dhcp_handler()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_ctrl_iface.c2040 if (ip.ip_hl != 5 || ip.ip_v != 4 || in hostapd_data_test_rx()
2154 ip->ip_hl = 5; in hostapd_ctrl_iface_data_test_tx()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dctrl_iface.c9925 if (ip.ip_hl != 5 || ip.ip_v != 4 || ntohs(ip.ip_len) > HWSIM_IP_LEN) {
10036 ip->ip_hl = 5;