Searched refs:ethproto (Results 1 – 4 of 4) 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()
78 uint16_t ethproto; member
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()
161 __be16 ethproto; member