Lines Matching refs:htons
1352 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tag); in i40e_receive_skb()
1441 skb->transport_header += (skb->protocol == htons(ETH_P_8021Q) || in i40e_rx_checksum()
1442 skb->protocol == htons(ETH_P_8021AD)) in i40e_rx_checksum()
1961 if (protocol == htons(ETH_P_IP)) { in i40e_atr()
1967 } else if (protocol == htons(ETH_P_IPV6)) { in i40e_atr()
2002 flex_ptype |= (protocol == htons(ETH_P_IP)) ? in i40e_atr()
2060 if (protocol == htons(ETH_P_8021Q) && in i40e_tx_prepare_vlan_flags()
2078 } else if (protocol == htons(ETH_P_8021Q)) { in i40e_tx_prepare_vlan_flags()
2106 vhdr->h_vlan_TCI = htons(tx_flags >> in i40e_tx_prepare_vlan_flags()
2704 if (protocol == htons(ETH_P_IP)) in i40e_xmit_frame_ring()
2706 else if (protocol == htons(ETH_P_IPV6)) in i40e_xmit_frame_ring()