FACT++  1.0
void Checksum::addLoop ( const uint16_t *  sbuf,
const uint16_t *  end,
uint32_t *  hilo 
)
inline

Definition at line 127 of file checksum.h.

Referenced by add().

128  {
129  while (1)
130  {
131  if (sbuf==end)
132  break;
133 
134  hilo[0] += ntohs(*sbuf++);
135 
136  if (sbuf==end)
137  break;
138 
139  hilo[1] += ntohs(*sbuf++);
140  }
141  }
double end

+ Here is the caller graph for this function: