Searched refs:so_type (Results 1 – 11 of 11) sorted by relevance
/external/qemu/slirp/ |
D | socket.h | 40 u_char so_type; /* Type of socket, UDP or TCP */ member
|
D | ip_icmp.c | 132 so->so_type = IPPROTO_ICMP; in icmp_input()
|
D | slirp.c | 935 qemu_put_byte(f, so->so_type); in slirp_socket_save() 1042 so->so_type = qemu_get_byte(f); in slirp_socket_load()
|
D | socket.c | 452 if (so->so_type == IPPROTO_ICMP) { /* This is a "ping" reply */ in sorecvfrom()
|
/external/qemu/slirp-android/ |
D | socket.h | 41 u_char so_type; /* Type of socket, UDP or TCP */ member
|
D | ip_icmp.c | 136 so->so_type = IPPROTO_ICMP; in icmp_input()
|
D | slirp.c | 1030 qemu_put_byte(f, so->so_type); in slirp_socket_save() 1137 so->so_type = qemu_get_byte(f); in slirp_socket_load()
|
D | socket.c | 459 if (so->so_type == IPPROTO_ICMP) { /* This is a "ping" reply */ in sorecvfrom()
|
/external/qemu/ |
D | net.c | 1751 int so_type=-1, optlen=sizeof(so_type); in net_socket_fd_init() local 1753 if(getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type, in net_socket_fd_init() 1758 switch(so_type) { in net_socket_fd_init() 1765 …stderr, "qemu: warning: socket type=%d for fd=%d is not SOCK_DGRAM or SOCK_STREAM\n", so_type, fd); in net_socket_fd_init()
|
D | sockets.c | 1090 int so_type = socket_getoption(fd, SOL_SOCKET, SO_TYPE, -1); in socket_get_type() local 1091 return socket_type_from_bsd(so_type); in socket_get_type()
|
D | net-android.c | 1864 SocketType so_type = socket_get_type(fd); in net_socket_fd_init() local 1866 switch(so_type) { in net_socket_fd_init() 1873 …stderr, "qemu: warning: socket type=%d for fd=%d is not SOCK_DGRAM or SOCK_STREAM\n", so_type, fd); in net_socket_fd_init()
|