/openbmc/linux/net/vmw_vsock/ |
H A D | Kconfig | 20 tristate "Virtual Sockets monitoring interface" 24 Support for PF_VSOCK sockets monitoring interface used by the ss tool. 27 Enable this module so userspace applications can query open sockets. 30 tristate "Virtual Sockets loopback transport" 35 This module implements a loopback transport for Virtual Sockets, 42 tristate "VMware VMCI transport for Virtual Sockets" 45 This module implements a VMCI transport for Virtual Sockets. 54 tristate "virtio transport for Virtual Sockets" 58 This module implements a virtio transport for Virtual Sockets. 61 Sockets over virtio. [all …]
|
H A D | af_vsock.c | 10 * - There are two kinds of sockets: those created by user action (such as 13 * - There are two "global" tables, one for bound sockets (sockets that have 15 * sockets (sockets that have established a connection with another socket). 16 * These tables are "global" in that all sockets on the system are placed 18 * for a list of unbound sockets and SOCK_DGRAM sockets will always remain in 19 * that list. The bound table is used solely for lookup of sockets when packets 20 * are received and that's not necessary for SOCK_DGRAM sockets since we create 22 * sockets out of the bound hash buckets will reduce the chance of collisions 23 * when looking for SOCK_STREAM sockets and prevents us from having to check the 26 * - Sockets created by user action will either be "client" sockets that [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-smp-parse.c | 30 * -sockets/cores/threads 35 .has_sockets = hb, .sockets = b, \ 44 .sockets = b, \ 52 * -sockets/dies/modules/cores/threads 58 .has_sockets = hb, .sockets = b, \ 68 * -sockets/clusters/cores/threads 73 .has_sockets = hb, .sockets = b, \ 82 * -drawers/books/sockets/cores/threads 90 .has_sockets = hd, .sockets = d, \ 99 * -drawers/books/sockets/dies/clusters/modules/cores/threads [all …]
|
/openbmc/linux/tools/testing/vsock/ |
H A D | vsock_diag_test.c | 133 fprintf(stderr, "expected no sockets\n"); in check_no_sockets() 148 fprintf(stderr, "expected %d sockets, found %d\n", in check_num_sockets() 236 static void add_vsock_stat(struct list_head *sockets, in add_vsock_stat() argument 248 list_add_tail(&st->list, sockets); in add_vsock_stat() 254 static void read_vsock_stat(struct list_head *sockets) in read_vsock_stat() argument 309 add_vsock_stat(sockets, NLMSG_DATA(h)); in read_vsock_stat() 319 static void free_sock_stat(struct list_head *sockets) in free_sock_stat() argument 324 list_for_each_entry_safe(st, next, sockets, list) in free_sock_stat() 330 LIST_HEAD(sockets); in test_no_sockets() 332 read_vsock_stat(&sockets); in test_no_sockets() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | machine-smp.c | 44 g_string_append_printf(s, "sockets (%u)", ms->smp.sockets); in cpu_hierarchy_to_string() 68 * Any missing parameter in "cpus/maxcpus/sockets/cores/threads" will be 71 * In the calculation of omitted sockets/cores/threads: we prefer sockets 72 * over cores over threads before 6.2, while preferring cores over sockets 92 unsigned sockets = config->has_sockets ? config->sockets : 0; in machine_parse_smp_config() local 108 (config->has_sockets && config->sockets == 0) || in machine_parse_smp_config() 166 sockets = sockets > 0 ? sockets : 1; in machine_parse_smp_config() 173 /* prefer sockets over cores before 6.2 */ in machine_parse_smp_config() 174 if (sockets == 0) { in machine_parse_smp_config() 177 sockets = maxcpus / in machine_parse_smp_config() [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | i82092.c | 52 /* The card can do up to 4 sockets, allocate a structure for each of them */ 69 static struct socket_info sockets[MAX_SOCKETS]; variable 113 sockets[i].card_state = 1; /* 1 = present but empty */ in i82092aa_pci_probe() 114 sockets[i].io_base = pci_resource_start(dev, 0); in i82092aa_pci_probe() 115 sockets[i].dev = dev; in i82092aa_pci_probe() 116 sockets[i].socket.features |= SS_CAP_PCCARD; in i82092aa_pci_probe() 117 sockets[i].socket.map_size = 0x1000; in i82092aa_pci_probe() 118 sockets[i].socket.irq_mask = 0; in i82092aa_pci_probe() 119 sockets[i].socket.pci_irq = dev->irq; in i82092aa_pci_probe() 120 sockets[i].socket.cb_dev = dev; in i82092aa_pci_probe() [all …]
|
H A D | i82365.c | 157 /* Where we keep track of our sockets... */ 158 static int sockets = 0; variable 578 socket[sockets].ioaddr = port; in identify() 579 socket[sockets].psock = sock; in identify() 583 i365_bclr(sockets, PD67_MISC_CTL_2, PD67_MC2_SUSPEND); in identify() 588 if ((val = i365_get(sockets, I365_IDENT)) & 0x70) in identify() 604 i365_bset(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify() 605 val = i365_get(sockets, I365_IDENT); in identify() 607 i365_bclr(sockets, VG468_MISC, VG468_MISC_VADEMREV); in identify() 612 val = i365_get(sockets, RF5C_CHIP_ID); in identify() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | cpu-plug-test.c | 20 unsigned sockets; member 38 "-smp 1,sockets=%u,cores=%u,threads=%u,maxcpus=%u", in test_plug_with_device_add() 40 td->sockets, td->cores, td->threads, td->maxcpus); in test_plug_with_device_add() 94 data->sockets = 1; in add_pc_test_case() 97 data->maxcpus = data->sockets * data->cores * data->threads; in add_pc_test_case() 100 mname, data->sockets, data->cores, in add_pc_test_case() 120 data->sockets = 2; in add_pseries_test_case() 123 data->maxcpus = data->sockets * data->cores * data->threads; in add_pseries_test_case() 126 mname, data->sockets, data->cores, in add_pseries_test_case() 146 data->sockets = 1; in add_s390x_test_case() [all …]
|
/openbmc/linux/net/unix/ |
H A D | Kconfig | 3 # Unix Domain Sockets 7 bool "Unix domain sockets" 9 If you say Y here, you will include support for Unix domain sockets; 10 sockets are the standard Unix mechanism for establishing and 12 the X Window system and syslog use these sockets even if your
|
/openbmc/linux/net/xdp/ |
H A D | Kconfig | 3 bool "XDP sockets" 7 XDP sockets allows a channel between XDP programs and 11 tristate "XDP sockets: monitoring interface" 15 Support for PF_XDP sockets monitoring interface used by the ss tool.
|
/openbmc/linux/Documentation/networking/ |
H A D | kcm.rst | 10 datagram sockets. 34 KCM sockets 37 The KCM sockets provide the user interface to the multiplexor. All the KCM sockets 39 operations in different sockets may be done in parallel without the need for 50 TCP sockets & Psocks 53 TCP sockets may be bound to a KCM multiplexor. A Psock structure is allocated 123 Cloning KCM sockets 127 above, additional sockets for the multiplexor can be created by cloning 144 Attach transport sockets 147 Attaching of transport sockets to a multiplexor is performed by calling an [all …]
|
H A D | af_xdp.rst | 19 bpf_redirect_map() function. AF_XDP sockets enable the possibility for 116 multiple AF_XDP sockets. To share an UMEM created via one socket A, 135 is a setup with four sockets (all doing TX and RX). Then there will be 244 and monitor the behavior of AF_XDP sockets. 261 This flag enables you to bind multiple sockets to the same UMEM. It 269 sockets bound to the same netdev and queue id. The UMEM (tied to the 278 sockets this way. 281 program. Put all the sockets in the XSK_MAP and just indicate which 320 The second case is when you share a UMEM between sockets that are 323 netdev,queue_id pair. Let us say you want to create two sockets bound [all …]
|
/openbmc/openbmc/meta-security/recipes-mac/smack/udp-smack-test/ |
H A D | test_smack_udp_sockets.sh | 29 # checking access for sockets with different labels 40 echo "Sockets with different labels should not communicate on udp" 47 # checking access for sockets with different labels, but having a rule granting rw 58 echo "Sockets with different labels, but having rw access, should communicate on udp" 62 # checking access for sockets with the same label 73 echo "Sockets with same labels should communicate on udp"
|
/openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/ |
H A D | test_smack_tcp_sockets.sh | 28 # checking access for sockets with different labels 41 echo "Sockets with different labels should not communicate on tcp" 48 # checking access for sockets with different labels, but having a rule granting rw 59 echo "Sockets with different labels, but having rw access, should communicate on tcp" 63 # checking access for sockets with the same label 74 echo "Sockets with same labels should communicate on tcp"
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 190 #define AF_UNIX 1 /* Unix domain sockets */ 212 #define AF_RDS 21 /* RDS sockets */ 214 #define AF_IRDA 23 /* IRDA sockets */ 215 #define AF_PPPOX 24 /* PPPoX sockets */ 216 #define AF_WANPIPE 25 /* Wanpipe API Sockets */ 221 #define AF_TIPC 30 /* TIPC sockets */ 222 #define AF_BLUETOOTH 31 /* Bluetooth sockets */ 223 #define AF_IUCV 32 /* IUCV sockets */ 224 #define AF_RXRPC 33 /* RxRPC sockets */ 225 #define AF_ISDN 34 /* mISDN sockets */ [all …]
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 190 #define AF_UNIX 1 /* Unix domain sockets */ 212 #define AF_RDS 21 /* RDS sockets */ 214 #define AF_IRDA 23 /* IRDA sockets */ 215 #define AF_PPPOX 24 /* PPPoX sockets */ 216 #define AF_WANPIPE 25 /* Wanpipe API Sockets */ 221 #define AF_TIPC 30 /* TIPC sockets */ 222 #define AF_BLUETOOTH 31 /* Bluetooth sockets */ 223 #define AF_IUCV 32 /* IUCV sockets */ 224 #define AF_RXRPC 33 /* RxRPC sockets */ 225 #define AF_ISDN 34 /* mISDN sockets */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0012-Fix-implicit-declaration-of-stlcat-strlcopy-function.patch | 10 include/cutils/sockets.h | 2 +- 38 diff --git a/include/cutils/sockets.h b/include/cutils/sockets.h 40 --- a/include/cutils/sockets.h 41 +++ b/include/cutils/sockets.h
|
/openbmc/linux/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 27 #define F_GETOWN 11 /* for sockets. */ 28 #define F_SETOWN 12 /* for sockets. */ 29 #define F_SETSIG 13 /* for sockets. */ 30 #define F_GETSIG 14 /* for sockets. */
|
/openbmc/qemu/linux-user/hppa/ |
H A D | target_fcntl.h | 38 #define TARGET_F_GETOWN 11 /* for sockets. */ 39 #define TARGET_F_SETOWN 12 /* for sockets. */ 40 #define TARGET_F_SETSIG 13 /* for sockets. */ 41 #define TARGET_F_GETSIG 14 /* for sockets. */
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 42 #define F_SETOWN 5 /* for sockets. */ 43 #define F_GETOWN 6 /* for sockets. */ 44 #define F_SETSIG 10 /* for sockets. */ 45 #define F_GETSIG 11 /* for sockets. */
|
/openbmc/linux/include/net/ |
H A D | inet_hashtables.h | 36 * The 'e' prefix stands for Establish, but we really put all sockets 46 * 1) Sockets bound to different interfaces may share a local port. 48 * 2) If all sockets have sk->sk_reuse set, and none of them are in 51 * 3) If all sockets are bound to a specific inet_sk(sk)->rcv_saddr local 58 * below. As we add sockets to a bind bucket list, we perform a 60 * As long as all sockets added to a bind bucket pass this test, 109 /* List of sockets hashed to this bucket */ 135 /* Sockets can be hashed in established or listening table. 146 /* This is for listening sockets, thus all sockets which possess wildcards. */ 150 /* This is for sockets with full identity only. Sockets here will [all …]
|
/openbmc/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 7 topology containers: drawers, books and sockets. They define a 59 If none of the containers attributes (drawers, books, sockets) are 67 -smp cpus=5,drawer=1,books=1,sockets=8,cores=4,maxcpus=32 73 -smp cpus=5,sockets=8,cores=4,maxcpus=32 95 If none of the tree attributes (drawer, book, sockets), are specified 133 In the following machine we define 8 sockets with 4 cores each. 139 -smp cpus=5,sockets=8,cores=4,maxcpus=32 \ 234 -smp cpus=1,sockets=8,cores=4,maxcpus=32 \
|
/openbmc/linux/drivers/misc/ |
H A D | tifm_7xx1.c | 53 sock = fm->sockets[cnt]; in tifm_7xx1_isr() 160 sock = fm->sockets[cnt]; in tifm_7xx1_switch_media() 165 fm->sockets[cnt] = NULL; in tifm_7xx1_switch_media() 186 if (!fm->sockets[cnt]) { in tifm_7xx1_switch_media() 187 fm->sockets[cnt] = sock; in tifm_7xx1_switch_media() 219 if (fm->sockets[cnt]) in tifm_7xx1_suspend() 220 tifm_7xx1_sock_power_off(fm->sockets[cnt]->addr); in tifm_7xx1_suspend() 251 if (fm->sockets[rc]) { in tifm_7xx1_resume() 252 if (fm->sockets[rc]->type == new_ids[rc]) in tifm_7xx1_resume()
|
/openbmc/qemu/linux-user/generic/ |
H A D | fcntl.h | 88 #define TARGET_F_SETOWN 8 /* for sockets. */ 89 #define TARGET_F_GETOWN 9 /* for sockets. */ 92 #define TARGET_F_SETSIG 10 /* for sockets. */ 93 #define TARGET_F_GETSIG 11 /* for sockets. */
|
/openbmc/docs/designs/mctp/ |
H A D | mctp-kernel.md | 9 providing a sockets-based API for MCTP communication within an OpenBMC-based 38 mapping of the sockets API to MCTP usage 88 ## Sockets API 99 MCTP sockets are created with the `socket()` syscall, specifying `AF_MCTP` as 109 MCTP Sockets opened with a protocol value of 0 will communicate directly at the 159 existing sockets APIs. 163 Sockets that receive incoming request packets will bind to a local address, 208 Sockets may specify a socket's remote address with the `connect()` syscall: 318 Sockets will only receive responses to requests they have sent (with TO=1) and 356 Like the send calls, sockets will only receive responses to requests they have [all …]
|