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

                                                                                                                                                                                                       
                                                                                                                                               

                                                                                             

                   
                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    







                                      
                                                                                                                                                                                         
                                       


                                                                                                                     
                                                                         


                                                                                                                                        





                                                                                                                                                                              
                
                
                                                                                                                      
      

                                                                             

                                                                                                 
                                                                                                                                     






                                                 



                                                                                                                       
                                                                                                                                                                                             

           
                                                                                                                                                                


           

                                                                        
                                              
     
                        






                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                                              
     
                        









                                                                                                                                                                                 
                                                                                                                                                           
                                              
     
                        




                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                           
                                                                  
                              




                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              























                                                                                                                                                                                                                                                                       
   







                                                                 
                                                                                                               









                                                                                                             
                                                        

                   

                                                                                 
                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           


                                                                                                                                                                                                                                                                                                                               
                                                                                                 
FOR11�BEAMAtU8�y
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_dom1stringtokens
is_dom_ldhis_dom2list_to_integeraddressstrict_addressipv4_addresserrorbadarg	ipv4_addrborstrip0ipv4strict_addressipv4strict_addr
ipv4_fieldipv6_addressbslipv6strict_address	ipv6_addr++ipv6_addr_done
list_to_tuplehex
hex_to_intdupntoa
tuple_to_listinteger_to_list	ntoa_donemapseparate
dig_to_decbsrband
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&���d�" @@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@?�$-/4
@�%}P4#@$3@D@C@TP
>`@@$>
A�&KA?9
D<
E@ 
B0
CBB+
E
@E4ET@G0�' -P�(}P4#@$3@D@C@TP
>`CB+
E
 `B#B E#E4ET@G@�) -M�*}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�/-/4
H�0}PD#@43@@$C@TP
G`H@4>
I�1KI?9
L<
M@ 
J0
KJB+
M
@EDET@G0�2 -P�3}PD#@43@@$C@TP
G`KB+
M
 `B#B E#EDET@G@�4 -M�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 A#E#
