Searched refs:ethhdr (Results 1 – 6 of 6) sorted by relevance
93 struct l2_ethhdr *ethhdr; in l2_packet_receive() local103 ethhdr = (struct l2_ethhdr *)buf; in l2_packet_receive()104 if (buflen < sizeof (*ethhdr) || in l2_packet_receive()105 (ntohs(ethhdr->h_proto) != ETHERTYPE_EAPOL && in l2_packet_receive()106 ntohs(ethhdr->h_proto) != ETHERTYPE_RSN_PREAUTH)) in l2_packet_receive()109 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, in l2_packet_receive()110 (unsigned char *)(ethhdr + 1), buflen - sizeof (*ethhdr)); in l2_packet_receive()
807 struct l2_ethhdr *ethhdr; in wpa_supplicant_key_request() local823 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply); in wpa_supplicant_key_request()829 ethhdr = (struct l2_ethhdr *)rbuf; in wpa_supplicant_key_request()830 (void) memcpy(ethhdr->h_dest, bssid, IEEE80211_ADDR_LEN); in wpa_supplicant_key_request()831 (void) memcpy(ethhdr->h_source, wpa_s->own_addr, IEEE80211_ADDR_LEN); in wpa_supplicant_key_request()832 ethhdr->h_proto = htons(ETHERTYPE_EAPOL); in wpa_supplicant_key_request()834 hdr = (struct ieee802_1x_hdr *)(ethhdr + 1); in wpa_supplicant_key_request()859 rlen - sizeof (*ethhdr), reply->key_mic); in wpa_supplicant_key_request()878 struct l2_ethhdr *ethhdr; in wpa_supplicant_process_1_of_4() local934 rlen = sizeof (*ethhdr) + sizeof (*hdr) + sizeof (*reply) + wpa_ie_len; in wpa_supplicant_process_1_of_4()[all …]
202 struct ether_header *ethhdr; in trill_dest_fwd() local229 ethhdr = (struct ether_header *)fwd_mp->b_rptr; in trill_dest_fwd()230 ethtype = ntohs(ethhdr->ether_type); in trill_dest_fwd()384 struct ether_header *ethhdr; in trill_recv() local444 ethhdr = (struct ether_header *)(mp->b_rptr + trillhdrlen); in trill_recv()445 if (ethhdr->ether_type == htons(ETHERTYPE_VLAN)) { in trill_recv()453 ethhdr = (struct ether_header *)(mp->b_rptr + in trill_recv()457 tci = ntohs(((struct ether_vlan_header *)ethhdr)->ether_tci); in trill_recv()465 if (ethhdr->ether_dhost.ether_addr_octet[0] & 1) in trill_recv()
490 struct ether_header *ethhdr; in rge_send_copy() local581 ethhdr = (struct ether_header *)(DMA_VPTR(ssbdp->pbuf)); in rge_send_copy()585 if (ntohs(ethhdr->ether_type) == ETHERTYPE_IP) { in rge_send_copy()
1738 struct ether_header *ethhdr; in qede_hash_get_txq() local1756 ethhdr = (struct ether_header *)((void *)bp); in qede_hash_get_txq()1765 etherType = ntohs(ethhdr->ether_type); in qede_hash_get_txq()
4829 struct ether_header *ethhdr; in ql_hw_csum_setup() local4836 ethhdr = (struct ether_header *)((void *)bp); in ql_hw_csum_setup()4844 etherType = ntohs(ethhdr->ether_type); in ql_hw_csum_setup()5082 struct ether_header *ethhdr; in ql_tx_hashing() local5097 ethhdr = (struct ether_header *)((void *)bp); in ql_tx_hashing()5109 etherType = ntohs(ethhdr->ether_type); in ql_tx_hashing()5176 struct ether_header *ethhdr; in ql_hw_lso_setup() local5184 ethhdr = (struct ether_header *)(void *)bp; in ql_hw_lso_setup()5193 etherType = ntohs(ethhdr->ether_type); in ql_hw_lso_setup()