Home
last modified time | relevance | path

Searched refs:h_proto (Results 1 – 11 of 11) 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/slirp2/
Dslirp.c626 unsigned short h_proto; /* packet type ID field */ member
672 reh->h_proto = htons(ETH_P_ARP); in arp_input()
735 eh->h_proto = htons(ETH_P_IP); in if_encap()