qo@
3p�M
4q8
rA#(
s	!(
s	~@#
qr4
s@
5s@
3t�N
6u8
v A#E#
xv@
3w�O
7x8
~A#(
y	a(
~	z=
zy(
{	A(
~	Zz@#
�{(
~	0(
~	9 0@#@@�P
�0
;
@
5
|
3
}| E@GP� �Q �
�} ~@
3�PJ��R
:�8
�A#(
�	a(
�	z=
��(
�	A(
�	Z=
��(
�	0'
�	9�-
�;
�`	-
�	_
�	.
��8
�#A#3C+
�3	.=
��8
�#A#3C,
�3	.�@#
��@#
x�4
�@
5�@
3��S
;�8
�A#8
�#A#3C8
�CACSc8
�cAcs�4
��@�@s@@3@S$>4
��T�?4-
�@>4
��U�?4@@@>4
��U�?4@@$@$>4
��U�?4-
�-
�$-
�@
3@�@
5@�@
5��V
=�7
�@�W
��
� �0B#F G�G#�@
��@G`��X
>�7
�@�Y
��
� �0B#F G�G#�@
��@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	:4
ރ(
�a# @@3@#@��
���}P  E@#@0
� �(
�Q#0�@�@3@#@$��
�@@@��
���}P  E$C@#@3@C@@
�0�(
�a#0p@c@3@#@$��
�@@@��
���}P  E$3@#@3@0
�0�)
�#a P@@C@3@#�� ��
�@#@@3@@
� �4
�C)
�#q@@3@��
� E
��@
A����
K@�9
�:
� BCBS8
�SAScs-
�c;c
�@	:
�	.
��(
�Q3@�@s@C@3@#$@4��
�@@@��
���}P  E$#@3@4@@
�@�(
�Q30`@$@S@C@3@#�� ��
�@#@@3@$@
�0�4
�S(
�a30P@C@3@#@$��
���}P  E3@#@3@$0
�0�@
A����
M@�9
�3:
�3@B3CB3SB3 cB30s��}�c�3��}�3s3��}`C�C��}`CSC��}PP#!#@PECCE3C0
���
M0�0��}0��#C@@@#@C��0
�@@��� 
���
M���@����
O�@A#@0
���
O0�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�����
P�@	��N ���
Q0�+
�@#�-
�(
���}0� 0E##0
����
R�9-<-@�
�@-�B+-B#+-#B 3+-3B0C+-CB@S+-SBPcB`sBp�--c;c-@
�9��-�+-s--�;�-@--(@G�(@G�(�@s@���-#@@@��-# E	.@��� @E	:E	:(�@s@���-#@@@��-# E	.@��� @@G��� (��@ -(0BB B0$B��@@@��@@@��@@$@$�� E	.@$$��  E	.@��  E	.@�� 0(@G`(��
R (8-
A#3+-	#8-	3A3CS+-	C@!#@S0-(	 @E#@3 -(
4-@-(��
R0(8-A3C+-
3��}PP##@C0-(
 PE33@C@-(4-@@ -(��
R@(8-ACS+-C8-SAScs+-c@!C@sP-( `EC33@S@-(4-@@3 -(��
RP('-#C0P@$@#@#@@3@C��0
�@@� �� @@#@0- (8-ASc+-S��}pPCC@cP-(@p@$@#@@3#@C@S@c4��0
� E3@$@#@4@-@(4-P@@@3#@C��0
�@@ -(��
U (  @��@@g�@�� @@G��� -@@@��@@g�@��� @@G��� - EG�@��� ��(��
U(��@@g�@��� @@G��� -��(��
W (8-@#0- (4-@(��
W0( 8-A3C8-!C@PE3#3E3#@C0- (!4-C @E3@#��N ("��
X(#+-$@G�($��}���} 	�@@����}	�@@�� E	.@�� (%��
[(&@	��N ('��
\((@ -*()��
\ (*8--A#3+-,#	.4-+30 F GG
5(+��}@P@3 -*(,@3 -*(-4-)0 F GG
3(.��
](/@ -1(0��
] (18-5A#3--4#;#-4�	 -2�-2�-2	#-3(2@3 -1(3@��N@(4 @E#C@#@C@30-7(54-0@��N@(6��
^0(78->A3C--=3;3-=��-8	#-9�-:�-;	 -<(88-=CACSc+-=S� p@@#@c��@ E@ -1 (9@@# -@(: P@@#@C��@ E@ -1 (; P@@#@C��@ E@ -1 (< P@@#@C��@ E@ -1 (= PE3@C0-7(>4-6@@# -@(?��
_ (@ @��@ E��@(A��
`(B8-CA@�� -E@@@��-B@@�� (C4-A(D��
` (E8-GA#3+-F#	,@3 -E(F @E#C@#@C@30-I(G4-D@��N@(H��
a0(I8-KA3C+-J3	, P@@#@C��@ E@ -E (J PE3@C0-I(K4-H@@# -@(L��
  (M  @@@
b@
c�� +-NG�@@G��� @��  (N@� (O��
@ (P @@@G��� @�� (Q�
h(R@�N (S�
h(T@@�N !(U��
j(V-&(W��
k(X-&(Y��
l(Z-&([��
m(\8-[A#8-[#A#3C4-[C@@3@��0F GG@(]��
n(^8-]A#8-]#A#3C4-]C@@@3��
��-` �B#@@#��
��-_ �0B#F GG#(_��H(`��H(a��
o(b8-aA#8-a#A#3C8-aCACSc4-ac `@@3@S���@@@��@F0GGG@ (c��
p(d8-eA#+-eG�00F G�G#(e@
!(f��
q(g8-hA#+-hG0@#��-B
 (h@
!(i��
r(j8-iA#4-i#@(k��
s(l8-mA#+-mG0@#��-B0F G�G@(m@
!(n��
t(o8-tA#8-tA3C--t3;3-t�	l-p	d-q	s-r	n-s(p+-tCG00F G�G#(q+-tCG8-t#A#Sc4-tc0`F G
6GS(r+-tCG00F G
uG#(s+-tCG8-t#A#Sc4-tc`@S��
��-u �0B#F G
vG#(t@
!(u��H(v��
w(w8-vA#8-v#00A#$@@G@�� �8-xA#8-x#A#3C4-xC�0@��
��-y �@
!(x@� ��
��-z �@B#F0G#GG (y��H(z��H({��
x(|8-{A#8-{# 0A#@��@F0GGG@ (}��
y(~8-}A#8-}# 0A#@@�� 
k9-:- PBB#F@GGG#G (��HStrTImpT�"
&#)*+,,.0189<C@<ILNSTVYZTdefgiiExpT�#hThR]/\(R�J�H�E�?�>�=�6u2n531/-+)'
FunTTy~�wFx|�wFww�wFto�wFsl�wFrj�wFqg�wFpd�wFob�wFn^	�wFm\
�wFlZ�wFkX�wFjV
�wFLitT�wx�=�AK�0��u�u]D��5��²�k�*���;��ݤL��m/���!	�˼�d"��Bl�V���	x	\�A_��Ŵd��/����+LI�Β�쌥�������^O����o�l���Xۚd��Xi����3�ɘ�#g�����l�Cy�
2���.!VJ�@��R�	��1T2�d.we��l�Z�p�
"<|��5{
�+����8����ڱ?C�(i�i��b�&=�1��W=���[(Attr'�lhwvsnln6w���&OY�����jj