326: if (ipq_lock_try() == 0) { \
327: printf("%s:%d: ipq already locked\n", __FILE__, __LINE__); \
328: panic("ipq_lock"); \
333: if (ipq_locked == 0) { \
334: printf("%s:%d: ipq lock not held\n", __FILE__, __LINE__); \
335: panic("ipq lock check"); \
494: if (i != 0)
495: printf("ip_init: WARNING: unable to register pfil hook, "
496: "error %d\n", i);
1437: if (nfrags != fp->ipq_nfrags)
1438: printf("ip_freef: nfrags %d != %d\n", fp->ipq_nfrags, nfrags);
1439: #endif
1864: if (ipprintfs)
1865: printf("save_rte: olen %d\n", olen);
1866: #endif /* 0 */
1898: if (ipprintfs)
1899: printf("ip_srcroute: nhops %d mlen %d", ip_nhops, m->m_len);
1900: #endif
1908: if (ipprintfs)
1909: printf(" hops %x", ntohl(mtod(m, struct in_addr *)->s_addr));
1910: #endif
1928: if (ipprintfs)
1929: printf(" %x", ntohl(q->s_addr));
1930: #endif
1938: if (ipprintfs)
1939: printf(" %x\n", ntohl(q->s_addr));
1940: #endif
1995: if (ipprintfs) {
1996: printf("forward: src %s ", inet_ntoa(ip->ip_src));
1997: printf("dst %s ttl %x\n", inet_ntoa(ip->ip_dst), ip->ip_ttl);
1998: }
2053: if (ipprintfs)
2054: printf("redirect (%d) to %x\n", code,
2055: (u_int32_t)dest);