Home
last modified time | relevance | path

Searched refs:IPPROTO_IP (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/resolve/
Dresolved-mdns.c454 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()
Dresolved-llmnr.c165 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()
Dresolved-dns-stream.c128 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()
Dresolved-manager.c833 } 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()
Dresolved-dns-scope.c853 … (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/
Ddhcp-network.c175 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()
Dsd-dhcp-server.c402 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/
Din.h29 IPPROTO_IP = 0, /* Dummy protocol for TCP */ enumerator
30 #define IPPROTO_IP IPPROTO_IP macro
/systemd-251/src/test/
Dtest-ip-protocol-list.c61 test_parse_ip_protocol_one("ip", IPPROTO_IP); in TEST()
62 test_parse_ip_protocol_one("", IPPROTO_IP); in TEST()
/systemd-251/src/shared/
Dip-protocol-list.c47 return IPPROTO_IP; in parse_ip_protocol()
/systemd-251/src/basic/
Dsocket-util.c1337 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/
Ddbus-socket.c146 if (i == IPPROTO_IP) in socket_protocol_to_string()
Dsocket.c1073 r = setsockopt_int(fd, IPPROTO_IP, IP_TOS, s->ip_tos); in socket_apply_socket_options()
/systemd-251/src/timesync/
Dtimesyncd-manager.c665 (void) setsockopt_int(m->server_socket, IPPROTO_IP, IP_TOS, IPTOS_LOWDELAY); in manager_listen_setup()