Searched refs:LOOPBACK_IFINDEX (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/shared/ |
D | loopback-setup.c | 52 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/ |
D | missing_network.h | 29 #ifndef LOOPBACK_IFINDEX 30 #define LOOPBACK_IFINDEX 1 macro
|
/systemd-251/src/network/netdev/ |
D | xfrm.c | 20 … = sd_netlink_message_append_u32(message, IFLA_XFRM_LINK, link ? link->ifindex : LOOPBACK_IFINDEX); in xfrm_fill_message_create()
|
D | tunnel.c | 227 … 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/ |
D | test-socket-netlink.c | 255 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/ |
D | resolved-dns-synthesize.c | 20 return LOOPBACK_IFINDEX; in dns_synthesize_ifindex()
|
D | resolved-dns-stub.c | 542 …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()
|
D | resolved-dns-stream.c | 186 if (s->ifindex == LOOPBACK_IFINDEX) in dns_stream_identify()
|
D | resolved-manager.c | 863 if (p->ifindex == LOOPBACK_IFINDEX) in manager_recv()
|
D | resolvectl.c | 1994 if (ifindex == LOOPBACK_IFINDEX) in status_all()
|