HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
System: Linux sv2.tribox.net.br 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: bucalon (1051)
PHP: 8.2.13
Disabled: system,exec,shell_exec,popen,passthru,proc_open,posix_getpwnam,posix_getpwuid,posix_kill,pcntl_fork,escapeshellarg,escapeshellcmd,proc_close,dl,show_source,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,pcntl_exec,expect_popen,pcntl_signal_get_handler,pcntl_async_signals,link,symlink,syslog,ld,mb_send_mail,imap_open,imap_mail,libvirt_connect,gnupg_init,stream_socket_sendto,stream_socket_client,parse_ini_file,curl_multi_exec
Upload Files
File: //lib/python2.7/site-packages/dns/inet.pyo
�
m!|Uc@s�dZddlZddlZddlZejZy
ejZWnek
rYdZnXd�Zd�Z	d�Z
d�ZdS(s*Generic Internet address helper functions.i����Ni'cCsB|tkrtjj|�S|tkr8tjj|�St�dS(s*Convert the textual form of a network address into its binary form.

    @param family: the address family
    @type family: int
    @param text: the textual address
    @type text: string
    @raises NotImplementedError: the address family specified is not
    implemented.
    @rtype: string
    N(tAF_INETtdnstipv4t	inet_atontAF_INET6tipv6tNotImplementedError(tfamilyttext((s,/usr/lib/python2.7/site-packages/dns/inet.pyt	inet_pton%s
cCsB|tkrtjj|�S|tkr8tjj|�St�dS(s/Convert the binary form of a network address into its textual form.

    @param family: the address family
    @type family: int
    @param address: the binary address
    @type address: string
    @raises NotImplementedError: the address family specified is not
    implemented.
    @rtype: string
    N(RRRt	inet_ntoaRRR(Rtaddress((s,/usr/lib/python2.7/site-packages/dns/inet.pyt	inet_ntop8s
cCsRytjj|�}tSWn1ytjj|�}tSWqNt�qNXnXdS(s�Determine the address family of a textual-form network address.

    @param text: the textual address
    @type text: string
    @raises ValueError: the address family cannot be determined from the input.
    @rtype: int
    N(RRRRRRt
ValueError(Rtjunk((s,/usr/lib/python2.7/site-packages/dns/inet.pytaf_for_addressJscCs~y6ttjj|�d�}|dko4|dkSWnAy*ttjj|�d�}|dkSWqzt�qzXnXdS(s�Is the textual-form network address a multicast address?

    @param text: the textual address
    @raises ValueError: the address family cannot be determined from the input.
    @rtype: bool
    ii�i�i�N(tordRRRRR
(Rtfirst((s,/usr/lib/python2.7/site-packages/dns/inet.pytis_multicast\s(t__doc__tsockettdns.ipv4Rtdns.ipv6RRtAttributeErrorR	RRR(((s,/usr/lib/python2.7/site-packages/dns/inet.pyt<module>s