Searched refs:h_proto (Results 1 – 12 of 12) sorted by relevance
84 #define h_proto ether_type macro100 #define h_proto ether_type macro
262 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()432 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
412 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADT()
128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()551 tmp_sap = htons(pkt->ethHdr.h_proto); in sendPacket()
52 u16 h_proto; member
64 eth->h_proto = htons(proto); in l2_packet_send()
97 eth->h_proto = htons(proto); in l2_packet_send()
106 eth->h_proto = htons(proto); in l2_packet_send()
129 eth->h_proto = htons(proto); in l2_packet_send()
653 eth.h_proto = host_to_be16(proto); in wpa_driver_test_send_eapol()
577 unsigned short h_proto; /* packet type ID field */ member626 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()
658 unsigned short h_proto; /* packet type ID field */ member711 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()