aboutsummaryrefslogblamecommitdiffstats
path: root/bootstrap/lib/kernel/ebin/inet_parse.beam
blob: 218a51d8620b64e39dc596e9ae416714ad8e6d93 (plain) (tree)
1
2
3
4
5
6
7
8
9
                        
                                                                                                                                                                                   
                                                                                                                                                                                                       
                                                                                         
                                                                                                                                               


                                                                                                                   
               
                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    







                                      

                                                                                                                                                                                         
                                                                                                                     

                                                                            
                                                                         


                                                                                                                                        





                                                                                                                                                                              
                
                
                                                                                                                      
      

                                                                             

                                                                                                 
                                                                                                                                     
                 



                                                 
                 
           
                                                                                                                    
   
                                     
                   


                                                                                                                                                                     
                                                                                                                                                                










                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                                                                                                                                                                                         




















                                                                                                                                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                 
                                                                                                                                                                                                                                                                                                                                                    
                 
                                                                                                                                  















                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     


                                                                                   
                                                                                                                                                                                                            





                                                                                                                                   
                                                                                                                      





                                                                                                                
                                                                                                                                                                                                                                                                       


                                                                               
                                                                                                    
               
   






                                                           


                                                                                                               















                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                               


                                                                   

                                                                                            
FOR15�BEAMAtU8�z
inet_parseservicesnonamerpchostsresolvhost_conf_linuxhost_conf_freebsdoklookuphost_conf_bsdoslistsappenddelete_options
nsswitch_conf	protocolsnetmasksnetworks
parse_filecharsfderlangbinary_to_listfileopencloseparse_fdeofreverse+EXITwarningskipparse_csget_line	read_lineiofile_descriptorcollect_lineread	byte_sizelength-curposition
port_proto*list_to_atomvisible_stringfalseis_vis1truedomainis_dom1stringlexemes
is_dom_ldhis_dom2list_to_integeraddressstrict_addressipv4_addresserrorbadarg	ipv4_addrborstrip0ipv4strict_addressipv4strict_addr
ipv4_fieldipv6_addressbslipv6strict_address	ipv6_addr++ipv6_addr_scope
list_to_tupleipv6_addr_donehexdec16
hex_to_intdupntoabandinteger_to_list	ntoa_donemapseparate
dig_to_decbsr
dig_to_hexdots
split_line	split_mid	split_endsplit_commasplit_mid_comma
inet_warningskernelapplicationget_enverror_loggerinfo_msgmodule_infoget_module_info-ntoa_done/1-fun-0--ntoa_done/2-fun-0--ntoa_done/2-fun-1--networks/2-fun-0--netmasks/2-fun-0--protocols/2-fun-0--nsswitch_conf/2-fun-0--host_conf_bsdos/2-fun-0--host_conf_freebsd/2-fun-0--host_conf_linux/2-fun-0--resolv/2-fun-0-search
nameserver-hosts/2-fun-0-
-rpc/2-fun-0--services/2-fun-0-Code+��i�" @@2 E0� " @  @@g@@#@0
7 P�0B`@@2 �p�@B �  @@g@@#@0
7 ��PR�@@2 ���`R �  @@g @@#@0
7 Йpb�@@2 
�b   @@g0@@#@0
7 ��r@@2 
��r   @@g@@@#@0
7 ���@@2 
���   @@gP@@#@��0
7�
 ��B#F G�G#EF G�G  ���@@2 
���   @@g`@@#@�0
7�
 �B��F G�GEF G�G  �� 8
%A#8
$A3C-
$3;3
$@	c
!	m
"!+
$CG=
#"+
$CG#@#
 $0@@#�
  E%4
&��'@@2 
)(�� )  @@gp@@#@0
7 *�
+@@2 
-,�
 -  @@g�@@#@0
7 .�
/@@2 
10�
 1  @@g�@@#@0
7 2�
3@@2 
54�
 5  @@g�@@#@0
7 6�
079
;:
; B3BC0
;3;3
;@

8

:87
9C@#3@#@C@CP
G95
;C P@@#@C�@#@3@@C@P
G :@#3@#@C@CP
>; 0@@G @#@�  �
< �B@3@#@C@@��P
>@@@� 0@< =�!
P>`P@T@C@3$@#4@D@�"
Z+
?
@�`�#@0F G�G@?�$-L4
@�%}P4#@$3@D@C@TP
>`@@$>
A�&KA?9
D<
E@ 
B0
CBB+
E
@E4#ET#@G0�' -m�(}P4#@$3@D@C@TP
>`CB+
E
 `B#B E##E4##ET#@G@�) -j�*}P4 EC@#@D@$3@TP
