Lines Matching refs:type

67     char *arg, uint8_t type, uint32_t vmask);
318 ntlv->head.type = IPFW_TLV_TBL_NAME;
334 { "type", TOK_TYPE },
359 /* Parse type options */
376 table_print_type(char *tbuf, size_t size, uint8_t type, uint8_t tflags)
381 if ((tname = match_value(tabletypes, type)) == NULL)
388 switch(type) {
402 * ipfw table NAME create [ type { addr | iface | number | flow } ]
427 NEED1("table type required");
439 xi.type = val;
449 NEED1("table value type required");
458 errx(EX_USAGE, "Unknown value type: %s. Supported: %s",
484 if (xi.type == 0)
485 xi.type = IPFW_TABLE_ADDR;
486 algo = match_value(tablealgos, xi.type);
505 if (xi.limit != xie.limit || xi.type != xie.type ||
799 table_print_type(ttype, sizeof(ttype), i->type, i->tflags);
804 printf(" kindex: %d, type: %s, locked\n", i->kidx, ttype);
806 printf(" kindex: %d, type: %s\n", i->kidx, ttype);
954 uint8_t type;
993 tentry_fill_key(oh, ptent, *av, add, &type, &vmask, &xi);
999 xi.type = type;
1010 oh->ntlv.type = type;
1014 tentry_fill_value(oh, ptent, *av, type, vmask);
1125 uint8_t type;
1137 tentry_fill_key(oh, tent, key, 0, &type, &vmask, xi);
1138 oh->ntlv.type = type;
1186 tentry_fill_key_type(char *arg, ipfw_obj_tentry *tentry, uint8_t type,
1203 switch (type) {
1234 type = IPFW_TABLE_ADDR;
1371 errx(EX_DATAERR, "Unsupported table type: %d", type);
1379 * Tries to guess table key type.
1439 uint8_t type, tflags;
1443 type = 0;
1455 type = xi->type;
1461 * Compatibility layer: try to guess key type
1464 if (guess_key_type(key, &type) != 0) {
1467 "key '%s' type", key);
1480 * Compatibility layer: try to guess key type before failing.
1482 if (guess_key_type(key, &type) != 0) {
1485 "key '%s' type", oh->ntlv.name, key);
1491 tentry_fill_key_type(key, tent, type, tflags);
1493 *ptype = type;
1514 uint8_t type, uint32_t vmask)
1876 switch (i->type) {
1990 if ((atype = match_value(tabletypes, info->type)) == NULL)
1993 printf(" type: %s\n refcount: %u\n", atype, info->refcnt);