/external/linux-kselftest/tools/testing/selftests/bpf/ |
test_pkt_access.c | 36 if (eth->h_proto == bpf_htons(ETH_P_IP)) { 44 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) {
|
test_xdp.c | 73 __be16 h_proto) 77 new_eth->h_proto = h_proto; 219 __u16 h_proto; local 224 h_proto = eth->h_proto; 226 if (h_proto == bpf_htons(ETH_P_IP)) 228 else if (h_proto == bpf_htons(ETH_P_IPV6))
|
test_progs.c | 49 .eth.h_proto = bpf_htons(ETH_P_IP), 62 .eth.h_proto = bpf_htons(ETH_P_IPV6),
|
/external/tensorflow/tensorflow/core/lib/histogram/ |
histogram_test.cc | 130 HistogramProto h_proto; local 131 h.EncodeToProto(&h_proto, preserve_zero_buckets); 139 EXPECT_TRUE(tsh2.DecodeFromProto(h_proto));
|
/external/ppp/pppd/plugins/rp-pppoe/ |
common.c | 112 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); 176 switch (ntohs(packet->ethHdr.h_proto)) { 209 ntohs(packet->ethHdr.h_proto)); 214 if (ntohs(packet->ethHdr.h_proto) != ETH_PPPOE_DISCOVERY)
|
if.c | 77 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto);
|
discovery.c | 283 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); 468 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
|
pppoe-discovery.c | 82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 461 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery);
|
/external/wpa_supplicant_8/src/l2_packet/ |
l2_packet.h | 35 be16 h_proto; member in struct:l2_ethhdr
|
l2_packet_freebsd.c | 65 eth->h_proto = htons(proto);
|
l2_packet_pcap.c | 101 eth->h_proto = htons(proto);
|
l2_packet_winpcap.c | 91 eth->h_proto = htons(proto);
|
l2_packet_ndis.c | 123 eth->h_proto = htons(proto);
|
/system/bt/btif/include/ |
btif_pan_internal.h | 61 short h_proto; member in struct:eth_hdr
|
/external/libnl/include/linux-private/linux/ |
if_ether.h | 122 __be16 h_proto; /* packet type ID field */ member in struct:ethhdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
if_ether.h | 129 __be16 h_proto; /* packet type ID field */ member in struct:ethhdr
|
/bionic/libc/kernel/uapi/linux/ |
if_ether.h | 124 __be16 h_proto; member in struct:ethhdr
|
/external/iproute2/include/uapi/linux/ |
if_ether.h | 155 __be16 h_proto; /* packet type ID field */ member in struct:ethhdr
|
/external/kernel-headers/original/uapi/linux/ |
if_ether.h | 157 __be16 h_proto; /* packet type ID field */ member in struct:ethhdr
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-icmp_redirector.c | 328 sndeth.hdr.h_proto = htons(ETH_P_ARP); 402 sndeth.hdr.h_proto = htons(ETH_P_IP); 524 sndeth.hdr.h_proto = htons(ETH_P_IPV6); 626 sndeth.hdr.h_proto = htons(ETH_P_IPV6); 768 switch (ntohs(frame.hdr.h_proto)) {
|
/external/wpa_supplicant_8/src/ap/ |
eth_p_oui.c | 179 ethhdr->h_proto = host_to_be16(ETH_P_OUI);
|
preauth_auth.c | 256 ethhdr->h_proto = host_to_be16(ETH_P_PREAUTH);
|
/external/iptables/iptables/ |
nft-bridge.c | 200 add_payload(r, offsetof(struct ethhdr, h_proto), 2, 302 case offsetof(struct ethhdr, h_proto):
|
/external/linux-kselftest/tools/testing/selftests/net/ |
psock_tpacket.c | 149 if (eth->h_proto != htons(ETH_P_IP)) { 151 "type: 0x%x!\n", ntohs(eth->h_proto)); 169 eth->h_proto = htons(ETH_P_IP);
|
/system/bt/btif/src/ |
btif_pan.cc | 419 eth_hdr.h_proto = htons(proto); 546 uint16_t proto = ntohs(hdr->h_proto); 563 ntohs(eth_hdr->h_proto), hdr, 0);
|