>`D+
E
!�+}P4#@$3@D@C@TP
>`E�,}P4  EC@#@D@$3@TP
>`F�-
"PG`P@T@C$@34@#D@�.
Q9
N:
O BB�/-L4
H�0}PD#@43@@$C@TP
G`H@4>
I�1KI?9
L<
M@ 
J0
KJB+
M
@ED#ET#@G0�2 -m�3}PD#@43@@$C@TP
G`KB+
M
 `B#B E##ED##ET#@G@�4 -j�5}PD E$C@#@@43@TP
G`L+
M
!�6}PD#@43@@$C@TP
G`M�7}PD  E$C@#@@43@TP
G`N+
O
@$�`�8@0F G�G@O�.JP�9
#Q4
R@
R@ 
TS�:
# T8
XA#3-
W#;#
W@�
U�
VU8
W3A3CS+
WC�
 `@SE��;@0F GG@V
 @@3E��<@0F GG@W @E#@3 
TX4
S @�:@0F GG@Y�=
$Z1
[@
%�=N `[�
Y0
'@ 
]\�>
( ]0 @@	P@$�? p9
_:
a B+
a�B#5
^#�@|0�#@#�@@#@@3@$@
c0^�A|0�#@3@$@
c0_+
a
4
`@
0`@�B@0a�?Jb�C
(@c8
g#A#CS-
fC;C
f@�
d�
ed8
fSAScs+
fc�@�D}@�!�D|@�0@@3F #G
-G@#�D ��
h � E��E@e@�F}@��F|@�0@@3F #G
-G@#�F ��
i � E��G@f�H}`� `EC33@S#@
cg4
b#@3 
]h�DHi�FHj�I
/ k8
jA#3(
l#	0(
j	9#�J}@���J}@�#	0�J}@P@3 
kl+
j#	/,
j@@@3�K�0F GG@m�L
2n8
o
qo@
3p�M
4q8
rA#(
s	!(
s	~@#
qr4
s@
5s@
3t�N
6u8
v
xv@
3w�O
7x8
~A#(
y	a(
~	z=
zy(
{	A(
~	Zz@#
�{(
~	0(
~	90@@#�P
�0
;
@
5
|
3
}|@GP@��Q �
�}~@
3�PJ��R
:�8
�A#(
�	a(
�	z=
��(
�	A(
�	Z=
��(
�	0'
�	9�-
�;
�`	-
�	_
�	.
��8
�#A#3C,
�3	.�@#
��@#
x�4
�@
5�@
3��S
;�8
�A#8
�#A#3C8
�CACSc8
�cAcs�4
��@�@@3@S$@s>4
��T�?4-
�@>4
��U�?4@@@>4
��U�?4@@$@$>4
��U�?4-
�-
�$-
�@
3@�@
5@�@
5��V
=�7
�@�W
��
� ��@
��@G`��X
>�7
�@�Y
��
� ��@
��@G`��Z
?�h
��[
�i0F G�G@�j+
�
@+
�
A@G`��l#��\
B�@�] 
�8
�A#8
�#A#3C8
�CACSc8
�cAcs�4
��}
��3�}
���S�}
���s�'
��)P�F@GsGSG3G�4
�c}
�`3Ss'
�9'
�s)�^m `Y	t
�`u
�`�#u
�`�Cy
�P`F@GSG3G#GC�4
�C'
�Y'
�3)�_m0@Y	t
�@u
�@�#u
�@�Cu
�P�Sy
�P`F@G3G#GCGS�4
�#'
�y�`m@ Y	 t
�u
� �#u
�0�3u
�@�Cu
�P�Sy
�P`F@G#G3GCGS��^H��_H��`H�@
A�a��b
B �8
�A#38
�ACS8
�SASCc8
�cAcCs8
�sAsC�4
��@
A�c�+
�#	08
�3A3CS-
�C;C
�@	X
�	x
��`@@S�d
�@	3@#@�C@P
��`@@S�e
�@	3@#@�C@P
��@@@3�f
�@�3@Gp#@�C@P
��7
�@�3@�C@#P
���g
BP�P@@C�h@
�9
�:
� BB#8
�#A#3C+
�3	.8
�C PE@C 
��4
�#  E�@
A�i��hJ��j
D�8
�A#+
�	0@#
��7
���k
E�h
��l
�i0F G�G@�j+
�
@+
�
A@G`��l#��m
F�@�n 
�8
�A#8
�#A#3C8
�CACSc8
�cAcs�4
��}
��3�}
���S�}
���s�'
��)P�F@GsGSG3G�@
A�o��p
F �8
�A#38
�ACS8
�SASCc8
�cAcCs8
�sAsC�4
��@
A�q�+
�#	08
�3A3CS+
�C	. `E@S 
��4
�3  E�7
� @@#@�3@1�r@
�9
�:
� BB#8
�#A#3C+
�3	.8
�C PE@C 
��4
�#  E�@
A�sęrJřt
G@�8
�ACS-
�C;C
�@	0
�	.
��4
�#@
A�u�@@@3@#�v 
�0F GG@�'
��w}`� `EC##@@S@
��4
�@@3@#�x 
�0F GG@�7
�@
A�y̙z
G � @�{@@�{ '
�@
A�|�ϙ}
H�@�~
��
� �BB#9
�#:
�#@B#3B#CB# SB#0c�}p3��}pC�}pS��}pc� F�#GGGGGG9��GGF G�G#�@
�ҙ�
J�h
ԙ�
�i0F G�G@�j+
�
@+
�
A@G`ՙl#֙�
K�8
�A#+
�	:8
�#A#3C+
�3	:4
�C@@#@0
��P@C��
�@#@3@@
����
�@#@0
�ڙ�
K0�9
�:
� B3BC8
�CACSc-
�S;S
�`	:
�	%
�	.
��8
�cAcs�+
�s	:8
݃A���+
ޓ	%(
�a#0�@#@@�$@3��-
��}P  ES@#@3@S@C@$P
�0�4
ރ(
�a# @@#@@3��-
��}P  E@#@0
� �(
�Q#0�@3@#@$@���
�@@@��-
��}P  E$C@#@3@C@@
�0�(
�a#0p@3@#@$@c��
�@@@��-
��}P  E$3@#@3@0
�0�)
�#q0p@#@@c$@3��-
��}P  ES@#@3@S@C@$P
�0�)
�#a P@@C@#@3�� ��
�@#@@3@@
� �4
�C)
�#q@@@3��-
 E
