SetId: 256
sourceIPv4Address: 0a0b0c0d
destinationIPv4Address: 0a0b0c0d
-packetDeltaCount: 000000000000000f
-octetDeltaCount: 000000000000a318
+packetDeltaCount: 000000000000000e
+octetDeltaCount: 000000000000a2e4
sourceTransportPort: 3039
destinationTransportPort: 303a
ipClassOfService: 00
SetId: 256
sourceIPv4Address: 0a0b0c0d
destinationIPv4Address: 0a0b0c0d
-packetDeltaCount: 000000000000000e
-octetDeltaCount: 00000000000002e4
+packetDeltaCount: 000000000000000d
+octetDeltaCount: 00000000000002b0
sourceTransportPort: 303a
destinationTransportPort: 3039
ipClassOfService: 00
SetId: 256
sourceIPv4Address: 0a0b0c0d
destinationIPv4Address: 0a0b0c0d
-packetDeltaCount: 000000000000000f
-octetDeltaCount: 000000000000a318
+packetDeltaCount: 000000000000000e
+octetDeltaCount: 000000000000a2e4
sourceTransportPort: 3039
destinationTransportPort: 303a
ipClassOfService: 00
SetId: 256
sourceIPv4Address: 0a0b0c0d
destinationIPv4Address: 0a0b0c0d
-packetDeltaCount: 000000000000000e
-octetDeltaCount: 00000000000002e4
+packetDeltaCount: 000000000000000d
+octetDeltaCount: 00000000000002b0
sourceTransportPort: 303a
destinationTransportPort: 3039
ipClassOfService: 00
SetId: 257
sourceIPv6Address: 20010db8000000000000000000000013
destinationIPv6Address: 20010db8000000000000000000000013
-packetDeltaCount: 000000000000000f
-octetDeltaCount: 000000000000a444
+packetDeltaCount: 000000000000000e
+octetDeltaCount: 000000000000a3fc
sourceTransportPort: 3039
destinationTransportPort: 303a
ipClassOfService: 00
SetId: 257
sourceIPv6Address: 20010db8000000000000000000000013
destinationIPv6Address: 20010db8000000000000000000000013
-packetDeltaCount: 000000000000000e
-octetDeltaCount: 00000000000003fc
+packetDeltaCount: 000000000000000d
+octetDeltaCount: 00000000000003b4
sourceTransportPort: 303a
destinationTransportPort: 3039
ipClassOfService: 00
SetId: 257
sourceIPv6Address: 20010db8000000000000000000000013
destinationIPv6Address: 20010db8000000000000000000000013
-packetDeltaCount: 000000000000000f
-octetDeltaCount: 000000000000a444
+packetDeltaCount: 000000000000000e
+octetDeltaCount: 000000000000a3fc
sourceTransportPort: 3039
destinationTransportPort: 303a
ipClassOfService: 00
SetId: 257
sourceIPv6Address: 20010db8000000000000000000000013
destinationIPv6Address: 20010db8000000000000000000000013
-packetDeltaCount: 000000000000000e
-octetDeltaCount: 00000000000003fc
+packetDeltaCount: 000000000000000d
+octetDeltaCount: 00000000000003b4
sourceTransportPort: 303a
destinationTransportPort: 3039
ipClassOfService: 00
-/* $OpenBSD: gen_traffic.c,v 1.2 2016/10/26 14:06:33 bluhm Exp $ */
+/* $OpenBSD: gen_traffic.c,v 1.3 2022/05/31 19:01:46 mbuhl Exp $ */
/*
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
*
break;
case 0:
- event_del(&r->ev);
- close(fd);
- break;
+ exit(0);
default:
total += n;
/* warnx("read: %lld - %lld", n, total); */
break;
}
- if (total == 10 * 4096) {
- /* warnx("done %lld", total); */
- exit(0);
- }
}
void