version 1.17, 2005/03/30 06:45:34 |
version 1.18, 2005/10/17 19:09:36 |
|
|
isspx = strcmp(name, "spx") == 0; |
isspx = strcmp(name, "spx") == 0; |
kread(off, &table, sizeof (table)); |
kread(off, &table, sizeof (table)); |
prev = head = (struct ipxpcb *) |
prev = head = (struct ipxpcb *) |
&((struct ipxpcbtable *)off)->ipxpt_queue.cqh_first; |
&CIRCLEQ_FIRST(&((struct ipxpcbtable *)off)->ipxpt_queue); |
next = table.ipxpt_queue.cqh_first; |
next = CIRCLEQ_FIRST(&table.ipxpt_queue); |
|
|
while (next != head) { |
while (next != head) { |
kread((u_long)next, &ipxpcb, sizeof (ipxpcb)); |
kread((u_long)next, &ipxpcb, sizeof (ipxpcb)); |
if (ipxpcb.ipxp_queue.cqe_prev != prev) { |
if (CIRCLEQ_PREV(&ipxpcb, ipxp_queue) != prev) { |
printf("???\n"); |
printf("???\n"); |
break; |
break; |
} |
} |
prev = next; |
prev = next; |
next = ipxpcb.ipxp_queue.cqe_next; |
next = CIRCLEQ_NEXT(&ipxpcb, ipxp_queue); |
|
|
if (!aflag && ipx_nullhost(ipxpcb.ipxp_faddr) ) |
if (!aflag && ipx_nullhost(ipxpcb.ipxp_faddr) ) |
continue; |
continue; |