| version 1.85, 2006/05/05 00:03:22 |
version 1.86, 2006/05/07 16:02:40 |
| Line 1149 ip6_savecontrol(in6p, mp, ip6, m) |
|
| Line 1149 ip6_savecontrol(in6p, mp, ip6, m) |
|
| * Note that the order of the headers remains in |
* Note that the order of the headers remains in |
| * the chain of ancillary data. |
* the chain of ancillary data. |
| */ |
*/ |
| while (1) { /* is explicit loop prevention necessary? */ |
for (;;) { /* is explicit loop prevention necessary? */ |
| struct ip6_ext *ip6e = NULL; |
struct ip6_ext *ip6e = NULL; |
| int elen; |
int elen; |
| struct mbuf *ext = NULL; |
struct mbuf *ext = NULL; |
| Line 1479 ip6_lasthdr(m, off, proto, nxtp) |
|
| Line 1479 ip6_lasthdr(m, off, proto, nxtp) |
|
| nxt = -1; |
nxt = -1; |
| nxtp = &nxt; |
nxtp = &nxt; |
| } |
} |
| while (1) { |
for (;;) { |
| newoff = ip6_nexthdr(m, off, proto, nxtp); |
newoff = ip6_nexthdr(m, off, proto, nxtp); |
| if (newoff < 0) |
if (newoff < 0) |
| return off; |
return off; |