Lines Matching refs:pendingTxPacket
435 context->pendingTxPacket.length = 0; in chppProcessTransportLoopbackRequest()
436 context->pendingTxPacket.length += in chppProcessTransportLoopbackRequest()
437 chppAddPreamble(&context->pendingTxPacket.payload[0]); in chppProcessTransportLoopbackRequest()
440 (struct ChppTransportHeader *)&context->pendingTxPacket in chppProcessTransportLoopbackRequest()
441 .payload[context->pendingTxPacket.length]; in chppProcessTransportLoopbackRequest()
442 context->pendingTxPacket.length += sizeof(*txHeader); in chppProcessTransportLoopbackRequest()
450 chppAppendToPendingTxPacket(&context->pendingTxPacket, in chppProcessTransportLoopbackRequest()
455 chppAddFooter(&context->pendingTxPacket); in chppProcessTransportLoopbackRequest()
835 (struct ChppTransportHeader *)&context->pendingTxPacket in chppAddHeader()
836 .payload[context->pendingTxPacket.length]; in chppAddHeader()
837 context->pendingTxPacket.length += sizeof(*txHeader); in chppAddHeader()
856 (struct ChppTransportHeader *)&context->pendingTxPacket in chppAddPayload()
879 &context->pendingTxPacket, in chppAddPayload()
979 context->pendingTxPacket.length = 0; in chppTransportDoWork()
980 memset(&context->pendingTxPacket.payload, 0, CHPP_LINK_TX_MTU_BYTES); in chppTransportDoWork()
983 context->pendingTxPacket.length += in chppTransportDoWork()
984 chppAddPreamble(&context->pendingTxPacket.payload[0]); in chppTransportDoWork()
1020 chppAddFooter(&context->pendingTxPacket); in chppTransportDoWork()
1037 context->pendingTxPacket.length, txHeader->flags, in chppTransportDoWork()
1174 &context->linkParams, context->pendingTxPacket.payload, in chppSendPendingPacket()
1175 context->pendingTxPacket.length); in chppSendPendingPacket()
1666 context->pendingTxPacket.length = 0; in chppRunTransportLoopback()
1667 memset(&context->pendingTxPacket.payload, 0, CHPP_LINK_TX_MTU_BYTES); in chppRunTransportLoopback()
1668 context->pendingTxPacket.length += in chppRunTransportLoopback()
1669 chppAddPreamble(&context->pendingTxPacket.payload[0]); in chppRunTransportLoopback()
1672 (struct ChppTransportHeader *)&context->pendingTxPacket in chppRunTransportLoopback()
1673 .payload[context->pendingTxPacket.length]; in chppRunTransportLoopback()
1674 context->pendingTxPacket.length += sizeof(*txHeader); in chppRunTransportLoopback()
1681 chppAppendToPendingTxPacket(&context->pendingTxPacket, buf, payloadLen); in chppRunTransportLoopback()
1683 chppAddFooter(&context->pendingTxPacket); in chppRunTransportLoopback()
1687 context->pendingTxPacket.length, txHeader->length, len); in chppRunTransportLoopback()