Searched refs:ethproto (Results 1 – 9 of 9) sorted by relevance
83 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()85 ntohs(e->ethproto)); in ebt_vlan_mt_check()
106 if ((e->ethproto != htons(ETH_P_ARP) && in ebt_arp_mt_check()107 e->ethproto != htons(ETH_P_RARP)) || in ebt_arp_mt_check()
69 if (e->ethproto != htons(ETH_P_ARP) || in ebt_arpreply_tg_check()
109 if (e->ethproto != htons(ETH_P_IP) || in ebt_ip_mt_check()
111 if (e->ethproto != htons(ETH_P_IPV6) || e->invflags & EBT_IPROTO) in ebt_ip6_mt_check()
136 __be16 ethproto; in ebt_basic_match() local139 ethproto = htons(ETH_P_8021Q); in ebt_basic_match()141 ethproto = h->h_proto; in ebt_basic_match()144 if (NF_INVF(e, EBT_IPROTO, eth_proto_is_802_3(ethproto))) in ebt_basic_match()147 NF_INVF(e, EBT_IPROTO, e->ethproto != ethproto)) in ebt_basic_match()419 ntohs(e->ethproto), e->invflags & EBT_IPROTO); in ebt_check_match()456 ntohs(e->ethproto), e->invflags & EBT_IPROTO); in ebt_check_watcher()782 ntohs(e->ethproto), e->invflags & EBT_IPROTO); in ebt_check_entry()
172 __be16 ethproto; member
201 unsigned short ethproto, uint8_t daddr);
163 entry->ebt.ethproto = (__force __be16)proto; in nft_target_set_tgchk_param()464 entry->ebt.ethproto = (__force __be16)proto; in nft_match_set_mtchk_param()