Searched refs:tei (Results 1 - 5 of 5) sorted by relevance

/freebsd-13-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
598 tei_to_sockaddr_ent(struct tentry_info *tei, struct sockaddr *sa, struct sockaddr *ma, int *set_mask) argument
650 ta_prepare_add_radix(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
704 ta_add_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
767 ta_prepare_del_radix(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
805 ta_del_radix(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
844 ta_flush_radix_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1412 tei_to_chash_ent(struct tentry_info *tei, struct chashentry *ent) argument
1456 struct tentry_info tei; local
1525 ta_prepare_add_chash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1547 ta_add_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
1622 ta_prepare_del_chash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
1633 ta_del_chash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
1685 ta_flush_chash_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2183 ta_prepare_add_ifidx(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2215 ta_add_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2279 ta_prepare_del_ifidx(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2300 ta_del_ifidx(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2352 ta_flush_ifidx_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2765 ta_prepare_add_numarray(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
2778 ta_add_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2828 ta_del_numarray(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
2857 ta_flush_numarray_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3383 tei_to_fhash_ent(struct tentry_info *tei, struct fhashentry *ent) argument
3428 struct tentry_info tei; local
3481 ta_prepare_add_fhash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3511 ta_add_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
3573 ta_prepare_del_fhash(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
3584 ta_del_fhash(void *ta_state, struct table_info *ti, struct tentry_info *tei, void *ta_buf, uint32_t *pnum) argument
3623 ta_flush_fhash_entry(struct ip_fw_chain *ch, struct tentry_info *tei, void *ta_buf) argument
[all...]
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);
174 struct tentry_info *tei, uint32_t count, int rollback);
214 struct tentry_info *tei; member in struct:tableop_state
H A Dip_fw_table.c107 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
397 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
449 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
545 add_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument
716 del_table_entry(struct ip_fw_chain *ch, struct tid_info *ti, struct tentry_info *tei, uint8_t flags, uint32_t count) argument
912 struct tentry_info tei; local
971 struct tentry_info *ptei, tei, *tei_buf; local
[all...]
H A Dip_fw_table_value.c348 ptei = &ts->tei[i];
411 struct tentry_info *tei, uint32_t count, int rollback)
442 ptei = &tei[i];
476 struct tentry_info *tei, *ptei; local
494 tei = ts->tei;
497 ptei = &tei[i];
532 ptei = &tei[i];
561 ptei = &tei[i];
410 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_sockopt.c3965 struct tentry_info tei; local
3974 memset(&tei, 0, sizeof(tei));
3975 tei.paddr = &ent.addr;
3976 tei.subtype = AF_INET;
3977 tei.masklen = ent.masklen;
3979 tei.pvalue = &v;
3985 add_table_entry(chain, &ti, &tei, 0, 1) :
3986 del_table_entry(chain, &ti, &tei, 0, 1);

Completed in 77 milliseconds