Lines Matching refs:tbl
1129 error = ipfw_add_table_entry(chain, ent.tbl,
1143 error = ipfw_del_table_entry(chain, ent.tbl,
1168 ipfw_add_table_entry(chain, xent->tbl, &xent->k,
1170 ipfw_del_table_entry(chain, xent->tbl, &xent->k,
1177 u_int16_t tbl;
1179 error = sooptcopyin(sopt, &tbl,
1180 sizeof(tbl), sizeof(tbl));
1183 error = ipfw_flush_table(chain, tbl);
1189 u_int32_t tbl, cnt;
1191 if ((error = sooptcopyin(sopt, &tbl, sizeof(tbl),
1192 sizeof(tbl))))
1195 error = ipfw_count_table(chain, tbl, &cnt);
1205 ipfw_table *tbl;
1207 if (sopt->sopt_valsize < sizeof(*tbl)) {
1212 tbl = malloc(size, M_TEMP, M_WAITOK);
1213 error = sooptcopyin(sopt, tbl, size, sizeof(*tbl));
1215 free(tbl, M_TEMP);
1218 tbl->size = (size - sizeof(*tbl)) /
1221 error = ipfw_dump_table(chain, tbl);
1224 free(tbl, M_TEMP);
1227 error = sooptcopyout(sopt, tbl, size);
1228 free(tbl, M_TEMP);
1234 uint32_t *tbl;
1241 tbl = (uint32_t *)(op3 + 1);
1244 error = ipfw_count_xtable(chain, *tbl, tbl);
1254 ipfw_xtable *tbl;
1261 tbl = malloc(size, M_TEMP, M_ZERO | M_WAITOK);
1262 memcpy(tbl, op3, sizeof(ipfw_xtable));
1265 tbl->size = (size - sizeof(ipfw_xtable)) /
1268 error = ipfw_dump_xtable(chain, tbl);
1271 free(tbl, M_TEMP);
1276 tbl->size = tbl->size * sizeof(ipfw_table_xentry) +
1283 error = sooptcopyout(sopt, tbl, size);
1284 free(tbl, M_TEMP);