Searched refs:kidx (Results 1 - 15 of 15) sorted by relevance

/freebsd-11.0-release/sys/netpfil/ipfw/
H A Dip_fw_eaction.c168 EACTION_DEBUG("kidx %u", idx);
212 if (ipfw_objhash_alloc_idx(ni, &obj->no.kidx) != 0) {
220 SRV_OBJECT(ch, obj->no.kidx) = obj;
226 *eaction_id = obj->no.kidx;
240 obj = SRV_OBJECT(ch, no->kidx);
241 SRV_OBJECT(ch, no->kidx) = NULL;
244 ipfw_objhash_free_idx(ni, no->kidx);
265 if (eaction_id == no->kidx)
267 EACTION_DEBUG("replace id %u with %u", eaction_id, no->kidx);
276 cmd->arg1 = no->kidx; /* Se
[all...]
H A Dip_fw_table.c178 get_table_value(struct ip_fw_chain *ch, struct table_config *tc, uint32_t kidx) argument
184 return (&pval[kidx]);
253 * Saves table config, algo and allocated kidx info @ptc, @pta and
293 uint16_t kidx; local
327 error = create_table_compat(ch, ti, &kidx);
333 tc = (struct table_config *)ipfw_objhash_lookup_kidx(ni, kidx);
334 KASSERT(tc != NULL, ("create_table_compat returned bad idx %d", kidx));
552 uint16_t kidx; local
634 kidx = tc->no.kidx;
716 uint16_t kidx; local
968 int error, i, kidx, read; local
1206 uint16_t kidx; local
1837 uint16_t kidx; local
1940 ipfw_export_table_ntlv(struct ip_fw_chain *ch, uint16_t kidx, struct sockopt_data *sd) argument
2494 ipfw_foreach_table_tentry(struct ip_fw_chain *ch, uint16_t kidx, ta_foreach_f *f, void *arg) argument
2949 uint16_t kidx; local
3158 uint16_t kidx; local
3188 uint16_t kidx; local
[all...]
H A Dip_fw_table_value.c161 ptv->pval = &pval[ptv->no.kidx];
162 ptv->no.name = (char *)&pval[ptv->no.kidx];
248 * Drops reference for table value with index @kidx, stored in @pval and
253 uint32_t kidx)
257 KASSERT(pval[kidx].refcnt > 0, ("Refcount is 0 on kidx %d", kidx));
258 if (--pval[kidx].refcnt > 0)
262 ptvl = (struct table_val_link *)ipfw_objhash_lookup_kidx(vi, kidx);
263 KASSERT(ptvl != NULL, ("lookup on value kidx
252 unref_table_value(struct namedobj_instance *vi, struct table_value *pval, uint32_t kidx) argument
[all...]
H A Dip_fw_sockopt.c170 static int export_objhash_ntlv(struct namedobj_instance *ni, uint16_t kidx,
579 cmdif->p.kidx = (uint16_t)cmdif->p.glob;
663 cmdif->p.glob = cmdif->p.kidx;
930 * @set used to pass kidx.
941 /* @set used to pass kidx */
959 /* @set used to pass kidx */
1058 uint16_t kidx; local
1073 rw = find_op_rw(cmd, &kidx, NULL);
1082 if (rw->manage_sets(ch, kidx, 1, COUNT_ONE) != 0)
1100 rw = find_op_rw(cmd, &kidx, NUL
2162 export_objhash_ntlv(struct namedobj_instance *ni, uint16_t kidx, struct sockopt_data *sd) argument
2270 uint16_t kidx; local
2445 uint16_t kidx; local
2504 uint16_t kidx, uidx; local
2588 uint16_t kidx; local
4412 ipfw_objhash_lookup_kidx(struct namedobj_instance *ni, uint16_t kidx) argument
[all...]
H A Dip_fw_table.h184 int ipfw_export_table_ntlv(struct ip_fw_chain *ch, uint16_t kidx,
194 int ipfw_foreach_table_tentry(struct ip_fw_chain *ch, uint16_t kidx,
H A Dip_fw_private.h319 uint16_t kidx; /* object kernel index */ member in struct:named_object
447 uint16_t kidx; /* kernel object index */ member in struct:obj_idx
560 uint16_t kidx);
580 * COUNT_ONE used to count number of references used by object with kidx `set';
581 * TEST_ONE checks that named object with kidx `set' can be moved to `new_set`;
582 * MOVE_ONE moves named object with kidx `set' to set `new_set'.
597 ipfw_obj_fidx_cb *find_bykidx; /* Find named object by kidx */
H A Dip_fw_table_algo.c525 tent->v.kidx = n->value;
532 tent->v.kidx = xn->value;
1381 tent->v.kidx = ent->value;
1387 tent->v.kidx = ent->value;
1906 uint16_t kidx; member in struct:ifidx
1987 if (key < ifidx->kidx)
1989 else if (key > ifidx->kidx)
2395 ifi.kidx = ifindex;
2531 tent->v.kidx = ife->value;
2988 tent->v.kidx
[all...]
H A Dip_fw2.c385 return ipfw_lookup_table_extended(chain, cmd->p.kidx, 0,
/freebsd-11.0-release/sys/dev/usb/wlan/
H A Dif_rumreg.h53 #define RT2573_SKEY(vap, kidx) (0x1000 + ((vap) * RT2573_SKEY_MAX + \
54 (kidx)) * KEY_SIZE)
H A Dif_runreg.h196 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32)
/freebsd-11.0-release/sys/netinet/
H A Dip_fw.h382 uint16_t kidx; member in union:_ipfw_insn_if::__anon12728
857 uint32_t kidx; /* value kernel index */ member in union:_ipfw_obj_tentry::__anon12734
936 uint32_t kidx; /* kernel index */ member in struct:_ipfw_xtable_info
/freebsd-11.0-release/sys/dev/ral/
H A Drt2860reg.h198 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32)
/freebsd-11.0-release/sbin/ipfw/
H A Dtables.c735 printf(" kindex: %d, type: %s, locked\n", i->kidx, ttype);
737 printf(" kindex: %d, type: %s\n", i->kidx, ttype);
H A Dipfw2.c1920 cmdif->p.kidx);
3244 cmd->p.kidx = uidx;
5201 printf(" kidx: %4d\ttype: %10d\tname: %s\n",
5204 printf(" kidx: %4d\ttype: %10s\tname: %s\n",
/freebsd-11.0-release/sys/dev/bwn/
H A Dif_bwn.c4561 uint16_t kidx, value; local
4563 kidx = BWN_SEC_KEY2FW(mac, index);
4565 BWN_SHARED_KEYIDX_BLOCK + (kidx * 2), (kidx << 4) | algorithm);

Completed in 343 milliseconds