Searched refs:__constant_htons (Results 1 – 10 of 10) sorted by relevance
609 if (protocol == __constant_htons(ETH_P_IP)) { /* IP */ in dhcp_flag_bcast()615 if ((udph->source == __constant_htons(CLIENT_PORT)) && in dhcp_flag_bcast()616 (udph->dest == __constant_htons(SERVER_PORT))) { /* DHCP request */ in dhcp_flag_bcast()
1625 *((__be16 *)(skb->data + ETH_ALEN * 2)) != __constant_htons(ETH_P_8021Q) && in rtw_br_client_tx()1626 *((__be16 *)(skb->data + ETH_ALEN * 2)) == __constant_htons(ETH_P_IP) && in rtw_br_client_tx()1632 if (*((__be16 *)(skb->data + ETH_ALEN * 2)) == __constant_htons(ETH_P_8021Q)) { in rtw_br_client_tx()1640 (*((__be16 *)(skb->data + ETH_ALEN * 2)) == __constant_htons(ETH_P_IP))) in rtw_br_client_tx()1643 if (*((__be16 *)(skb->data + ETH_ALEN * 2)) == __constant_htons(ETH_P_IP)) { in rtw_br_client_tx()1672 *((__be16 *)(skb->data + ETH_ALEN * 2)) = __constant_htons(ETH_P_8021Q); in rtw_br_client_tx()1711 *((__be16 *)(skb->data + ETH_ALEN * 2)) = __constant_htons(ETH_P_8021Q); in rtw_br_client_tx()
195 .type = __constant_htons(ETH_P_AOE),
71 skb->protocol = __constant_htons(ETH_P_AOE); in new_skb()
18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
179 ehdr.h_proto = __constant_htons(ETH_P_IP); in __do_push_ll_and_redirect()
86 .sin_port = __constant_htons(port), \93 .sin6_port = __constant_htons(port), \
1267 interface->fcoe_packet_type.type = __constant_htons(ETH_P_FCOE); in bnx2fc_interface_setup()
308 __constant_htons