/barrelfish-2018-10-04/include/lwip/lwip/ |
H A D | sock_chan_support.h | 24 bool lwip_sock_is_open(int socket); 25 bool lwip_sock_ready_read(int socket); 26 bool lwip_sock_ready_write(int socket); 28 errval_t lwip_sock_waitset_deregister_read(int socket); 29 errval_t lwip_sock_waitset_register_read(int socket, struct waitset *ws); 30 errval_t lwip_sock_waitset_deregister_write(int socket); 31 errval_t lwip_sock_waitset_register_write(int socket, struct waitset *ws);
|
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/include/linux/ |
H A D | if_arp.h | 31 #include <sys/socket.h>
|
H A D | net.h | 34 #include <sys/socket.h> 38 sock_create_kern(int family, int type, int proto, struct socket **res) 45 sock_getname(struct socket *so, struct sockaddr *addr, int *sockaddr_len, 69 sock_release(struct socket *so)
|
/barrelfish-2018-10-04/tools/harness/siteconfig/ |
H A D | __init__.py | 10 import socket, os namespace 27 if os.path.isdir('/home/netos') and socket.getfqdn().endswith('.ethz.ch'): 29 elif socket.getfqdn().endswith('.europe.corp.microsoft.com'): 31 elif socket.getfqdn().endswith('triangle') or socket.getfqdn().endswith('.cs.washington.edu'):
|
/barrelfish-2018-10-04/tools/tracing/ |
H A D | bfscope.py | 12 import sys,string,socket namespace 18 #create an INET, STREAMing socket 19 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
/barrelfish-2018-10-04/include/net_sockets/ |
H A D | net_sockets.h | 29 void net_set_user_state(struct net_socket *socket, void *user_state); 30 void net_close(struct net_socket *socket); 32 errval_t net_bind(struct net_socket *socket, struct in_addr ip_address, uint16_t port); 33 errval_t net_listen(struct net_socket *socket, uint8_t backlog); 37 errval_t net_send(struct net_socket *socket, void *data, size_t size); 38 errval_t net_send_to(struct net_socket *socket, void *data, size_t size, struct in_addr ip_address, uint16_t port); 40 errval_t net_connect(struct net_socket *socket, struct in_addr ip_address, uint16_t port, net_connected_callback_t cb); 42 void net_set_on_received(struct net_socket *socket, net_received_callback_t cb); 43 void net_set_on_sent(struct net_socket *socket, net_sent_callback_t cb); 44 void net_set_on_accepted(struct net_socket *socket, net_accepted_callback_ [all...] |
H A D | net_sockets_types.h | 9 typedef void (*net_received_callback_t)(void *user_state, struct net_socket *socket, void *data, size_t size, struct in_addr ip_address, uint16_t port); 10 typedef void (*net_sent_callback_t)(void *user_state, struct net_socket *socket, void *data, size_t size); 11 typedef void (*net_connected_callback_t)(void *user_state, struct net_socket *socket); 13 typedef void (*net_closed_callback_t)(void *user_state, struct net_socket *socket);
|
/barrelfish-2018-10-04/usr/net_socket_server/ |
H A D | net_sockets_server.c | 3 * E1000 net socket server 87 struct socket_connection *socket; local 89 socket = nc->sockets; 90 while (socket) { 91 if (socket->descriptor == descriptor) 93 socket = socket->next; 95 return socket; 100 struct socket_connection *last, *socket; local 104 socket 190 struct socket_connection *socket = arg; local 253 struct socket_connection *socket = arg; local 308 struct socket_connection *socket = arg; local 352 struct socket_connection *socket = arg; local 419 struct socket_connection *socket; local 436 struct socket_connection *socket; local 455 struct socket_connection *socket; local 485 struct socket_connection *socket; local 508 struct socket_connection *socket = arg; local 520 struct socket_connection *socket; local 549 struct socket_connection *socket, *last; local 669 struct socket_connection *socket; local [all...] |
/barrelfish-2018-10-04/lib/libc/net/ |
H A D | sockatmark.c | 29 #include <sys/socket.h>
|
H A D | recv.c | 37 #include <sys/socket.h>
|
H A D | send.c | 37 #include <sys/socket.h>
|
/barrelfish-2018-10-04/lib/posixcompat/ |
H A D | pipe.c | 11 #include <sys/socket.h>
|
/barrelfish-2018-10-04/lib/net_sockets/ |
H A D | net_sockets.c | 73 struct net_socket *socket; local 75 socket = calloc(1, sizeof(struct net_socket)); 76 assert(socket); 78 socket->descriptor = descriptor; 79 socket->is_closing = false; 80 socket->received = NULL; 81 socket->connected = NULL; 82 socket->accepted = NULL; 83 socket->user_state = NULL; 84 socket 95 struct net_socket *socket; local 108 struct net_socket *socket; local 120 struct net_socket *socket = sockets; local 132 net_set_user_state(struct net_socket *socket, void *user_state) argument 137 net_set_on_closed(struct net_socket *socket, net_closed_callback_t cb) argument 142 net_close(struct net_socket *socket) argument 163 net_bind(struct net_socket *socket, struct in_addr ip_address, uint16_t port) argument 176 net_listen(struct net_socket *socket, uint8_t backlog) argument 222 net_send(struct net_socket *socket, void *data, size_t size) argument 248 net_send_to(struct net_socket *socket, void *data, size_t size, struct in_addr ip_address, uint16_t port) argument 271 net_connect(struct net_socket *socket, struct in_addr ip_address, uint16_t port, net_connected_callback_t cb) argument 285 struct net_socket *socket = get_socket(descriptor); local 301 net_set_on_accepted(struct net_socket *socket, net_accepted_callback_t cb) argument 308 struct net_socket *socket = get_socket(descriptor); local 324 net_set_on_received(struct net_socket *socket, net_received_callback_t cb) argument 329 net_set_on_sent(struct net_socket *socket, net_sent_callback_t cb) argument 383 struct net_socket *socket = get_socket(nb->descriptor); local 407 struct net_socket *socket = get_socket(nb->descriptor); local 418 struct net_socket *socket = get_socket(nb->descriptor); local [all...] |
/barrelfish-2018-10-04/lib/tftp/ |
H A D | common.c | 28 errval_t tftp_send_ack(struct net_socket *socket, uint32_t blockno, argument 40 err = net_send_to(socket, payload, length + 1, addr, port);
|
/barrelfish-2018-10-04/lib/libc/sys/ |
H A D | accept.c | 38 #include <sys/socket.h>
|
H A D | connect.c | 38 #include <sys/socket.h>
|
H A D | recvmsg.c | 38 #include <sys/socket.h>
|
H A D | sendmsg.c | 38 #include <sys/socket.h>
|
H A D | accept4.c | 38 #include <sys/socket.h>
|
H A D | sendto.c | 38 #include <sys/socket.h>
|
/barrelfish-2018-10-04/include/sys/ |
H A D | socket.h | 29 * @(#)socket.h 8.4 (Berkeley) 2/21/94 100 #define SOCK_STREAM 1 /* stream socket */ 101 #define SOCK_DGRAM 2 /* datagram socket */ 110 * Creation flags, OR'ed into socket() and socketpair() type argument. 117 * Option flags per-socket. 120 #define SO_ACCEPTCONN 0x0002 /* socket has had listen() */ 137 #define SO_NO_OFFLOAD 0x4000 /* socket cannot be offloaded */ 150 #define SO_TYPE 0x1008 /* get socket type */ 152 #define SO_LABEL 0x1009 /* socket's MAC label */ 153 #define SO_PEERLABEL 0x1010 /* socket' [all...] |
/barrelfish-2018-10-04/tools/harness/tests/ |
H A D | devif_test.py | 14 import socket, struct, fcntl namespace 56 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 86 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 189 s = socket [all...] |
H A D | vmkit.py | 10 import socket, datetime namespace 30 nfsip = socket.gethostbyname(siteconfig.get('WEBSERVER_NFS_HOST'))
|
H A D | nfscat.py | 10 import socket, datetime namespace 27 nfsip = socket.gethostbyname(siteconfig.get('WEBSERVER_NFS_HOST')) 60 nfsip = socket.gethostbyname(siteconfig.get('WEBSERVER_NFS_HOST')) 78 nfsip = socket.gethostbyname(siteconfig.get('WEBSERVER_NFS_HOST'))
|
/barrelfish-2018-10-04/include/ |
H A D | arranet.h | 20 struct socket *sock;
|