Skip to content

Commit

Permalink
CTC/LCS cosmetic-only changes -- part 1
Browse files Browse the repository at this point in the history
(no actual functionality was changed!)


git-svn-id: file:///home/jj/hercules.svn/trunk@4804 956126f8-22a0-4046-8f4a-272fa8102e63
  • Loading branch information
Fish (David B Trout) committed Jul 17, 2008
1 parent d3e66ce commit 39e5753
Show file tree
Hide file tree
Showing 4 changed files with 407 additions and 247 deletions.
7 changes: 5 additions & 2 deletions ctc_ctci.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
// $Id$
//
// $Log$
// Revision 1.71 2008/02/07 00:29:04 rbowler
// Solaris build support by Jeff Savit
//
// Revision 1.70 2008/01/11 21:33:21 fish
// new 'ctc' command to enable/disable debug option on demand
//
Expand Down Expand Up @@ -1097,14 +1100,14 @@ static int CTCI_EnqueueIPFrame( DEVBLK* pDEVBLK,
memset( pSegment, 0, iSize + sizeof( CTCISEG ) );

// Increment offset
pCTCBLK->iFrameOffset += iSize + sizeof( CTCISEG );
pCTCBLK->iFrameOffset += sizeof( CTCISEG ) + iSize;

// Update next frame offset
STORE_HW( pFrame->hwOffset,
pCTCBLK->iFrameOffset + sizeof( CTCIHDR ) );

// Store segment length
STORE_HW( pSegment->hwLength, iSize + sizeof( CTCISEG ) );
STORE_HW( pSegment->hwLength, sizeof( CTCISEG ) + iSize );

// Store Frame type
STORE_HW( pSegment->hwType, FRAME_TYPE_IP );
Expand Down
Loading

0 comments on commit 39e5753

Please sign in to comment.