(target, dport=80, minttl=1, maxttl=30, sport=RandShort(), 
                l4 = None, timeout=2, verbose=None, **kargs)
return a,b
Instant TCP traceroute using IPv6 :
    traceroute6(target, [maxttl=30], [dport=80], [sport=80]) -> None
Instant TCP traceroute using IPv6 :
    traceroute6(target, [maxttl=30], [dport=80], [sport=80]) -> None
Instant TCP traceroute using IPv6 : traceroute6 ( target [ maxttl = 30 ] [ dport = 80 ] [ sport = 80 ] ) - > None
def traceroute6(target, dport=80, minttl=1, maxttl=30, sport=RandShort(), 
                l4 = None, timeout=2, verbose=None, **kargs):
    """
    Instant TCP traceroute using IPv6 :
    traceroute6(target, [maxttl=30], [dport=80], [sport=80]) -> None
    """
    if verbose is None:
        verbose = conf.verb

    if l4 is None:
        a,b = sr(IPv6(dst=target, hlim=(minttl,maxttl))/TCP(seq=RandInt(),sport=sport, dport=dport),
                 timeout=timeout, filter="icmp6 or tcp", verbose=verbose, **kargs)
    else:
        a,b = sr(IPv6(dst=target, hlim=(minttl,maxttl))/l4,
                 timeout=timeout, verbose=verbose, **kargs)

    a = TracerouteResult6(a.res)

    if verbose:
        a.display()

    return a,b
def traceroute6 ( target , dport = 80 , minttl = 1 , maxttl = 30 , sport = RandShort ( ) , l4 = None , timeout = 2 , verbose = None , * * kargs ) : if verbose is None : verbose = conf . verb if l4 is None : a , b = sr ( IPv6 ( dst = target , hlim = ( minttl , maxttl ) ) / TCP ( seq = RandInt ( ) , sport = sport , dport = dport ) , timeout = timeout , filter = "icmp6 or tcp" , verbose = verbose , * * kargs ) else : a , b = sr ( IPv6 ( dst = target , hlim = ( minttl , maxttl ) ) / l4 , timeout = timeout , verbose = verbose , * * kargs ) a = TracerouteResult6 ( a . res ) if verbose : a . display ( ) return a , b