Deleted Added
full compact
ip_fw_table.h (269227) ip_fw_table.h (269252)
1/*-
2 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 104 unchanged lines hidden (view full) ---

113 ta_foreach *foreach;
114 ta_dump_tentry *dump_tentry;
115 ta_print_config *print_config;
116 ta_find_tentry *find_tentry;
117 ta_change_ti *change_ti;
118};
119
120void ipfw_add_table_algo(struct ip_fw_chain *ch, struct table_algo *ta);
1/*-
2 * Copyright (c) 2002-2009 Luigi Rizzo, Universita` di Pisa
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 104 unchanged lines hidden (view full) ---

113 ta_foreach *foreach;
114 ta_dump_tentry *dump_tentry;
115 ta_print_config *print_config;
116 ta_find_tentry *find_tentry;
117 ta_change_ti *change_ti;
118};
119
120void ipfw_add_table_algo(struct ip_fw_chain *ch, struct table_algo *ta);
121extern struct table_algo radix_cidr, idx_iface;
121extern struct table_algo cidr_radix, iface_idx;
122
123void ipfw_table_algo_init(struct ip_fw_chain *chain);
124void ipfw_table_algo_destroy(struct ip_fw_chain *chain);
125
126
127/* direct ipfw_ctl handlers */
128int ipfw_listsize_tables(struct ip_fw_chain *ch, struct sockopt_data *sd);
129int ipfw_list_tables(struct ip_fw_chain *ch, struct sockopt_data *sd);

--- 45 unchanged lines hidden ---
122
123void ipfw_table_algo_init(struct ip_fw_chain *chain);
124void ipfw_table_algo_destroy(struct ip_fw_chain *chain);
125
126
127/* direct ipfw_ctl handlers */
128int ipfw_listsize_tables(struct ip_fw_chain *ch, struct sockopt_data *sd);
129int ipfw_list_tables(struct ip_fw_chain *ch, struct sockopt_data *sd);

--- 45 unchanged lines hidden ---