Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Dpppoe.h84 #define h_proto ether_type macro
100 #define h_proto ether_type macro
Ddiscovery.c262 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
432 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
Dcommon.c412 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADT()
Dif.c128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
551 tmp_sap = htons(pkt->ethHdr.h_proto); in sendPacket()
/external/wpa_supplicant/
Dl2_packet.h52 u16 h_proto; member
Dl2_packet_freebsd.c64 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_winpcap.c97 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_pcap.c106 eth->h_proto = htons(proto); in l2_packet_send()
Dl2_packet_ndis.c129 eth->h_proto = htons(proto); in l2_packet_send()
Ddriver_test.c653 eth.h_proto = host_to_be16(proto); in wpa_driver_test_send_eapol()
/external/qemu/slirp/
Dslirp.c577 unsigned short h_proto; /* packet type ID field */ member
626 reh->h_proto = htons(ETH_P_ARP); in arp_input()
709 reh->h_proto = htons(ETH_P_ARP); in if_encap()
731 eh->h_proto = htons(ETH_P_IP); in if_encap()
/external/qemu/slirp-android/
Dslirp.c658 unsigned short h_proto; /* packet type ID field */ member
711 reh->h_proto = htons(ETH_P_ARP); in arp_input()
794 reh->h_proto = htons(ETH_P_ARP); in if_encap()
816 eh->h_proto = htons(ETH_P_IP); in if_encap()