Home
last modified time | relevance | path

Searched refs:h_proto (Results 1 – 18 of 18) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c112 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()
Dif.c77 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
Dpppoe-discovery.c82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
461 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
Ddiscovery.c283 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/
Dns-icmp_redirector.c328 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/
Dif_ether.h122 __be16 h_proto; /* packet type ID field */ member
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet.h35 be16 h_proto; member
Dl2_packet_freebsd.c65 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_winpcap.c91 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_pcap.c101 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_ndis.c123 eth->h_proto = htons(proto); in l2_packet_send()
/external/kernel-headers/original/uapi/linux/
Dif_ether.h147 __be16 h_proto; /* packet type ID field */ member
/external/iproute2/include/linux/
Dif_ether.h141 __be16 h_proto; /* packet type ID field */ member
/external/linux-kselftest/tools/testing/selftests/net/
Dpsock_tpacket.c149 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload()
151 "type: 0x%x!\n", ntohs(eth->h_proto)); in test_payload()
169 eth->h_proto = htons(ETH_P_IP); in create_payload()
/external/wpa_supplicant_8/src/ap/
Dpreauth_auth.c256 ethhdr->h_proto = host_to_be16(ETH_P_PREAUTH); in rsn_preauth_send()
Dwpa_auth_glue.c500 buf->h_proto = host_to_be16(proto); in hostapd_wpa_auth_send_ether()
/external/iptables/iptables/
Dnft-bridge.c200 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()
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1586 eth->h_proto = host_to_be16(ETH_P_EAPOL); in atheros_send_eapol()