Searched refs:h_proto (Results 1 – 18 of 18) sorted by relevance
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()
77 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()
82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType()461 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
283 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()468 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
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()
122 __be16 h_proto; /* packet type ID field */ member
35 be16 h_proto; member
65 eth->h_proto = htons(proto); in l2_packet_send()
91 eth->h_proto = htons(proto); in l2_packet_send()
101 eth->h_proto = htons(proto); in l2_packet_send()
123 eth->h_proto = htons(proto); in l2_packet_send()
147 __be16 h_proto; /* packet type ID field */ member
141 __be16 h_proto; /* packet type ID field */ member
148 if (eth->h_proto != htons(ETH_P_IP)) { in test_payload()150 "type: 0x%x!\n", ntohs(eth->h_proto)); in test_payload()168 eth->h_proto = htons(ETH_P_IP); in create_payload()
256 ethhdr->h_proto = host_to_be16(ETH_P_PREAUTH); in rsn_preauth_send()
500 buf->h_proto = host_to_be16(proto); in hostapd_wpa_auth_send_ether()
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()
1586 eth->h_proto = host_to_be16(ETH_P_EAPOL); in atheros_send_eapol()