Home
last modified time | relevance | path

Searched refs:ETH_HLEN (Results 1 - 24 of 24) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dndisc_snoop.c107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
109 msg = (struct icmpv6_ndmsg *) &buf[ETH_HLEN]; in handle_ndisc()
112 if (len < ETH_HLEN + sizeof(*msg)) in handle_ndisc()
124 if (len < ETH_HLEN + sizeof(*msg) + ETH_ALEN) in handle_ndisc()
H A Ddhcp_snoop.c44 exten_len = len - ETH_HLEN - (sizeof(*b) - sizeof(b->exten)); in handle_dhcp()
48 b = (const struct bootp_pkt *) &buf[ETH_HLEN]; in handle_dhcp()
50 if (ip_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dndisc_snoop.c107 if (len < ETH_HLEN + sizeof(struct ip6_hdr) + sizeof(struct icmp6_hdr)) in handle_ndisc()
109 msg = (struct icmpv6_ndmsg *) &buf[ETH_HLEN]; in handle_ndisc()
112 if (len < ETH_HLEN + sizeof(*msg)) in handle_ndisc()
124 if (len < ETH_HLEN + sizeof(*msg) + ETH_ALEN) in handle_ndisc()
H A Ddhcp_snoop.c44 exten_len = len - ETH_HLEN - (sizeof(*b) - sizeof(b->exten)); in handle_dhcp()
48 b = (const struct bootp_pkt *) &buf[ETH_HLEN]; in handle_dhcp()
50 if (tot_len > (unsigned int) (len - ETH_HLEN)) in handle_dhcp()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
H A Dl2_packet_linux.c159 wpa_hexdump(MSG_MSGDUMP, "txbuf", txbuf, len + ETH_HLEN); in l2_packet_send()
160 ret = sendto(l2->fd, txbuf, len + ETH_HLEN, 0, (struct sockaddr *) &ll, sizeof(ll)); in l2_packet_send()
221 os_memcpy(&l2_hdr, buf, ETH_HLEN); in l2_packet_receive()
222 res -= ETH_HLEN; in l2_packet_receive()
227 os_memmove(buf, (char *)buf + ETH_HLEN, res); in l2_packet_receive() local
/third_party/musl/porting/liteos_a/kernel/include/net/
H A Dethernet.h38 #define ETHER_HDR_LEN ETH_HLEN
/third_party/musl/porting/uniproton/kernel/include/net/
H A Dethernet.h38 #define ETHER_HDR_LEN ETH_HLEN
/third_party/musl/porting/liteos_m/kernel/include/net/
H A Dethernet.h38 #define ETHER_HDR_LEN ETH_HLEN
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
H A Dethernet.h38 #define ETHER_HDR_LEN ETH_HLEN
/third_party/musl/include/net/
H A Dethernet.h38 #define ETHER_HDR_LEN ETH_HLEN
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dif_ether.h9 #define ETH_HLEN 14 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dif_ether.h9 #define ETH_HLEN 14 macro
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dif_ether.h9 #define ETH_HLEN 14 macro
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dif_ether.h9 #define ETH_HLEN 14 macro
/third_party/musl/include/netinet/
H A Dif_ether.h9 #define ETH_HLEN 14 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dcommon.h318 #ifndef ETH_HLEN
319 #define ETH_HLEN 14 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dcommon.h330 #ifndef ETH_HLEN
331 #define ETH_HLEN 14 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_event.c1169 len >= ETH_HLEN &&
3240 if (!cookie || len < ETH_HLEN)
3249 event.eapol_tx_status.data = frame + ETH_HLEN;
3250 event.eapol_tx_status.data_len = len - ETH_HLEN;
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface.c3220 len = ETH_HLEN + payload_len; in wpa_supplicant_ctrl_iface_mesh_link_probe()
3230 if (payload_len && hexstr2bin(pos, buf + ETH_HLEN, payload_len) < 0) in wpa_supplicant_ctrl_iface_mesh_link_probe()
9132 if (len & 1 || len < ETH_HLEN * 2) in wpas_ctrl_iface_data_test_frame()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2443 pub const ETH_HLEN: ::c_int = 14; consts
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c2003 if (len & 1 || len < ETH_HLEN * 2) in hostapd_ctrl_iface_data_test_frame()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface.c3597 len = ETH_HLEN + payload_len;
3607 if (payload_len && hexstr2bin(pos, buf + ETH_HLEN, payload_len) < 0)
10259 if (len & 1 || len < ETH_HLEN * 2)
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs2219 pub const ETH_HLEN: ::c_int = 14; consts
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c2201 if (len & 1 || len < ETH_HLEN * 2) in hostapd_ctrl_iface_data_test_frame()

Completed in 70 milliseconds