��@
A����
K@�9
�:
� BCBS8
�SAScs-
�c;c
�`	%
�	:
�	.
��(
�a3@�@3@#@$@s4@C��-
��}P  E#@3@$@C@4P
�@�(
�Q3@�@C@3@#$@4@s��
�@@@��-
��}P  E$#@3@4@@
�@�(
�Q30`@$@S@3@#@C�� ��
�@#@@3@$@
�0�4
�S(
�a30P@3@#@$@C��-
��}P  E3@#@3@$0
�0�@
A����
MP�8
� PASESCCP
��4
�0P@3@#@$@C��@8
�A#+
�	0@#��-=
��4
�@=
��@�@#@3@$@
�0��
M@�8
�ACS4
�S(
�q3,
�C9��+
�C9���}@P33 @E@#@3#0
�� @��}@��33@@#@#@@3��0-@@�� ��@8
�A#8
�#A#3C+
�3;
�@9��
�9�
��@PEC#E#�� �@
A�����
O@�9
�3:
�3@B3CB3SB3 cB30s��}�c�3��}�3s3��}`C�C��}`CSC��}PP#!#@PECCE3C0
����
O0�0��}0��#C@@@#@C��0-@@��� 
����
O���@�����
P�@A#@0-���
P0(8-A3C(-3	0(-	93'-#��}P�# PE3@#@C0-((-3	a(-	f3'-#��}P�# PE3@#@C0-((-3	A(-	F3'-#��}P�# PE3@#@C0-(8-7- @@��@0F GG@(@
A��(��
Q(@ -(��
Q (8-
A#3(-#	0(-	9#��}@��}@�#	0��}@P'-	9��@
A��(	@@3 -(
4-@(@
A��(��
R(
@	��N (��
S0(+-@#(--(-��}0� 0E##0-(��
T(9-<-@@-�-(BB#B 3B0C}-P#S}-`S3S}-`SCS}-`S�S+-S0P@#@3@C$@��@@@��@@@��@@$@$�� E	.@$$��  E	.@��  E	.@�� 0(BB#B 3B0CB@SBPcB`sBp�+-+-#+-3+-C+-S--c;c-@9��--(}-�s��}-��9��+-��@�@s��-:@@@��-: E	.@��� @@G��� (+-s--�;�-@--(@G�(@G�(}-�s��}-��9��+-��@�@s��-:@@@��-: E	.@��� @E	:E	:(}-�#�}-��3�}-��C�}-��S�}-��c�}-��s�}-����}-��9��+-��;-@9��-9�-(,-#�@#E��Es�sEcscEScSECSCE3C3E33E3@�� -@@@��@E	0#E	%#@�� (�E��Es�sEcscEScSECSCE3C3E#3#E#@ -(@G`(��
T (8-!A#3+- #8- 3A3CS+- C@!#@S0-#(  @E#@3 -(!4-@-2("��
T0(#8-%A3C+-$3��}PP##@C0-#($ PE33@C@-'(%4-"@@ -0(&��
T@('8-)ACS+-(C8-(SAScs+-(c@!C@sP-+(( `EC33@S@-'()4-&@@3 -0(*��
TP(+'-,#C0P@$@#@#@@3@C��0-@@� �� @@#@0-# (,8-.ASc+--S��}pPCC@cP-+(-@p@$@#@@3#@S@c4@C��0- E3@$@#@4@-'@(.4-*P@@@3#@C��0-@@ -0(/��
W (0  @��@@g�@�� @@G��� -4@@@��@@g�@��� @@G��� -4 EG�@��� ��(1��
W(2��@@g�@��� @@G��� -4��(3��
Y (48-5@#0-7(54-3@(6��
Y0(78-6A3C8-8C@PE3#3E3#@C0-7(84-6C@#��N (9��
Z(:+-;@G�(;��}���} 	�@@����}	�@@�� E	.@�� (<��
\(=+->@Gp(>--<'-<@ -@(?��
\ (@+-A@(A��} A#��}0�'-B���}0P	0@3=-C(B��}0����}0P	a@3(C @E3@# -@(D��
](E@ -G(F��
] (G8-JA#3+-I#	.4-H30 F GG
5(H��}@P@3 -G(I@3 -G(J4-F0 F GG
3(K��
^(L@ -N(M��
^ (N8-RA#3--Q#;#-Q�	 -O�-O�-O	#-P(O@3 -N(P@��N@(Q @E#C@#@C@30-T(R4-M@��N@(S��
_0(T8-[A3C--Z3;3-Z��-U	#-V�-W�-X	 -Y(U8-ZCACSc+-ZS� p@#@c@��@ E@ -N (V@@# -](W P@#@C@��@ E@ -N (X P@#@C@��@ E@ -N (Y P@#@C@��@ E@ -N (Z PE3@C0-T([4-S@@# -](\��
` (] @��@ E��@(^��
a(_8-`A@�� -b@@@��-_@@�� (`4-^(a��
a (b8-dA#3+-c#	,@3 -b(c @E#C@#@C@30-f(d4-a@��N@(e��
b0(f8-hA3C+-g3	, P@#@C@��@ E@ -b (g PE3@C0-f(h4-e@@# -](i��
  (j  @@@
c@
d�� +-kG�@@G��� @��  (k@� (l��
@ (m @@@G��� @�� (n�
i(o@�N(p�
i(q@@�N (r��
k(s-=(t��
l(u-=(v��
m(w-=(x��
n(y8-xA#8-x#A#3C4-xC@@@3��0F GG@(z��
o({8-zA#8-z#A#3C4-zC@@3@��
��-} �B#@@#��
��-| �0B#F GG#(|��H(}��H(~��
p(8-~A#8-~#A#3C8-~CACSc4-~c `@3@S@���@@@��@F0GGG@ (���
q(�8-�A#+-�G�00F G�G#(�@
!(���
r(�8-�A#+-�G0@#��-_
 (�@
!(���
s(�8-�A#4-�#@(���
t(�8-�A#+-�G0@#��-_0F G�G@(�@
!(���
u(�8-�A#8-�A3C--�3;3-��	l-�	d-�	s-�	n-�(�+-�CG00F G�G#(�+-�CG8-�#A#Sc4-�c0`F G
6GS(�+-�CG00F G
vG#(�+-�CG8-�#A#Sc4-�c`@S��
��-� �0B#F G
wG#(�@
!(���H(���
x(�8-�A#8-�#00A#$@@G@�� �8-�A#8-�#A#3C4-�C�0@��
��-� �@
!(�@� ��
��-� �@B#F0G#GG (���H(���H(���
y(�8-�A#8-�# 0A#@��@F0GGG@ (���
z(�8-�A#8-�# 0A#@@�� 
k9-�:-� PBB#F@GGG#G (���HStrTImpT� 
&#)*+,,.0189<C@<ILNUVX[efghjjExpT�#iqio^L]ETJ�H�E�?�>�=�6u2n531/-+)'
FunTTz�6Ry�6Rx�6Ru�6Rt�6Rs�6Rr�6Rq�6Rp6Ro{	6Rny
6Rmw6Rlu6Rks
6RLitT�|x�=�OK�0ųu�u]ԋ�5��²�k�z/~	vlk��2i��^��}	�!�y�'J�[��fl��q_�@�s����jl�Z
���Y}��&���ۚi�?����ח×÷���Z��;�{�\�.��֬���?���5)j;���J
���R��j>�v2����|��
xf�3d�3��l�u��q���k�6X���x
�<e�����&�J$3�f�f����|Uqd����'9ƺ����[NAttr(�lhdvsnln�����WH��N.t[
†jj