hardwareAddressFromNetworkInterface() — netty Function Reference
Architecture documentation for the hardwareAddressFromNetworkInterface() function in SocketUtils.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6fc24333_7795_7aeb_f537_f172589f460d["hardwareAddressFromNetworkInterface()"] be85935f_8b01_e8ee_e605_a1107ff9f20b["SocketUtils"] 6fc24333_7795_7aeb_f537_f172589f460d -->|defined in| be85935f_8b01_e8ee_e605_a1107ff9f20b style 6fc24333_7795_7aeb_f537_f172589f460d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/internal/SocketUtils.java lines 210–221
public static byte[] hardwareAddressFromNetworkInterface(final NetworkInterface intf) throws SocketException {
try {
return AccessController.doPrivileged(new PrivilegedExceptionAction<byte[]>() {
@Override
public byte[] run() throws SocketException {
return intf.getHardwareAddress();
}
});
} catch (PrivilegedActionException e) {
throw (SocketException) e.getCause();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does hardwareAddressFromNetworkInterface() do?
hardwareAddressFromNetworkInterface() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/SocketUtils.java.
Where is hardwareAddressFromNetworkInterface() defined?
hardwareAddressFromNetworkInterface() is defined in common/src/main/java/io/netty/util/internal/SocketUtils.java at line 210.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free