Home
last modified time | relevance | path

Searched refs:ethproto (Results 1 – 4 of 4) sorted by relevance

/external/iptables/iptables/
Dnft-bridge.c198 if (fw->ethproto != 0) { in nft_bridge_add()
202 add_cmp_u16(r, fw->ethproto, op); in nft_bridge_add()
205 add_compat(r, fw->ethproto, fw->invflags); in nft_bridge_add()
283 unsigned short int ethproto; in nft_bridge_parse_payload() local
303 get_cmp_data(e, &ethproto, sizeof(ethproto), &inv); in nft_bridge_parse_payload()
304 fw->ethproto = ethproto; in nft_bridge_parse_payload()
453 if (cs.fw.ethproto != 0) { in nft_bridge_print_firewall()
462 ent = getethertypebynumber(ntohs(cs.fw.ethproto)); in nft_bridge_print_firewall()
464 printf("0x%x ", ntohs(cs.fw.ethproto)); in nft_bridge_print_firewall()
555 if (a->ethproto != b->ethproto || in nft_bridge_is_same()
Dnft-bridge.h78 uint16_t ethproto; member
Dxtables-eb.c1106 cs.fw.ethproto = ent->e_ethertype; in do_commandeb()
1108 cs.fw.ethproto = i; in do_commandeb()
1110 if (cs.fw.ethproto < 0x0600) in do_commandeb()
1319 cs.fw.ethproto = htons(cs.fw.ethproto); in do_commandeb()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debtables.h161 __be16 ethproto; member