Michael Scire
c8f8145195
bsd: allow user-specified tmem backing buffer
2021-02-24 17:41:52 +01:00
Tim Gates
8cbd1cf03c
docs: fix simple typo, recieve -> receive
...
There is a small typo in nx/include/switch/runtime/devices/socket.h, nx/include/switch/services/bsd.h.
Should read `receive` rather than `recieve`.
2020-12-19 13:35:29 +01:00
yellows8
5e95507cbc
bsd/sockets: Added actual support for recvmsg/sendmsg and sendmmsg/recvmmsg, on [7.0.0+].
2020-04-09 13:15:07 -04:00
yellows8
1f792cd92f
Various improvements/fixes and improved docs. Added nvGetServiceSession. Return an actual error when the value for determing which service to init is invalid, for services which use *ServiceType/AppletType. Improved cleanup handling. Fixed inverted logic in the spl cleanup define.
2019-10-31 22:53:42 -04:00
fincs
26f620dc0e
Split up socket.c + work in progress changes:
...
- DNS stuff moved to runtime/resolver.c & .h
- Address manipulation functions moved to runtime/util/inet_addr.c
- Removed sfdnsres/nifm handling in runtime/devices/socket.c
- Renamed socketGetLastBsdResult to socketGetLastResult
- Renamed socketGetLastSfdnsresResult to resolverGetLastResult
- gethostid now inits/deinits nifm as needed
- sfdnsres related configuration gone from SocketInitConfig
- Fixed bug in addrinfo deserialization
- getaddrinfo rewritten, hints can now be NULL
- TODO: add back a way to control service discovery/cancel handle
2019-10-28 12:36:29 +01:00
fincs
5340c7d7dc
Add multithreaded BSD/socket support; revise BSD service type handling so that bsd:u is the default (since it has 22 worker threads as opposed to bsd:s's 11)
2019-10-26 17:26:04 +02:00
fincs
58e1e7e5b6
bsd: Update for new-ipc
2019-10-25 17:19:30 +02:00
yellows8
4177031ebe
Use the same style for all system-versions.
2019-08-26 13:05:49 -04:00
friedkeenan
da4c060278
Add a bunch of GetServiceSession functions ( #305 )
...
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00
yellows8
567828f44e
Fixed doxygen issues / improved docs. Closes #230 .
2019-02-19 16:56:33 -05:00
TuxSH
d33b26016d
Add documentation to bsd.h and sfdnsres.h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
b8fb1722d0
Add sfdnsres
2018-02-27 19:14:44 +01:00
TuxSH
0b92bb76b0
Add newlib wrapper for sockets...
...
... fix several bugs, etc.
2018-02-27 19:14:44 +01:00
TuxSH
88dbc66d01
Handle result code+errno properly...
...
also make fcntl and ioctl non-variadic for convenience for the newlib wrapper
2018-02-27 19:14:44 +01:00
TuxSH
a3e90d68a0
Add all the needed headers from FreeBSD...
...
... clean them up, also fix some bugs in bsd.c/h, etc.
2018-02-27 19:14:44 +01:00
TuxSH
4d78f12871
Implement most bsd:u/s service commands
2018-02-27 19:14:44 +01:00
fincs
95592641f5
services/: Add Doxygen file headers; document sm.h
2018-02-10 22:40:11 +01:00
plutoo
673651a51f
Fix broken header files
2018-01-23 00:27:00 +01:00
TuxSH
5b0de6c054
Move tmem allocation in bsdInitalize...
...
...add bsdExit, change the default config's "version" field to 1.
2018-01-22 22:11:33 +01:00
TuxSH
fb9e126f3a
Make the bsd service work properly
2018-01-22 22:11:33 +01:00
plutoo
6fa8370bfb
This looks better
2018-01-22 20:11:55 +01:00
TuxSH
5abc4873d8
Include only what is really necessary...
...
add pragma once in every header, etc.
2018-01-22 18:42:57 +01:00
plutoo
edcf789b6e
C was developed in 1972
2018-01-06 13:54:59 +01:00
shinyquagsire23
3db154a8f0
Add bsdSendTo and bsdSetSockOpt
2017-11-19 01:45:15 -07:00
plutoo
003e300e83
Introducing ipc domains, bsd stuff
2017-09-15 00:18:52 +02:00
plutoo
fb1d6f4d5c
Missed the header file
2017-09-12 02:01:10 +02:00