Lines Matching defs:SOCKFS
3914 function _mkport() { throw 'TODO' }var SOCKFS={mount:function (mount) {
3931 sock_ops: SOCKFS.websocket_sock_ops
3935 var name = SOCKFS.nextname();
3936 var node = FS.createNode(SOCKFS.root, name, 49152, 0);
3946 stream_ops: SOCKFS.stream_ops
3982 if (!SOCKFS.nextname.current) {
3983 SOCKFS.nextname.current = 0;
3985 return 'socket[' + (SOCKFS.nextname.current++) + ']';
4065 SOCKFS.websocket_sock_ops.addPeer(sock, peer);
4066 SOCKFS.websocket_sock_ops.handlePeerEvents(sock, peer);
4117 SOCKFS.websocket_sock_ops.removePeer(sock, peer);
4119 SOCKFS.websocket_sock_ops.addPeer(sock, peer);
4152 SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport) :
4202 SOCKFS.websocket_sock_ops.removePeer(sock, peer);
4240 var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
4252 var peer = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
4275 var newsock = SOCKFS.createSocket(sock.family, sock.type, sock.protocol);
4278 var peer = SOCKFS.websocket_sock_ops.createPeer(newsock, ws);
4288 SOCKFS.websocket_sock_ops.createPeer(sock, ws);
4338 var dest = SOCKFS.websocket_sock_ops.getPeer(sock, addr, port);
4366 dest = SOCKFS.websocket_sock_ops.createPeer(sock, addr, port);
4390 var dest = SOCKFS.websocket_sock_ops.getPeer(sock, sock.daddr, sock.dport);
4431 var sock = SOCKFS.getSocket(fd);
5642 __ATINIT__.push({ func: function() { SOCKFS.root = FS.mount(SOCKFS, {}, null); } });