Home | History | Annotate | Download | only in netinet

Lines Matching defs:stp

1013 	myst_t *stp;
1015 stp = (myst_t *)node;
1016 rv = ipf_rx_delete(head, &stp->dst, &stp->mask);
1117 myst_t *stp = (myst_t *)node;
1123 addrname(&stp->dst), node[0].maskbitcount);
1124 if (stp->printed == -1)
1125 printf("!!! %d\n", stp->printed);
1127 stp->printed = 1;
1132 printnode(stp)
1133 myst_t *stp;
1135 ipf_rdx_node_t *node = &stp->nodes[0];
1137 if (stp->nodes[0].index > 0)
1138 stp = (myst_t *)&stp->nodes[-1];
1145 printf("%s P%d\n", addrname(&stp->dst), stp->printed);
1286 myst_t *stp;
1290 for (stp = myst_top; stp; stp = stp->next)
1291 printnode(stp);
1308 myst_t *stp;
1322 stp = (myst_t *)rn;
1324 rn ? addrname(&stp->dst) : "NULL",
1330 stp = (myst_t *)rn;
1332 rn ? addrname(&stp->dst) : "NULL", rn ? rn->maskbitcount : 0);
1346 myst_t *stp;
1359 for (stp = myst_top; stp != NULL; stp = stp->next)
1360 if (stp->printed != -1)
1361 stp->printed = -2;
1368 for (pstp = &myst_top; (stp = *pstp) != NULL; pstp = &stp->next)
1369 if (stp == (myst_t *)rn)
1371 stp->printed = -1;
1372 stp->nodes[0].parent = &stp->nodes[0];
1373 stp->nodes[1].parent = &stp->nodes[1];
1374 *pstp = stp->next;
1375 free(stp);
1387 myst_t *stp;
1389 stp = calloc(1, sizeof(*stp));
1390 rn = (ipf_rdx_node_t *)stp;
1391 setaddr(&stp->dst, ttable[item].host);
1392 stp->mask.adf_family = stp->dst.adf_family;
1393 setmask(&stp->mask, ttable[item].mask);
1394 stp->next = myst_top;
1395 myst_top = stp;
1398 rn = ipf_rx_addroute(rnh, &stp->dst, &stp->mask, stp->nodes);