Home
last modified time | relevance | path

Searched refs:LOOPBACK_IFINDEX (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/shared/
Dloopback-setup.c52 r = sd_rtnl_message_new_link(rtnl, &req, RTM_SETLINK, LOOPBACK_IFINDEX); in start_loopback()
75 r = sd_rtnl_message_new_addr(rtnl, &req, RTM_NEWADDR, LOOPBACK_IFINDEX, AF_INET); in add_ipv4_address()
110 r = sd_rtnl_message_new_addr(rtnl, &req, RTM_NEWADDR, LOOPBACK_IFINDEX, AF_INET6); in add_ipv6_address()
143 r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, LOOPBACK_IFINDEX); in check_loopback()
/systemd-251/src/basic/
Dmissing_network.h29 #ifndef LOOPBACK_IFINDEX
30 #define LOOPBACK_IFINDEX 1 macro
/systemd-251/src/network/netdev/
Dxfrm.c20 … = sd_netlink_message_append_u32(message, IFLA_XFRM_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in xfrm_fill_message_create()
Dtunnel.c227 … r = sd_netlink_message_append_u32(m, IFLA_IPTUN_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in netdev_ipip_sit_fill_message_create()
332 … r = sd_netlink_message_append_u32(m, IFLA_GRE_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in netdev_gre_erspan_fill_message_create()
453 … r = sd_netlink_message_append_u32(m, IFLA_GRE_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in netdev_ip6gre_fill_message_create()
536 … r = sd_netlink_message_append_u32(m, IFLA_VTI_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in netdev_vti_fill_message_create()
611 … r = sd_netlink_message_append_u32(m, IFLA_IPTUN_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in netdev_ip6tnl_fill_message_create()
/systemd-251/src/test/
Dtest-socket-netlink.c255 test_in_addr_ifindex_to_string_one(AF_INET6, "fe80::16", LOOPBACK_IFINDEX, "fe80::16%1"); in TEST()
274 assert_se(ifindex == LOOPBACK_IFINDEX); in TEST()
/systemd-251/src/resolve/
Dresolved-dns-synthesize.c20 return LOOPBACK_IFINDEX; in dns_synthesize_ifindex()
Dresolved-dns-stub.c542 …l || address_is_proxy(p->family, &p->destination) ? p->ifindex : LOOPBACK_IFINDEX, /* force loopba… in dns_stub_send()
1173 r = socket_bind_to_ifindex(fd, LOOPBACK_IFINDEX); in manager_dns_stub_fd()
Dresolved-dns-stream.c186 if (s->ifindex == LOOPBACK_IFINDEX) in dns_stream_identify()
Dresolved-manager.c863 if (p->ifindex == LOOPBACK_IFINDEX) in manager_recv()
Dresolvectl.c1994 if (ifindex == LOOPBACK_IFINDEX) in status_all()