(x)
return teredoPrefix == our
Return True if provided address is a Teredo, meaning it is under 
    the /32 conf.teredoPrefix prefix value (by default, 2001::).
    Otherwise, False is returned. Address must be passed in printable
    format.
Return True if provided address is a Teredo, meaning it is under 
    the /32 conf.teredoPrefix prefix value (by default, 2001::).
    Otherwise, False is returned. Address must be passed in printable
    format.
Return True if provided address is a Teredo meaning it is under the / 32 conf . teredoPrefix prefix value ( by default 2001 :: ) . Otherwise False is returned . Address must be passed in printable format .
def in6_isaddrTeredo(x):
    """
    Return True if provided address is a Teredo, meaning it is under 
    the /32 conf.teredoPrefix prefix value (by default, 2001::).
    Otherwise, False is returned. Address must be passed in printable
    format.
    """
    our = inet_pton(socket.AF_INET6, x)[0:4]
    teredoPrefix = inet_pton(socket.AF_INET6, conf.teredoPrefix)[0:4]
    return teredoPrefix == our
def in6_isaddrTeredo ( x ) : our = inet_pton ( socket . AF_INET6 , x ) [ 0 : 4 ] teredoPrefix = inet_pton ( socket . AF_INET6 , conf . teredoPrefix ) [ 0 : 4 ] return teredoPrefix == our