MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / ETHSetMACAddr

Function ETHSetMACAddr

src/dolphin/src/eth/eth.c:788–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788void ETHSetMACAddr(u8* macaddr) {
789 memcpy(private_macaddr, macaddr, sizeof(private_macaddr));
790 waitexilock();
791 writecmdLong(0x0020, private_macaddr, sizeof(private_macaddr));
792 unlock();
793}
794
795void ETHSetRecvCallback(void* (*cb0)(u16, s32, u8), void (*cb1)(u8*, s32)) {
796 BOOL disabled;

Callers

nothing calls this directly

Calls 4

memcpyFunction · 0.85
waitexilockFunction · 0.85
writecmdLongFunction · 0.85
unlockFunction · 0.85

Tested by

no test coverage detected