def METHOD_NAME(cpu, data, size):
    event = b["ipv6_events"].event(data)
    if args.print:
        print("%-9s %-7d %-15.15s %-2d %-42s %-42s %10s" % (
            strftime("%H:%M:%S"),
            event.pid, event.task.decode(), event.ip,
            "%s:%d" % (inet_ntop(AF_INET6, event.saddr), event.sport),
            "%s:%d" % (inet_ntop(AF_INET6, event.daddr), event.dport),
            "accept" if event.direction==0 else "connect"))
    if args.visual:
        export_tcp_connection(event, 6)