• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/

Lines Matching refs:diffs6

2150         PexDiffs diffs6;
2167 diffs6.added = tr_new( tr_pex, newCount6 );
2168 diffs6.addedCount = 0;
2169 diffs6.dropped = tr_new( tr_pex, msgs->pexCount6 );
2170 diffs6.droppedCount = 0;
2171 diffs6.elements = tr_new( tr_pex, newCount6 + msgs->pexCount6 );
2172 diffs6.elementCount = 0;
2176 pexDroppedCb, pexAddedCb, pexElementCb, &diffs6 );
2182 diffs.addedCount, diffs6.addedCount,
2183 diffs.droppedCount, diffs6.droppedCount );
2185 if( !diffs.addedCount && !diffs.droppedCount && !diffs6.addedCount &&
2186 !diffs6.droppedCount )
2189 tr_free( diffs6.elements );
2204 msgs->pex6 = diffs6.elements;
2205 msgs->pexCount6 = diffs6.elementCount;
2246 if( diffs6.addedCount > 0 )
2249 tmp = walk = tr_new( uint8_t, diffs6.addedCount * 18 );
2250 for( i = 0; i < diffs6.addedCount; ++i ) {
2251 memcpy( walk, &diffs6.added[i].addr.addr.addr6.s6_addr, 16 );
2253 memcpy( walk, &diffs6.added[i].port, 2 );
2256 assert( ( walk - tmp ) == diffs6.addedCount * 18 );
2262 tmp = walk = tr_new( uint8_t, diffs6.addedCount );
2263 for( i = 0; i < diffs6.addedCount; ++i )
2264 *walk++ = diffs6.added[i].flags & ~ADDED_F_HOLEPUNCH;
2265 assert( ( walk - tmp ) == diffs6.addedCount );
2270 if( diffs6.droppedCount > 0 )
2273 tmp = walk = tr_new( uint8_t, diffs6.droppedCount * 18 );
2274 for( i = 0; i < diffs6.droppedCount; ++i ) {
2275 memcpy( walk, &diffs6.dropped[i].addr.addr.addr6.s6_addr, 16 );
2277 memcpy( walk, &diffs6.dropped[i].port, 2 );
2280 assert( ( walk - tmp ) == diffs6.droppedCount * 18);
2303 tr_free( diffs6.added );
2304 tr_free( diffs6.dropped );