Searched refs:so_type (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 127 int so_type; in FIXTURE_VARIANT() local 133 .so_type = SOCK_STREAM, in FIXTURE_VARIANT_ADD() 139 .so_type = SOCK_DGRAM, in FIXTURE_VARIANT_ADD() 145 .so_type = SOCK_STREAM, in FIXTURE_VARIANT_ADD() 151 .so_type = SOCK_STREAM, in FIXTURE_VARIANT_ADD() 157 .so_type = SOCK_DGRAM, in FIXTURE_VARIANT_ADD() 163 .so_type = SOCK_STREAM, in FIXTURE_VARIANT_ADD() 174 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); in TEST_F() 270 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); in TEST_F() 319 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); in TEST_F() [all …]
|
/openbmc/qemu/net/ |
H A D | socket.c | 451 int so_type, optlen = sizeof(so_type); in net_socket_fd_check() local 453 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&so_type, in net_socket_fd_check() 458 if (so_type != SOCK_DGRAM && so_type != SOCK_STREAM) { in net_socket_fd_check() 460 " SOCK_DGRAM or SOCK_STREAM", so_type, fd); in net_socket_fd_check() 463 return so_type; in net_socket_fd_check() 709 int fd, ret, so_type; in net_init_socket() local 715 so_type = net_socket_fd_check(fd, errp); in net_init_socket() 716 if (so_type < 0) { in net_init_socket() 725 switch (so_type) { in net_init_socket()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_execbuf.c | 2568 enum vmw_so_type so_type; in vmw_cmd_dx_so_define() local 2574 so_type = vmw_so_cmd_to_type(header->id); in vmw_cmd_dx_so_define() 2575 res = vmw_context_cotable(ctx_node->ctx, vmw_so_cotables[so_type]); in vmw_cmd_dx_so_define()
|