Révision 5e4caac8
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..9504249 100644
|
|
619 |
index a8d7eea..dd87f26 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 { |
... | ... | |
627 | 627 |
struct inpcb *inp; |
628 | 628 |
|
629 | 629 |
struct _ip6dn_args dummypar; /* dummynet->ip6_output */ |
630 |
@@ -304,8 +305,11 @@ void ipfw_reap_rules(struct ip_fw *head);
|
|
630 |
@@ -304,13 +305,16 @@ void ipfw_reap_rules(struct ip_fw *head);
|
|
631 | 631 |
struct radix_node; |
632 | 632 |
int ipfw_lookup_table(struct ip_fw_chain *ch, uint16_t tbl, in_addr_t addr, |
633 | 633 |
uint32_t *val); |
... | ... | |
641 | 641 |
int ipfw_init_tables(struct ip_fw_chain *ch); |
642 | 642 |
void ipfw_destroy_tables(struct ip_fw_chain *ch); |
643 | 643 |
int ipfw_flush_table(struct ip_fw_chain *ch, uint16_t tbl); |
644 |
int ipfw_add_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, |
|
645 |
- uint8_t plen, uint8_t mlen, uint8_t type, uint32_t value); |
|
646 |
+ uint8_t plen, uint8_t mlen, uint8_t type, u_int64_t mac_addr, uint32_t value); |
|
647 |
int ipfw_del_table_entry(struct ip_fw_chain *ch, uint16_t tbl, void *paddr, |
|
648 |
uint8_t plen, uint8_t mlen, uint8_t type); |
|
649 |
int ipfw_count_table(struct ip_fw_chain *ch, uint32_t tbl, uint32_t *cnt); |
|
644 | 650 |
diff --git a/sys/netpfil/ipfw/ip_fw_sockopt.c b/sys/netpfil/ipfw/ip_fw_sockopt.c |
645 | 651 |
index cb9c89c..e55f455 100644 |
646 | 652 |
--- a/sys/netpfil/ipfw/ip_fw_sockopt.c |
Formats disponibles : Unified diff
Another missed declaration updating