Searched refs:__constant_htons (Results 1 – 7 of 7) sorted by relevance
18 # if !defined(__constant_htons)19 # define __constant_htons(x) (x) macro29 # if !defined(__constant_htons)30 # define __constant_htons(x) \ macro48 __constant_htons((x)) : \52 __constant_htons((x)) : \
56 if (skb->protocol == __constant_htons(ETH_P_8021Q)) { in nf_bridge_maybe_copy_header()77 if (skb->protocol == __constant_htons(ETH_P_IP)) in nf_bridge_pad()80 if (skb->protocol == __constant_htons(ETH_P_8021Q)) in nf_bridge_pad()
253 veth->h_vlan_proto = __constant_htons(ETH_P_8021Q); in __vlan_put_tag()258 skb->protocol = __constant_htons(ETH_P_8021Q); in __vlan_put_tag()313 if (veth->h_vlan_proto != __constant_htons(ETH_P_8021Q)) { in __vlan_get_tag()
1034 skb->protocol == __constant_htons(ETH_P_SLOW)) in skb_bond_should_drop()
16 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
1655 insns[2] = (struct sock_filter)BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __constant_htons(ident), 0, 1); in install_filter()