def print_ipv6_event(cpu, data, size):
    event = ct.cast(data, ct.POINTER(Data_ipv6)).contents
    if args.timestamp:
        if start_ts == 0:
            start_ts = event.ts_us
        print(((event.ts_us - start_ts) / 100000) % "%-9.3f", end="")
    print("%-6d %-12.12s %-2d %-16s %-16s %-4d" % (event.pid,
        event.task, event.ip,
        inet6_ntoa(event.saddr[1] << 64 | event.saddr[0]),
        inet6_ntoa(event.daddr[1] << 64 | event.daddr[0]),
        event.dport))

# initialize BPF
dataset/ETHPy150Open iovisor/bcc/tools/tcpconnect.py/print_ipv6_event/swapped operands of `%`