|
@@ -220,9 +220,9 @@ static int udp_tx ( struct udp_connection *udp, struct io_buffer *iobuf,
|
220
|
220
|
udphdr->chksum = tcpip_chksum ( udphdr, len );
|
221
|
221
|
|
222
|
222
|
/* Dump debugging information */
|
223
|
|
- DBGC ( udp, "UDP %p TX %d->%d len %d\n", udp,
|
224
|
|
- ntohs ( udphdr->src ), ntohs ( udphdr->dest ),
|
225
|
|
- ntohs ( udphdr->len ) );
|
|
223
|
+ DBGC2 ( udp, "UDP %p TX %d->%d len %d\n", udp,
|
|
224
|
+ ntohs ( udphdr->src ), ntohs ( udphdr->dest ),
|
|
225
|
+ ntohs ( udphdr->len ) );
|
226
|
226
|
|
227
|
227
|
/* Send it to the next layer for processing */
|
228
|
228
|
if ( ( rc = tcpip_tx ( iobuf, &udp_protocol, src, dest, netdev,
|
|
@@ -317,8 +317,8 @@ static int udp_rx ( struct io_buffer *iobuf, struct sockaddr_tcpip *st_src,
|
317
|
317
|
iob_pull ( iobuf, sizeof ( *udphdr ) );
|
318
|
318
|
|
319
|
319
|
/* Dump debugging information */
|
320
|
|
- DBGC ( udp, "UDP %p RX %d<-%d len %zd\n", udp,
|
321
|
|
- ntohs ( udphdr->dest ), ntohs ( udphdr->src ), ulen );
|
|
320
|
+ DBGC2 ( udp, "UDP %p RX %d<-%d len %zd\n", udp,
|
|
321
|
+ ntohs ( udphdr->dest ), ntohs ( udphdr->src ), ulen );
|
322
|
322
|
|
323
|
323
|
/* Ignore if no matching connection found */
|
324
|
324
|
if ( ! udp ) {
|