AlkantarClanX12

Your IP : 18.119.120.59


Current Path : /usr/lib64/python2.7/site-packages/dns/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/dns/ipv4.pyc

�
M��Oc@s4dZddlZddlZd�Zd�ZdS(sIPv4 helper functions.i����NcCs]t|�dkr!tjj�ndt|d�t|d�t|d�t|d�fS(s�Convert an IPv4 address in network form to text form.

    @param address: The IPv4 address
    @type address: string
    @returns: string
    is%u.%u.%u.%uiiii(tlentdnst	exceptiontSyntaxErrortord(taddress((s./usr/lib64/python2.7/site-packages/dns/ipv4.pyt	inet_ntoascCs�|jd�}t|�dkr0tjj�nxZ|D]R}|j�sXtjj�nt|�dkr7|ddkr7tjj�q7q7Wy3g|D]}t|�^q�}tjd|�SWntjj�nXdS(s�Convert an IPv4 address in text form to network form.

    @param text: The IPv4 address
    @type text: string
    @returns: string
    t.iiit0tBBBBN(	tsplitRRRRtisdigittinttstructtpack(ttexttpartstparttbytes((s./usr/lib64/python2.7/site-packages/dns/ipv4.pyt	inet_aton"s
"(t__doc__R
t
dns.exceptionRRR(((s./usr/lib64/python2.7/site-packages/dns/ipv4.pyt<module>s