suyu/src/core
Jan Beich f99be1c923 network: add missing include for BSDs
src/core/network/network.cpp:112:28: error: use of undeclared identifier 'SHUT_RD'
constexpr int SD_RECEIVE = SHUT_RD;
                           ^
src/core/network/network.cpp:113:25: error: use of undeclared identifier 'SHUT_WR'
constexpr int SD_SEND = SHUT_WR;
                        ^
src/core/network/network.cpp:114:25: error: use of undeclared identifier 'SHUT_RDWR'
constexpr int SD_BOTH = SHUT_RDWR;
                        ^
src/core/network/network.cpp:120:37: error: unknown type name 'in_addr'; did you mean 'in_addr_t'?
constexpr IPv4Address TranslateIPv4(in_addr addr) {
                                    ^~~~~~~
                                    in_addr_t
/usr/include/netdb.h:66:20: note: 'in_addr_t' declared here
typedef __uint32_t      in_addr_t;
                        ^
src/core/network/network.cpp:121:27: error: member reference base type 'in_addr_t' (aka 'unsigned int') is not a structure or union
    const u32 bytes = addr.s_addr;
                      ~~~~^~~~~~~
src/core/network/network.cpp:121:15: error: variables defined in a constexpr function must be initialized
    const u32 bytes = addr.s_addr;
              ^
src/core/network/network.cpp:126:10: error: incomplete result type 'sockaddr' in function definition
sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
         ^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
        struct  sockaddr *ai_addr;      /* binary address */
                ^
src/core/network/network.cpp:127:5: error: unknown type name 'sockaddr_in'; did you mean 'sockaddr'?
    sockaddr_in result;
    ^~~~~~~~~~~
    sockaddr
/usr/include/netdb.h:142:9: note: 'sockaddr' declared here
        struct  sockaddr *ai_addr;      /* binary address */
                ^
src/core/network/network.cpp:127:17: error: variable has incomplete type 'sockaddr'
    sockaddr_in result;
                ^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
        struct  sockaddr *ai_addr;      /* binary address */
                ^
src/core/network/network.cpp:131:29: error: use of undeclared identifier 'AF_INET'
        result.sin_family = AF_INET;
                            ^
src/core/network/network.cpp:135:29: error: use of undeclared identifier 'AF_INET'
        result.sin_family = AF_INET;
                            ^
src/core/network/network.cpp:139:23: error: use of undeclared identifier 'htons'
    result.sin_port = htons(input.portno);
                      ^
src/core/network/network.cpp:143:14: error: variable has incomplete type 'sockaddr'
    sockaddr addr;
             ^
/usr/include/netdb.h:142:9: note: forward declaration of 'sockaddr'
        struct  sockaddr *ai_addr;      /* binary address */
                ^
src/core/network/network.cpp:156:1: error: unknown type name 'linger'
linger MakeLinger(bool enable, u32 linger_value) {
^
src/core/network/network.cpp:157:5: error: unknown type name 'linger'
    linger value;
    ^
src/core/network/network.cpp:185:16: error: use of undeclared identifier 'AF_INET'
        return AF_INET;
               ^
src/core/network/network.cpp:195:16: error: use of undeclared identifier 'SOCK_STREAM'
        return SOCK_STREAM;
               ^
src/core/network/network.cpp:197:16: error: use of undeclared identifier 'SOCK_DGRAM'
        return SOCK_DGRAM;
               ^
src/core/network/network.cpp:207:16: error: use of undeclared identifier 'IPPROTO_TCP'
        return IPPROTO_TCP;
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2020-07-22 22:10:15 +00:00
..
arm configure_cpu: Show/Hide debugging options 2020-07-11 16:38:38 +01:00
crypto KeyManager: Prevent writing of invalid keys 2020-07-10 00:39:00 -04:00
file_sys Merge pull request #4309 from Morph1984/fix-romfs-bug 2020-07-17 17:01:20 -04:00
frontend configuration: implement per-game configurations (#4098) 2020-07-09 22:42:09 -04:00
gdbstub General: Cleanup legacy code. 2020-06-27 11:36:05 -04:00
hle Merge pull request #4348 from lioncash/nano 2020-07-18 01:45:10 -04:00
loader loader: nro: Fix process initialization using ProgramMetadata default. 2020-04-20 18:19:45 -04:00
memory Merge pull request #4348 from lioncash/nano 2020-07-18 01:45:10 -04:00
network network: add missing include for BSDs 2020-07-22 22:10:15 +00:00
tools core_timing: Make TimedCallback take std::chrono::nanoseconds 2020-07-15 19:41:22 -04:00
CMakeLists.txt core/network: Add network abstraction 2020-07-19 04:12:40 -03:00
constants.cpp constants: Extract backup JPEG used by account services 2019-06-07 17:46:57 -04:00
constants.h constants: Add missing <array> include 2020-07-16 21:43:20 -04:00
core.cpp core/network: Add network abstraction 2020-07-19 04:12:40 -03:00
core.h Core/Common: Address Feedback. 2020-06-27 18:20:06 -04:00
core_timing.cpp core_timing: Make TimedCallback take std::chrono::nanoseconds 2020-07-15 19:41:22 -04:00
core_timing.h core_timing: Remove unused data member 2020-07-15 19:41:37 -04:00
core_timing_util.cpp SingleCore: Use Cycle Timing instead of Host Timing. 2020-06-27 11:36:01 -04:00
core_timing_util.h SingleCore: Use Cycle Timing instead of Host Timing. 2020-06-27 11:36:01 -04:00
cpu_manager.cpp General: Tune the priority of main emulation threads so they have higher priority than less important helper threads. 2020-06-27 11:36:09 -04:00
cpu_manager.h cpu_manager: Mark function getters as static 2020-07-16 13:30:56 -04:00
device_memory.cpp kernel: memory: page_table: Simplify GetPhysicalAddr impl. 2020-04-17 00:59:35 -04:00
device_memory.h core: hle: Address various feedback & code cleanup. 2020-04-17 00:59:36 -04:00
hardware_interrupt_manager.cpp core_timing: Make TimedCallback take std::chrono::nanoseconds 2020-07-15 19:41:22 -04:00
hardware_interrupt_manager.h core_timing: Use better reference tracking for EventType. (#3159) 2019-11-26 21:48:56 -05:00
hardware_properties.h General: Add Asserts 2020-06-27 11:35:21 -04:00
memory.cpp memory: Set page-table pointers before setting attribute = Memory 2020-07-05 12:54:19 +01:00
memory.h ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes. 2020-06-27 11:35:37 -04:00
perf_stats.cpp configuration: implement per-game configurations (#4098) 2020-07-09 22:42:09 -04:00
perf_stats.h Address review comments 2019-09-10 12:57:45 +02:00
reporter.cpp Replace externals with Conan (#3735) 2020-05-08 17:09:29 -04:00
reporter.h service: Update function tables 2020-04-20 15:53:49 -04:00
settings.cpp Drop settings namespace 2020-07-17 17:23:24 +10:00
settings.h Rebase for per game settings 2020-07-17 14:26:14 +10:00
telemetry_session.cpp Rebase for per game settings 2020-07-17 14:26:14 +10:00
telemetry_session.h core/telemetry_session: Remove usages of the global system accessor 2019-05-28 22:28:15 -04:00