Home
last modified time | relevance | path

Searched refs:__constant_htons (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/drivers/staging/r8188eu/core/
Drtw_br_ext.c609 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()
Drtw_xmit.c1625 *((__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()
/Linux-v6.1/drivers/block/aoe/
Daoenet.c195 .type = __constant_htons(ETH_P_AOE),
Daoecmd.c71 skb->protocol = __constant_htons(ETH_P_AOE); in new_skb()
/Linux-v6.1/include/uapi/linux/byteorder/
Dbig_endian.h18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
Dlittle_endian.h18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
/Linux-v6.1/samples/bpf/
Dtest_lwt_bpf.c179 ehdr.h_proto = __constant_htons(ETH_P_IP); in __do_push_ll_and_redirect()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_flow_dissector.c86 .sin_port = __constant_htons(port), \
93 .sin6_port = __constant_htons(port), \
/Linux-v6.1/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c1267 interface->fcoe_packet_type.type = __constant_htons(ETH_P_FCOE); in bnx2fc_interface_setup()
/Linux-v6.1/Documentation/dev-tools/
Dcheckpatch.rst308 __constant_htons