/external/bcc/examples/networking/http_filter/ |
D | http-parse-complete.py | 160 ETH_HLEN = 14 variable 177 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB 179 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB 182 ip_header_length = packet_bytearray[ETH_HLEN] #load Byte 187 ip_src_str = packet_str[ETH_HLEN+12:ETH_HLEN+16] #ip source offset 12..15 188 ip_dst_str = packet_str[ETH_HLEN+16:ETH_HLEN+20] #ip dest offset 16..19 209 tcp_header_length = packet_bytearray[ETH_HLEN + ip_header_length + 12] #load Byte 214 port_src_str = packet_str[ETH_HLEN+ip_header_length:ETH_HLEN+ip_header_length+2] 215 port_dst_str = packet_str[ETH_HLEN+ip_header_length+2:ETH_HLEN+ip_header_length+4] 221 payload_offset = ETH_HLEN + ip_header_length + tcp_header_length
|
D | http-parse-simple.py | 95 ETH_HLEN = 14 variable 112 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB 114 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB 117 ip_header_length = packet_bytearray[ETH_HLEN] #load Byte 137 tcp_header_length = packet_bytearray[ETH_HLEN + ip_header_length + 12] #load Byte 142 payload_offset = ETH_HLEN + ip_header_length + tcp_header_length
|
D | http-parse-simple.c | 6 #define ETH_HLEN 14 macro 58 payload_offset = ETH_HLEN + ip_header_length + tcp_header_length; in http_filter()
|
D | http-parse-complete.c | 6 #define ETH_HLEN 14 macro 87 payload_offset = ETH_HLEN + ip_header_length + tcp_header_length; in http_filter()
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 50 #define TEST_SZ (sizeof(struct virtio_net_hdr) + ETH_HLEN + ETH_MAX_MTU + 1) 80 vh->hdr_len = ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr); in build_vnet_header() 84 vh->csum_start = ETH_HLEN + sizeof(struct iphdr); in build_vnet_header() 106 uint16_t *tag = header + ETH_HLEN; in build_eth_header() 110 return ETH_HLEN + 4; in build_eth_header() 114 return ETH_HLEN; in build_eth_header() 193 buf += ETH_HLEN; in do_send() 194 len -= ETH_HLEN; in do_send()
|
/external/bcc/examples/networking/vlan_filter/ |
D | data-plane-tracing.py | 111 ETH_HLEN = 14 variable 124 total_length = packet_bytearray[ETH_HLEN + 2] #load MSB 126 total_length = total_length + packet_bytearray[ETH_HLEN+3] #add LSB 129 ip_header_length = packet_bytearray[ETH_HLEN] #load Byte 134 payload_offset = ETH_HLEN + ip_header_length + UDP_HLEN + VXLAN_HLEN
|
D | data-plane-tracing.c | 12 #define ETH_HLEN 14 macro
|
/external/wpa_supplicant_8/src/ap/ |
D | ndisc_snoop.c | 107 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()
|
D | dhcp_snoop.c | 44 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()
|
/external/bcc/examples/networking/dns_matching/ |
D | dns_matching.py | 88 ETH_HLEN = 14 variable 93 ip_header_length = packet_bytearray[ETH_HLEN] #load Byte 98 payload_offset = ETH_HLEN + ip_header_length + UDP_HLEN
|
/external/libpcap/ |
D | pcap-dos.h | 22 #define ETH_HLEN (2*ETH_ALEN+2) /* Ether header length */ macro 25 #define ETH_MAX (ETH_MTU+ETH_HLEN)
|
/external/libnl/include/linux-private/linux/ |
D | if_ether.h | 32 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/iproute2/include/uapi/linux/ |
D | if_ether.h | 33 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if_ether.h | 34 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/u-boot/include/ |
D | usb_ether.h | 16 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/wpa_supplicant_8/src/utils/ |
D | common.h | 317 #ifndef ETH_HLEN 318 #define ETH_HLEN 14 macro
|
/external/u-boot/drivers/net/ |
D | mvneta.c | 46 #define ETH_HLEN 14 /* Total octets in header */ macro 49 #define WRAP (2 + ETH_HLEN + 4 + 32)
|
D | mvpp2.c | 71 #define ETH_HLEN ETHER_HDR_SIZE /* Total octets in header */ macro 74 #define WRAP (2 + ETH_HLEN + 4 + 32) 658 ETH_HLEN + ETH_FCS_LEN, MVPP2_CPU_D_CACHE_LINE_SIZE)
|
/external/u-boot/drivers/usb/gadget/ |
D | ether.c | 75 #define ETH_HLEN 14 /* Total octets in header. */ macro 1578 if (req->actual < ETH_HLEN || ETH_FRAME_LEN < req->actual) { in rx_complete()
|
D | rndis.c | 39 #define ETH_HLEN 14 /* Total octets in header. */ macro
|
/external/wpa_supplicant_8/hostapd/ |
D | ctrl_iface.c | 1980 if (len & 1 || len < ETH_HLEN * 2) in hostapd_ctrl_iface_data_test_frame()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 11039 .retval = TEST_DATA_LEN + TEST_DATA_LEN - ETH_HLEN - ETH_HLEN,
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | ctrl_iface.c | 9021 if (len & 1 || len < ETH_HLEN * 2) in wpas_ctrl_iface_data_test_frame()
|