Lines Matching refs:p1
1028 PacketFormatV1* p1 = (PacketFormatV1*)pkt->data;
1033 p1->ack_nr = ack_nr;
1178 PacketFormatV1* p1 = (PacketFormatV1*)pkt->data;
1186 p1->set_version(1);
1187 p1->set_type(flags);
1188 p1->ext = 0;
1189 p1->connid = conn_id_send;
1190 p1->windowsize = (uint32)last_rcv_win;
1191 p1->ack_nr = ack_nr;
1199 else p1->seq_nr = seq_nr;
2474 PacketFormatExtensionsV1* p1 = (PacketFormatExtensionsV1*)pkt->data;
2489 p1->pf.set_version(1);
2490 p1->pf.set_type(ST_SYN);
2491 p1->pf.ext = 2;
2492 p1->pf.connid = conn->conn_id_recv;
2493 p1->pf.windowsize = (uint32)conn->last_rcv_win;
2494 p1->pf.seq_nr = conn->seq_nr;
2495 p1->ext_next = 0;
2496 p1->ext_len = 8;
2497 memset(p1->extensions, 0, 8);
2527 const PacketFormatV1* p1 = (PacketFormatV1*)buffer;
2529 const byte version = UTP_IsV1(p1);
2530 const uint32 id = (version == 0) ? p->connid : uint32(p1->connid);
2672 const PacketFormatV1* p1 = (PacketFormatV1*)buffer;
2674 const byte version = UTP_IsV1(p1);
2675 const uint32 id = (version == 0) ? p->connid : uint32(p1->connid);