Searched refs:ethproto (Results 1 – 9 of 9) sorted by relevance
94 if (e->ethproto != htons(ETH_P_8021Q)) { in ebt_vlan_mt_check()96 ntohs(e->ethproto)); in ebt_vlan_mt_check()
108 if ((e->ethproto != htons(ETH_P_ARP) && in ebt_arp_mt_check()109 e->ethproto != htons(ETH_P_RARP)) || in ebt_arp_mt_check()
67 if (e->ethproto != htons(ETH_P_ARP) || in ebt_arpreply_tg_check()
85 if (e->ethproto != htons(ETH_P_IP) || in ebt_ip_mt_check()
105 if (e->ethproto != htons(ETH_P_IPV6) || e->invflags & EBT_IPROTO) in ebt_ip6_mt_check()
133 __be16 ethproto; in ebt_basic_match() local137 ethproto = htons(ETH_P_8021Q); in ebt_basic_match()139 ethproto = h->h_proto; in ebt_basic_match()142 if (FWINV2(eth_proto_is_802_3(ethproto), EBT_IPROTO)) in ebt_basic_match()145 FWINV2(e->ethproto != ethproto, EBT_IPROTO)) in ebt_basic_match()381 e->ethproto, e->invflags & EBT_IPROTO); in ebt_check_match()412 e->ethproto, e->invflags & EBT_IPROTO); in ebt_check_watcher()747 e->ethproto, e->invflags & EBT_IPROTO); in ebt_check_entry()
159 __be16 ethproto; member
204 unsigned short ethproto, uint8_t daddr);
145 entry->ebt.ethproto = (__force __be16)proto; in nft_target_set_tgchk_param()362 entry->ebt.ethproto = (__force __be16)proto; in nft_match_set_mtchk_param()