Home
last modified time | relevance | path

Searched refs:un (Results 1 – 12 of 12) sorted by relevance

/dpdk/lib/vhost/
H A Dsocket.c36 struct sockaddr_un un; member
342 struct sockaddr_un *un = &vsocket->un; in create_unix_socket() local
358 memset(un, 0, sizeof(*un)); in create_unix_socket()
359 un->sun_family = AF_UNIX; in create_unix_socket()
360 strncpy(un->sun_path, vsocket->path, sizeof(un->sun_path)); in create_unix_socket()
361 un->sun_path[sizeof(un->sun_path) - 1] = '\0'; in create_unix_socket()
384 ret = bind(fd, (struct sockaddr *)&vsocket->un, sizeof(vsocket->un)); in vhost_user_start_server()
413 struct sockaddr_un un; member
434 ret = connect(fd, un, sz); in vhost_user_connect_nonblock()
470 sizeof(reconn->un)); in vhost_user_client_reconnect()
[all …]
/dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_user.c741 vhost_user_start_server(struct virtio_user_dev *dev, struct sockaddr_un *un) in vhost_user_start_server() argument
748 ret = bind(fd, (struct sockaddr *)un, sizeof(*un)); in vhost_user_start_server()
818 struct sockaddr_un un; in vhost_user_setup() local
846 memset(&un, 0, sizeof(un)); in vhost_user_setup()
847 un.sun_family = AF_UNIX; in vhost_user_setup()
848 strlcpy(un.sun_path, dev->path, sizeof(un.sun_path)); in vhost_user_setup()
852 if (vhost_user_start_server(dev, &un) < 0) { in vhost_user_setup()
857 if (connect(fd, (struct sockaddr *)&un, sizeof(un)) < 0) { in vhost_user_setup()
/dpdk/lib/eal/common/
H A Deal_common_proc.c551 struct sockaddr_un un; in open_socket_fd() local
564 memset(&un, 0, sizeof(un)); in open_socket_fd()
565 un.sun_family = AF_UNIX; in open_socket_fd()
567 create_socket_path(peer_name, un.sun_path, sizeof(un.sun_path)); in open_socket_fd()
569 unlink(un.sun_path); /* May still exist since last run */ in open_socket_fd()
571 if (bind(mp_fd, (struct sockaddr *)&un, sizeof(un)) < 0) { in open_socket_fd()
573 un.sun_path, strerror(errno)); in open_socket_fd()
578 RTE_LOG(INFO, EAL, "Multi-process socket %s\n", un.sun_path); in open_socket_fd()
/dpdk/drivers/net/memif/
H A Dmemif_socket.c895 struct sockaddr_un un = { 0 }; in memif_socket_create() local
916 un.sun_family = AF_UNIX; in memif_socket_create()
919 un.sun_path[0] = '\0'; in memif_socket_create()
920 strlcpy(un.sun_path + 1, sock->filename, MEMIF_SOCKET_UN_SIZE - 1); in memif_socket_create()
923 sizeof(un) - sizeof(un.sun_path); in memif_socket_create()
925 sunlen = sizeof(un); in memif_socket_create()
926 strlcpy(un.sun_path, sock->filename, MEMIF_SOCKET_UN_SIZE); in memif_socket_create()
934 ret = bind(sockfd, (struct sockaddr *)&un, sunlen); in memif_socket_create()
/dpdk/config/arm/
H A Dmeson.build234 'description': 'Generic un-optimized build for armv8 aarch64 exec mode',
240 'description': 'Generic un-optimized build for armv8 aarch32 exec mode',
376 generic: Generic un-optimized build for armv8 aarch64 execution mode.
377 generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode.
/dpdk/doc/guides/sample_app_ug/
H A Dl2_forward_cat.rst201 for a sufficient number of un-associated COS. COS are selected and
/dpdk/doc/guides/prog_guide/
H A Dipsec_lib.rst27 * initialize/un-initialize given SA based on user provided parameters.
H A Dpoll_mode_drv.rst96 * Share among multiple packets the un-amortized cost of invoking the rte_eth_tx_one function.
/dpdk/doc/guides/rel_notes/
H A Drelease_18_02.rst187 * ``rte_mp_register`` and ``rte_mp_unregister`` are for action (un)registration.
H A Drelease_19_05.rst225 request mapping or un-mapping to the default vfio container fd.
H A Drelease_18_05.rst278 for registering and un-registering user callbacks.
/dpdk/app/test-pmd/
H A Dcmdline.c14304 uint32_t un; member
14343 un, RTE_UINT32);
14385 dir->data_unacked = res->un; in cmd_set_conntrack_dir_parsed()