Searched refs:ethproto (Results 1 – 5 of 5) sorted by relevance
198 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() local303 get_cmp_data(e, ðproto, 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()
1106 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()
78 uint16_t ethproto; member
172 __be16 ethproto; member
85 ethproto flags[ether_types, int16be]