IP/Top: Add missing sockopt

This commit is contained in:
Sepalani 2020-11-05 19:51:20 +04:00
parent f665ddae51
commit 4e32ec35a7
1 changed files with 8 additions and 0 deletions

View File

@ -145,10 +145,18 @@ static s32 MapWiiSockOptNameToNative(u32 optname)
return SO_REUSEADDR; return SO_REUSEADDR;
case 0x80: case 0x80:
return SO_LINGER; return SO_LINGER;
case 0x100:
return SO_OOBINLINE;
case 0x1001: case 0x1001:
return SO_SNDBUF; return SO_SNDBUF;
case 0x1002: case 0x1002:
return SO_RCVBUF; return SO_RCVBUF;
case 0x1003:
return SO_SNDLOWAT;
case 0x1004:
return SO_RCVLOWAT;
case 0x1008:
return SO_TYPE;
case 0x1009: case 0x1009:
return SO_ERROR; return SO_ERROR;
} }