/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp.c | 73 __be16 h_proto) in set_ethhdr() argument 77 new_eth->h_proto = h_proto; in set_ethhdr() 219 __u16 h_proto; in _xdp_tx_iptunnel() local 224 h_proto = eth->h_proto; in _xdp_tx_iptunnel() 226 if (h_proto == bpf_htons(ETH_P_IP)) in _xdp_tx_iptunnel() 228 else if (h_proto == bpf_htons(ETH_P_IPV6)) in _xdp_tx_iptunnel()
|
D | test_pkt_access.c | 36 if (eth->h_proto == bpf_htons(ETH_P_IP)) { in process() 44 } else if (eth->h_proto == bpf_htons(ETH_P_IPV6)) { in process()
|
D | test_xdp_vlan.c | 67 eth_type = eth->h_proto; in parse_eth_frame()
|
D | test_sk_lookup_kern.c | 70 tuple = get_tuple(data, sizeof(*eth), data_end, eth->h_proto, &ipv4); in bpf_sk_lookup_test0()
|
D | bpf_flow.c | 179 return parse_eth_proto(skb, eth->h_proto); in parse_ip_proto()
|
/external/tensorflow/tensorflow/core/lib/histogram/ |
D | histogram_test.cc | 130 HistogramProto h_proto; in TEST() local 131 h.EncodeToProto(&h_proto, preserve_zero_buckets); in TEST() 139 EXPECT_TRUE(tsh2.DecodeFromProto(h_proto)); in TEST()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 112 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADT() 176 switch (ntohs(packet->ethHdr.h_proto)) { in pppoe_printpkt() 209 ntohs(packet->ethHdr.h_proto)); in pppoe_printpkt() 214 if (ntohs(packet->ethHdr.h_proto) != ETH_PPPOE_DISCOVERY) in pppoe_printpkt()
|
D | if.c | 77 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
|
D | pppoe-discovery.c | 82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType() 461 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
|
D | discovery.c | 283 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI() 468 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-icmp_redirector.c | 328 sndeth.hdr.h_proto = htons(ETH_P_ARP); in return_arp_reply() 402 sndeth.hdr.h_proto = htons(ETH_P_IP); in return_icmp4_redirect() 524 sndeth.hdr.h_proto = htons(ETH_P_IPV6); in return_neigh_adv() 626 sndeth.hdr.h_proto = htons(ETH_P_IPV6); in return_icmp6_redirect() 768 switch (ntohs(frame.hdr.h_proto)) { in capture_frames()
|
/external/libnl/include/linux-private/linux/ |
D | if_ether.h | 122 __be16 h_proto; /* packet type ID field */ member
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet.h | 35 be16 h_proto; member
|
D | l2_packet_freebsd.c | 65 eth->h_proto = htons(proto); in l2_packet_send()
|
D | l2_packet_winpcap.c | 91 eth->h_proto = htons(proto); in l2_packet_send()
|
D | l2_packet_pcap.c | 101 eth->h_proto = htons(proto); in l2_packet_send()
|
D | l2_packet_ndis.c | 123 eth->h_proto = htons(proto); in l2_packet_send()
|
/external/iproute2/include/uapi/linux/ |
D | if_ether.h | 155 __be16 h_proto; /* packet type ID field */ member
|
/external/linux-kselftest/tools/testing/selftests/net/ |
D | psock_snd.c | 108 eth->h_proto = htons(ETH_P_8021Q); in build_eth_header() 113 eth->h_proto = htons(ETH_P_IP); in build_eth_header()
|
D | psock_tpacket.c | 151 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload() 153 "type: 0x%x!\n", ntohs(eth->h_proto)); in test_payload() 171 eth->h_proto = htons(ETH_P_IP); in create_payload()
|
D | msg_zerocopy.c | 504 eth.h_proto = htons(proto); in do_tx()
|
/external/kernel-headers/original/uapi/linux/ |
D | if_ether.h | 164 __be16 h_proto; /* packet type ID field */ member
|
/external/wpa_supplicant_8/src/ap/ |
D | eth_p_oui.c | 179 ethhdr->h_proto = host_to_be16(ETH_P_OUI); in eth_p_oui_send()
|
D | preauth_auth.c | 256 ethhdr->h_proto = host_to_be16(ETH_P_PREAUTH); in rsn_preauth_send()
|
/external/iptables/iptables/ |
D | nft-bridge.c | 200 add_payload(r, offsetof(struct ethhdr, h_proto), 2, in nft_bridge_add() 302 case offsetof(struct ethhdr, h_proto): in nft_bridge_parse_payload()
|