Révision 34b16b24
Ajouté par Ermal il y a presque 10 ans
patches/stable/10/CP_speedup.diff | ||
---|---|---|
616 | 616 |
return 0; |
617 | 617 |
|
618 | 618 |
diff --git a/sys/netpfil/ipfw/ip_fw_private.h b/sys/netpfil/ipfw/ip_fw_private.h |
619 |
index a8d7eea..1d8a4aa 100644
|
|
619 |
index a8d7eea..9504249 100644
|
|
620 | 620 |
--- a/sys/netpfil/ipfw/ip_fw_private.h |
621 | 621 |
+++ b/sys/netpfil/ipfw/ip_fw_private.h |
622 | 622 |
@@ -101,6 +101,7 @@ struct ip_fw_args { |
... | ... | |
632 | 632 |
int ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr, |
633 | 633 |
uint32_t *val); |
634 | 634 |
-int ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, |
635 |
- uint32_t *val, int type); |
|
635 | 636 |
+void *ipfw_lookup_table_extended(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, |
636 |
uint32_t *val, int type);
|
|
637 |
+ uint32_t *val, int type, struct ether_addr *);
|
|
637 | 638 |
+void ipfw_count_table_xentry_stats(void *, int); |
638 | 639 |
+int ipfw_zero_table_xentry_stats(struct ip_fw_chain *, ipfw_table_xentry *); |
639 | 640 |
+int ipfw_lookup_table_xentry(struct ip_fw_chain *, ipfw_table_xentry *); |
Formats disponibles : Unified diff
Fixup forgotten function adaption