static void
rxi_FreePacketNoLock(struct rx_packet *p)
{
- dpf(("Free %"AFS_PTR_FMT"\n", p));
+ dpf(("Free %p\n", p));
RX_FPQ_MARK_FREE(p);
rx_nFreePackets++;
rxi_FreePacketTSFPQ(struct rx_packet *p, int flush_global)
{
struct rx_ts_info_t * rx_ts_info;
- dpf(("Free %"AFS_PTR_FMT"\n", p));
+ dpf(("Free %p\n", p));
RX_TS_INFO_GET(rx_ts_info);
RX_TS_FPQ_CHECKIN(rx_ts_info,p);
RX_TS_FPQ_CHECKOUT(rx_ts_info,p);
- dpf(("Alloc %"AFS_PTR_FMT", class %d\n", p, class));
+ dpf(("Alloc %p, class %d\n", p, class));
/* have to do this here because rx_FlushWrite fiddles with the iovs in
opr_queue_Remove(&p->entry);
RX_FPQ_MARK_USED(p);
- dpf(("Alloc %"AFS_PTR_FMT", class %d\n", p, class));
+ dpf(("Alloc %p, class %d\n", p, class));
/* have to do this here because rx_FlushWrite fiddles with the iovs in
RX_TS_FPQ_CHECKOUT(rx_ts_info,p);
- dpf(("Alloc %"AFS_PTR_FMT", class %d\n", p, class));
+ dpf(("Alloc %p, class %d\n", p, class));
/* have to do this here because rx_FlushWrite fiddles with the iovs in
* order to truncate outbound packets. In the near future, may need
* last two pad bytes. */
struct rx_packet *
-rxi_SplitJumboPacket(struct rx_packet *p, afs_uint32 host, short port,
- int first)
+rxi_SplitJumboPacket(struct rx_packet *p)
{
struct rx_packet *np;
struct rx_jumboHeader *jp;
tconn.natMTU = htonl(tc->peer->natMTU);
tconn.error = htonl(tc->error);
- tconn.flags = tc->flags;
+ tconn.flags = (u_char) (tc->flags & 0xff); /* compat. */
tconn.type = tc->type;
tconn.securityIndex = tc->securityIndex;
if (tc->securityObject) {
#endif
#ifdef RXDEBUG
}
- dpf(("%c %d %s: %x.%u.%u.%u.%u.%u.%u flags %d, packet %"AFS_PTR_FMT" len %d\n",
+ dpf(("%c %d %s: %x.%u.%u.%u.%u.%u.%u flags %d, packet %p len %d\n",
deliveryType, p->header.serial, rx_packetTypes[p->header.type - 1], ntohl(peer->host),
ntohs(peer->port), p->header.serial, p->header.epoch, p->header.cid, p->header.callNumber,
p->header.seq, p->header.flags, p, p->length));
osi_Assert(p != NULL);
- dpf(("%c %d %s: %x.%u.%u.%u.%u.%u.%u flags %d, packet %"AFS_PTR_FMT" len %d\n",
+ dpf(("%c %d %s: %x.%u.%u.%u.%u.%u.%u flags %d, packet %p len %d\n",
deliveryType, p->header.serial, rx_packetTypes[p->header.type - 1], ntohl(peer->host),
ntohs(peer->port), p->header.serial, p->header.epoch, p->header.cid, p->header.callNumber,
p->header.seq, p->header.flags, p, p->length));