Searched refs:tei (Results 1 - 5 of 5) sorted by last modified time

/freebsd-11-stable/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c110 * typedef int (ta_prepare_add)(struct ip_fw_chain *ch, struct tentry_info *tei,
115 * from @tei to minimize operations needed to be done under WLOCK.
123 * typedef int (ta_prepare_del)(struct ip_fw_chain *ch, struct tentry_info *tei,
135 * struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
139 * * @tei may have the following flags:
143 * copy real entry value from @tei
145 * entry updated: return 0, store 0 to @pnum, store old value in @tei,
146 * add TEI_FLAGS_UPDATED flag to @tei.
155 * struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
160 * entry deleted: return 0, set 1 to @pnum, store old value in @tei
600 tei_to_sockaddr_ent(struct tentry_info *tei, struct sockaddr *sa, struct sockaddr *ma, int *set_mask) argument
652 ta_prepare_add_radix(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
706 ta_add_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
769 ta_prepare_del_radix(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
807 ta_del_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
846 ta_flush_radix_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1419 tei_to_chash_ent(struct tentry_info *tei, struct chashentry *ent) argument
1464 struct tentry_info tei; local
1533 ta_prepare_add_chash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1555 ta_add_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
1630 ta_prepare_del_chash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1641 ta_del_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
1693 ta_flush_chash_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2193 ta_prepare_add_ifidx(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2225 ta_add_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2289 ta_prepare_del_ifidx(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2310 ta_del_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2363 ta_flush_ifidx_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2778 ta_prepare_add_numarray(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2791 ta_add_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2841 ta_del_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2870 ta_flush_numarray_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3397 tei_to_fhash_ent(struct tentry_info *tei, struct fhashentry *ent) argument
3443 struct tentry_info tei; local
3496 ta_prepare_add_fhash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3526 ta_add_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
3588 ta_prepare_del_fhash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3599 ta_del_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
3638 ta_flush_fhash_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
[all...]
H A Dip_fw_sockopt.c3981 struct tentry_info tei; local
3990 memset(&tei, 0, sizeof(tei));
3991 tei.paddr = &ent.addr;
3992 tei.subtype = AF_INET;
3993 tei.masklen = ent.masklen;
3995 tei.pvalue = &v;
4001 add_table_entry(chain, &ti, &tei, 0, 1) :
4002 del_table_entry(chain, &ti, &tei, 0, 1);
H A Dip_fw_table.c106 struct tentry_info *tei, uint32_t count, int op, struct table_config **ptc);
190 * Checks if we're able to insert/update entry @tei into table
192 * May alter @tei to indicate insertion error / insert
198 check_table_limit(struct table_config *tc, struct tentry_info *tei) argument
204 if ((tei->flags & TEI_FLAGS_UPDATE) == 0) {
206 tei->flags |= TEI_FLAGS_LIMIT;
216 tei->flags |= TEI_FLAGS_DONTADD;
226 store_tei_result(struct tentry_info *tei, int op, int error, uint32_t num) argument
249 tei->flags |= flag;
289 struct tentry_info *tei, uint32_
288 find_ref_table(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint32_t count, int op, struct table_config **ptc) argument
350 rollback_added_entries(struct ip_fw_chain *ch, struct table_config *tc, struct table_info *tinfo, struct tentry_info *tei, caddr_t ta_buf_m, uint32_t count, uint32_t added) argument
398 prepare_batch_buffer(struct ip_fw_chain *ch, struct table_algo *ta, struct tentry_info *tei, uint32_t count, int op, caddr_t *ta_buf) argument
451 flush_batch_buffer(struct ip_fw_chain *ch, struct table_algo *ta, struct tentry_info *tei, uint32_t count, int rollback, caddr_t ta_buf_m, caddr_t ta_buf) argument
548 add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument
711 del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument
908 struct tentry_info tei; local
967 struct tentry_info *ptei, tei, *tei_buf; local
[all...]
H A Dip_fw_table_value.c350 ptei = &ts->tei[i];
418 struct tentry_info *tei, uint32_t count, int rollback)
448 ptei = &tei[i];
482 struct tentry_info *tei, *ptei; local
500 tei = ts->tei;
503 ptei = &tei[i];
538 ptei = &tei[i];
568 ptei = &tei[i];
417 ipfw_garbage_table_values(struct ip_fw_chain *ch, struct table_config *tc, struct tentry_info *tei, uint32_t count, int rollback) argument
H A Dip_fw_table.h80 typedef int (ta_prepare_add)(struct ip_fw_chain *ch, struct tentry_info *tei,
82 typedef int (ta_prepare_del)(struct ip_fw_chain *ch, struct tentry_info *tei,
85 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
87 struct tentry_info *tei, void *ta_buf, uint32_t *pnum);
88 typedef void (ta_flush_entry)(struct ip_fw_chain *ch, struct tentry_info *tei,
157 struct tentry_info *tei, uint8_t flags, uint32_t count);
159 struct tentry_info *tei, uint8_t flags, uint32_t count);
173 struct tentry_info *tei, uint32_t count, int rollback);
213 struct tentry_info *tei; member in struct:tableop_state

Completed in 193 milliseconds