mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
raw: raw sockets
This commit is contained in:
@@ -92,6 +92,7 @@ typedef struct {
|
||||
#define SOCKET_TYPE_LOCAL 1
|
||||
#define SOCKET_TYPE_TCP 2
|
||||
#define SOCKET_TYPE_LOCAL_SEQPACKET 3
|
||||
#define SOCKET_TYPE_RAW_STRIPPED 4
|
||||
#define SOCKFS_SOCKET_FROM_NODE(nodep) (((socketnode_t *)(nodep))->socket)
|
||||
|
||||
static inline int sockfd_get(int fd, vnode_t **vnodep, int *fileflags) {
|
||||
|
||||
Reference in New Issue
Block a user