/systemd-251/src/resolve/ |
D | resolved-mdns.c | 454 r = setsockopt_int(s, IPPROTO_IP, IP_TTL, 255); in manager_mdns_ipv4_fd() 458 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_TTL, 255); in manager_mdns_ipv4_fd() 462 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_LOOP, true); in manager_mdns_ipv4_fd() 466 r = setsockopt_int(s, IPPROTO_IP, IP_PKTINFO, true); in manager_mdns_ipv4_fd() 470 r = setsockopt_int(s, IPPROTO_IP, IP_RECVTTL, true); in manager_mdns_ipv4_fd() 475 r = setsockopt_int(s, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_DONT); in manager_mdns_ipv4_fd()
|
D | resolved-llmnr.c | 165 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_TTL, 255); in manager_llmnr_ipv4_udp_fd() 169 r = setsockopt_int(s, IPPROTO_IP, IP_MULTICAST_LOOP, true); in manager_llmnr_ipv4_udp_fd() 174 r = setsockopt_int(s, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_DONT); in manager_llmnr_ipv4_udp_fd() 369 r = setsockopt_int(s, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_DONT); in manager_llmnr_ipv4_tcp_fd()
|
D | resolved-dns-stream.c | 128 r = getsockopt(s->fd, IPPROTO_IP, IP_PKTOPTIONS, &control, &sl); in dns_stream_identify() 162 } else if (cmsg->cmsg_level == IPPROTO_IP) { in dns_stream_identify()
|
D | resolved-manager.c | 833 } else if (cmsg->cmsg_level == IPPROTO_IP) { in manager_recv() 994 cmsg->cmsg_level = IPPROTO_IP; in manager_ipv4_send() 1662 r = setsockopt_int(fd, IPPROTO_IP, IP_MTU_DISCOVER, IP_PMTUDISC_OMIT); in socket_disable_pmtud()
|
D | resolved-dns-scope.c | 853 … (void) setsockopt(fd, IPPROTO_IP, IP_DROP_MEMBERSHIP, &mreqn, sizeof(mreqn)); in dns_scope_multicast_membership() 855 …if (setsockopt(fd, IPPROTO_IP, b ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP, &mreqn, sizeof(mreqn)) … in dns_scope_multicast_membership()
|
/systemd-251/src/libsystemd-network/ |
D | dhcp-network.c | 175 r = setsockopt_int(s, IPPROTO_IP, IP_TOS, ip_service_type); in dhcp_network_bind_udp_socket() 177 r = setsockopt_int(s, IPPROTO_IP, IP_TOS, IPTOS_CLASS_CS6); in dhcp_network_bind_udp_socket() 199 r = setsockopt_int(s, IPPROTO_IP, IP_PKTINFO, true); in dhcp_network_bind_udp_socket() 204 r = setsockopt_int(s, IPPROTO_IP, IP_FREEBIND, true); in dhcp_network_bind_udp_socket()
|
D | sd-dhcp-server.c | 402 cmsg->cmsg_level = IPPROTO_IP; in dhcp_server_send_udp() 1314 if (cmsg->cmsg_level == IPPROTO_IP && in server_receive_message()
|
/systemd-251/src/basic/linux/ |
D | in.h | 29 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator 30 #define IPPROTO_IP IPPROTO_IP macro
|
/systemd-251/src/test/ |
D | test-ip-protocol-list.c | 61 test_parse_ip_protocol_one("ip", IPPROTO_IP); in TEST() 62 test_parse_ip_protocol_one("", IPPROTO_IP); in TEST()
|
/systemd-251/src/shared/ |
D | ip-protocol-list.c | 47 return IPPROTO_IP; in parse_ip_protocol()
|
/systemd-251/src/basic/ |
D | socket-util.c | 1337 return setsockopt_int(fd, IPPROTO_IP, IP_PKTINFO, b); in socket_set_recvpktinfo() 1366 … return RET_NERRNO(setsockopt(fd, IPPROTO_IP, IP_UNICAST_IF, &ifindex_be, sizeof(ifindex_be))); in socket_set_unicast_if() 1388 return setsockopt_int(fd, IPPROTO_IP, opt_ipv4, val); in socket_set_option() 1410 r = getsockopt_int(fd, IPPROTO_IP, IP_MTU, &mtu); in socket_get_mtu()
|
/systemd-251/src/core/ |
D | dbus-socket.c | 146 if (i == IPPROTO_IP) in socket_protocol_to_string()
|
D | socket.c | 1073 r = setsockopt_int(fd, IPPROTO_IP, IP_TOS, s->ip_tos); in socket_apply_socket_options()
|
/systemd-251/src/timesync/ |
D | timesyncd-manager.c | 665 (void) setsockopt_int(m->server_socket, IPPROTO_IP, IP_TOS, IPTOS_LOWDELAY); in manager_listen_setup()
|