Searched refs:socket (Results 1 - 25 of 86) sorted by relevance

1234

/systemd/src/basic/
H A Daf-list.c21 #include <sys/socket.h>
H A Dselinux-util.h23 #include <sys/socket.h>
H A Daudit-util.c23 #include <sys/socket.h>
94 fd = socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC|SOCK_NONBLOCK, NETLINK_AUDIT);
H A Dfd-util.h25 #include <sys/socket.h>
H A Din-addr-util.h24 #include <sys/socket.h>
H A Dsocket-label.c25 #include <sys/socket.h>
37 #include "socket-util.h"
70 fd = socket(socket_address_family(a), a->type | flags, a->protocol);
120 /* Enforce the right access mode for the socket */
154 return log_error_errno(r, "Failed to parse socket address \"%s\": %m", address);
H A Dsocket-util.h26 #include <sys/socket.h>
/systemd/src/test/
H A Dtest-af-list.c21 #include <sys/socket.h>
H A Dtest-capability.c24 #include <sys/socket.h>
100 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
109 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
117 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
126 sock = socket(AF_INET, SOCK_RAW, IPPROTO_UDP);
/systemd/src/reply-password/
H A Dreply-password.c23 #include <sys/socket.h>
86 fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
88 r = log_error_errno(errno, "socket() failed: %m");
/systemd/src/libsystemd-network/
H A Ddhcp6-network.c25 #include <sys/socket.h>
33 #include "socket-util.h"
49 s = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_UDP);
H A Dicmp6-util.c26 #include <sys/socket.h>
33 #include "socket-util.h"
52 s = socket(AF_INET6, SOCK_RAW | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_ICMPV6);
63 IPV6_PKTINFO socket option also applies for ICMPv6 multicast.
65 IPV6_MULTICAST_IF socket option is used here instead */
H A Dlldp-network.c28 #include "socket-util.h"
67 s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
H A Ddhcp-network.c25 #include <sys/socket.h>
32 #include "socket-util.h"
97 s = socket(AF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);
166 s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);
/systemd/src/journal/
H A Djournald-console.c21 #include <sys/socket.h>
H A Djournal-send.c24 #include <sys/socket.h>
37 #include "socket-util.h"
68 fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0);
213 .sun_path = "/run/systemd/journal/socket",
407 fd = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC, 0);
/systemd/src/libsystemd/sd-resolve/
H A Dtest-resolve.c27 #include <sys/socket.h>
33 #include "socket-util.h"
/systemd/src/systemd/
H A Dsd-resolve.h25 #include <sys/socket.h>
/systemd/src/core/
H A Dservice.h43 SERVICE_SIMPLE, /* we fork and go on right-away (i.e. modern socket activated daemons) */
202 int service_set_socket_fd(Service *s, int fd, struct Socket *socket, bool selinux_context_net);
H A Dsocket.h26 #include "socket-util.h"
61 Socket *socket; member in struct:SocketPort
/systemd/src/resolve/
H A Ddns-type.c20 #include <sys/socket.h>
H A Dresolved-llmnr.c136 m->llmnr_ipv4_udp_fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
216 m->llmnr_ipv6_udp_fd = socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
344 m->llmnr_ipv4_tcp_fd = socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
418 m->llmnr_ipv6_tcp_fd = socket(AF_INET6, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
H A Dresolved-mdns.c148 m->mdns_ipv4_fd = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
225 m->mdns_ipv6_fd = socket(AF_INET6, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
/systemd/test/TEST-01-BASIC/
H A Dtest.sh68 ln -s /dev/null $initdir/etc/systemd/system/systemd-networkd.socket
/systemd/src/tty-ask-password-agent/
H A Dtty-ask-password-agent.c29 #include <sys/socket.h>
44 #include "socket-util.h"
93 fd = socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0);
264 socket_fd = socket(AF_UNIX, SOCK_DGRAM|SOCK_CLOEXEC, 0);
266 r = log_debug_errno(errno, "socket(): %m");

Completed in 22 milliseconds

1234