All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.netty.util.internal.MacAddressUtil.class Maven / Gradle / Ivy

There is a newer version: 129
Show newest version
????2:%io/netty/util/internal/MacAddressUtiljava/lang/ObjectMacAddressUtil.javajava/util/Map$Entry
java/util/MapEntrylogger/Lio/netty/util/internal/logging/InternalLogger;EUI64_MAC_ADDRESS_LENGTHIEUI48_MAC_ADDRESS_LENGTHbestAvailableMac()[Bjava/net/SocketException"io/netty/util/internal/EmptyArraysEMPTY_BYTES[B	io/netty/util/NetUtil
LOCALHOST4Ljava/net/Inet4Address;	 java/util/LinkedHashMap"()V$%
#&java/net/NetworkInterface(getNetworkInterfaces()Ljava/util/Enumeration;*+
),java/net/InetAddress/java/util/Enumeration1hasMoreElements()Z3425nextElement()Ljava/lang/Object;7829"io/netty/util/internal/SocketUtils;addressesFromNetworkInterface4(Ljava/net/NetworkInterface;)Ljava/util/Enumeration;=>
<?isLoopbackAddressA4
0Bput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;DE	F	H;Failed to retrieve the list of available network interfacesJ-io/netty/util/internal/logging/InternalLoggerLwarn*(Ljava/lang/String;Ljava/lang/Throwable;)VNOMPentrySet()Ljava/util/Set;RS	T
java/util/SetViterator()Ljava/util/Iterator;XYWZjava/util/Iterator\hasNext^4]_nexta8]bgetKeyd8egetValueg8h	isVirtualj4
)k#hardwareAddressFromNetworkInterface(Ljava/net/NetworkInterface;)[Bmn
<o=Failed to get the hardware address of a network interface: {}qdebug9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)VstMucompareAddresses([B[B)Iwx
y/(Ljava/net/InetAddress;Ljava/net/InetAddress;)Iw{
|java/lang/System~	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)V??
?java/util/Arrays?copyOf([BI)[B??
??aLjava/net/InetAddress;ifaceLjava/net/NetworkInterface;addrs/Ljava/util/Enumeration;Ljava/util/Enumeration;
interfaces4Ljava/util/Enumeration;eLjava/net/SocketException;macAddrinetAddrreplaceZresentryHLjava/util/Map$Entry;Ljava/util/Map$Entry;newAddrbestMacAddrbestInetAddrifacesBLjava/util/Map;Ljava/util/Map;defaultMachineId
?(io/netty/util/internal/PlatformDependent?threadLocalRandom()Ljava/util/Random;??
??java/util/Random?	nextBytes([B)V??
??\Failed to find a usable hardware address from the network interfaces; using random bytes: {}?
formatAddress([B)Ljava/lang/String;??
?'(Ljava/lang/String;Ljava/lang/Object;)VN?M?parseMAC(Ljava/lang/String;)[Bjava/lang/String?length()I??
??charAt(I)C??
??validateMacSeparator(C)V??
?"java/lang/IllegalArgumentException?/value is not supported [MAC-48, EUI-48, EUI-64]?(Ljava/lang/String;)V$?
??!io/netty/util/internal/StringUtil?
decodeHexByte(Ljava/lang/CharSequence;I)B??
??java/lang/StringBuilder?
?&expected separator '?append-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??(C)Ljava/lang/StringBuilder;??
??
 but got '?' at index: ?(I)Ljava/lang/StringBuilder;??
??toString()Ljava/lang/String;??
??	machineId	separatorCsIndexivalueLjava/lang/String;endjunsupported separator: ? (expected: [:-])?(I)V$?
??%02x:?java/lang/IntegervalueOf(I)Ljava/lang/Integer;
format9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
?	
??	substring(II)Ljava/lang/String;
?bBaddrbufLjava/lang/StringBuilder;current	candidateonlyZeroAndOnescoreAddress(Ljava/net/InetAddress;)I
isAnyLocalAddress4
0isMulticastAddress4
0 isLinkLocalAddress"4
0#isSiteLocalAddress%4
0&
&this'Lio/netty/util/internal/MacAddressUtil;4io/netty/util/internal/logging/InternalLoggerFactory,getInstanceB(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;./
-0
ConstantValueCodeLocalVariableTableLocalVariableTypeTableLineNumberTable
StackMapTable
SourceFileInnerClasses1
22
	3?
d?K?!L?#Y?'M?-N-?J-?6?A-?:?):?@:?6?"?:?0:?C?,?GW????N?IK-?Q,?U?[N-?`??-?c?:?f?):?i?0:?l?????p:?:?Ir?v???6*?z6		?	6?+	?&+?}6		?	6?	?*???6?	KL??c*???*??6?N*-??-T-?T*-??-K?
*??K*?_b???4?I??,0??3)??K??c????????}???q???I??F???>?	????=?`?\??T??5*3)??K??????T??6?5125789!:,<3==>I?Q@\C_GbEcFnI?J?K?L?M?R?V?S?T?U?X?Y?Z?\?]?_?`?b?ce	fklmoq!r#u8w=xEyIzN{V|X}[b?7]?.0	2?C?B?]?6)0I?.??
.0	]?"	?3x$??K*??K??*???I?*????*?4 ?6"???
????"?7?".	??3??*?«@.*??<???M?*??<???M?
??Yηѿ,?d>66?Y`6,*??T*???6??Y??Y??ܶ?????*?ƶ??????ѿ?????,*??T,?4p/?&??A?8??eG?Y\????Nr?Nr??Sm?Vj?6V? ?&?*?/?2?8?<?A?D?N?S?V?_?e?o?y?????????7 ?	.?
?R?
??3h-:?)-?#??Y??Y???????????ѿ?4-??6??,?7,	??3?K??Y??L*M,?>6?*,36+?Y?~?S?
??W????++?d??4 K
A6?
??9???7?.?.?,wx3+u+?
+???=+N-?66?-36??=?	??????+3~??+3~?*??
*3~???*??
*3~???4*%uuf?6N??
??%?0?2?5?;???A?I?K?S?`?b?d?q?s?7 
?
...?	
w{3>
*?+?d?4
?
?6
3?-*??
*?C??*?!??*?$??*?'???4-?6&		 ")+7$%3/*?(?4)*6+%3!	?1?I?6#89
	
	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy