Lines Matching refs:stp
1040 myst_t *stp;
1042 stp = (myst_t *)node;
1043 rv = ipf_rx_delete(head, &stp->dst, &stp->mask);
1144 myst_t *stp = (myst_t *)node;
1150 addrname(&stp->dst), node[0].maskbitcount);
1151 if (stp->printed == -1)
1152 printf("!!! %d\n", stp->printed);
1154 stp->printed = 1;
1159 printnode(stp)
1160 myst_t *stp;
1162 ipf_rdx_node_t *node = &stp->nodes[0];
1164 if (stp->nodes[0].index > 0)
1165 stp = (myst_t *)&stp->nodes[-1];
1172 printf("%s P%d\n", addrname(&stp->dst), stp->printed);
1313 myst_t *stp;
1317 for (stp = myst_top; stp; stp = stp->next)
1318 printnode(stp);
1335 myst_t *stp;
1349 stp = (myst_t *)rn;
1351 rn ? addrname(&stp->dst) : "NULL",
1357 stp = (myst_t *)rn;
1359 rn ? addrname(&stp->dst) : "NULL", rn ? rn->maskbitcount : 0);
1373 myst_t *stp;
1386 for (stp = myst_top; stp != NULL; stp = stp->next)
1387 if (stp->printed != -1)
1388 stp->printed = -2;
1395 for (pstp = &myst_top; (stp = *pstp) != NULL; pstp = &stp->next)
1396 if (stp == (myst_t *)rn)
1398 stp->printed = -1;
1399 stp->nodes[0].parent = &stp->nodes[0];
1400 stp->nodes[1].parent = &stp->nodes[1];
1401 *pstp = stp->next;
1402 free(stp);
1414 myst_t *stp;
1416 stp = calloc(1, sizeof(*stp));
1417 rn = (ipf_rdx_node_t *)stp;
1418 setaddr(&stp->dst, ttable[item].host);
1419 stp->mask.adf_family = stp->dst.adf_family;
1420 setmask(&stp->mask, ttable[item].mask);
1421 stp->next = myst_top;
1422 myst_top = stp;
1425 rn = ipf_rx_addroute(rnh, &stp->dst, &stp->mask, stp->nodes);