• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/netpfil/ipfw/

Lines Matching defs:kidx

175 	uint16_t	kidx;		/* named object index */
200 uint16_t kidx; /* named object index */
646 DYN_DEBUG("kidx %d", idx);
684 * Just return its kidx and bump refcount.
686 *pkidx = no->kidx;
690 DYN_DEBUG("\tfound kidx %d", *pkidx);
693 if (ipfw_objhash_alloc_idx(ni, &obj->no.kidx) != 0) {
700 SRV_OBJECT(ch, obj->no.kidx) = obj;
702 *pkidx = obj->no.kidx;
704 DYN_DEBUG("\tcreated kidx %d", *pkidx);
719 no->name, no->etlv, no->kidx, no->refcnt));
720 DYN_DEBUG("kidx %d", no->kidx);
721 obj = SRV_OBJECT(ch, no->kidx);
722 SRV_OBJECT(ch, no->kidx) = NULL;
724 ipfw_objhash_free_idx(CHAIN_TO_SRV(ch), no->kidx);
1056 if (info->kidx != 0 && s->kidx != info->kidx)
1082 const void *ulp, int pktlen, uint32_t bucket, uint16_t kidx)
1091 s->kidx != kidx)
1125 * NOTE: we do not need to check kidx, because parent rule
1126 * can not create states with different kidx.
1207 if (info->kidx != 0 && s->kidx != info->kidx)
1234 const void *ulp, int pktlen, uint32_t bucket, uint16_t kidx)
1242 if (s->proto != pkt->proto || s->kidx != kidx ||
1278 * NOTE: we do not need to check kidx, because parent rule
1279 * can not create states with different kidx.
1343 info->kidx = cmd->arg1;
1513 dyn_alloc_ipv4_state(const struct ipfw_flow_id *pkt, uint16_t kidx,
1523 s->kidx = kidx;
1542 uint16_t kidx)
1575 s = dyn_alloc_ipv4_state(pkt, kidx, O_LIMIT_PARENT);
1596 uint16_t kidx, uint8_t type)
1605 info->kidx != kidx ||
1613 bucket, kidx) != 0) {
1626 s = dyn_alloc_ipv4_state(pkt, kidx, type);
1644 uint16_t kidx, uint8_t type)
1653 s->kidx = kidx;
1673 uint32_t version, uint16_t kidx)
1706 s = dyn_alloc_ipv6_state(pkt, zoneid, kidx, O_LIMIT_PARENT);
1727 uint16_t fibnum, uint16_t kidx, uint8_t type)
1736 info->kidx != kidx ||
1744 bucket, kidx) != 0) {
1757 s = dyn_alloc_ipv6_state(pkt, zoneid, kidx, type);
1775 struct ip_fw *rule, uint32_t hashval, uint32_t limit, uint16_t kidx)
1800 rule->rulenum, pkt, hashval, version, kidx);
1824 kidx);
1869 uint16_t kidx, uint8_t type)
1911 limit, kidx);
1934 ulp, pktlen, hashval, info, fibnum, kidx, type);
1938 zoneid, ulp, pktlen, hashval, info, fibnum, kidx, type);
2137 struct ip_fw *rule, uint16_t kidx)
2150 MPASS(kidx != 0);
2154 obj = SRV_OBJECT(ch, kidx);
2164 struct ip_fw *rule, uint16_t kidx)
2169 MPASS(kidx != 0);
2171 obj = SRV_OBJECT(ch, kidx);
2209 dyn_acquire_rule(ch, s->data, rule, s->kidx);
2234 dyn_acquire_rule(ch, s->data, rule, s->kidx);
2300 rule, s->kidx); \
2882 MPASS(s->kidx != 0); \
2884 s->kidx) != 0) \
2935 dyn_export_parent(const struct dyn_parent *p, uint16_t kidx, uint8_t set,
2940 dst->kidx = kidx;
2967 dyn_export_data(const struct dyn_data *data, uint16_t kidx, uint8_t type,
2972 dst->kidx = kidx;
3009 dyn_export_parent(s->limit, s->kidx, rule->set, dst);
3015 dyn_export_data(s->data, s->kidx, s->type, rule->set, dst);
3041 dyn_export_parent(s->limit, s->kidx, rule->set, dst);
3047 dyn_export_data(s->data, s->kidx, s->type, rule->set, dst);