Home
last modified time | relevance | path

Searched refs:sd_rtnl_message_new_link (Results 1 – 24 of 24) sorted by relevance

/systemd-251/src/libsystemd/sd-netlink/
Dtest-netlink.c32 assert_se(sd_rtnl_message_new_link(rtnl, &message, RTM_NEWLINK, 1) >= 0); in test_message_link_bridge()
55 assert_se(sd_rtnl_message_new_link(rtnl, &message, RTM_GETLINK, ifindex) >= 0); in test_link_configure()
73 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_link_get()
192 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_event_loop()
225 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_async()
258 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_slot_set()
343 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_async_destroy_callback()
357 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_async_destroy_callback()
370 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, ifindex) >= 0); in test_async_destroy_callback()
405 assert_se(sd_rtnl_message_new_link(rtnl, &m1, RTM_GETLINK, ifindex) >= 0); in test_pipe()
[all …]
Dnetlink-util.c41 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_SETLINK, ifindex); in rtnl_set_link_name()
96 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_SETLINK, ifindex); in rtnl_set_link_properties()
170 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_GETLINK, ifindex); in rtnl_get_link_alternative_names()
204 r = sd_rtnl_message_new_link(*rtnl, &message, nlmsg_type, ifindex); in rtnl_update_link_alternative_names()
251 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_NEWLINKPROP, 0); in rtnl_set_link_alternative_names_by_ifname()
298 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_GETLINK, 0); in rtnl_resolve_link_alternative_name()
392 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_GETLINK, ifindex); in rtnl_get_link_info()
Dnetlink-message-rtnl.c519 int sd_rtnl_message_new_link(sd_netlink *rtnl, sd_netlink_message **ret, in sd_rtnl_message_new_link() function
/systemd-251/src/nspawn/
Dnspawn-network.c44 r = sd_rtnl_message_new_link(rtnl, &m, RTM_DELLINK, 0); in remove_one_link()
147 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0); in add_veth()
336 r = sd_rtnl_message_new_link(rtnl, &m, RTM_SETLINK, 0); in join_bridge()
363 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0); in create_bridge()
514 r = sd_rtnl_message_new_link(rtnl, &m, RTM_SETLINK, ifi); in move_network_interfaces()
556 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0); in setup_macvlan()
637 r = sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0); in setup_ipvlan()
/systemd-251/src/test/
Dtest-netlink-manual.c61 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0) >= 0); in test_tunnel_configure()
85 assert_se(sd_rtnl_message_new_link(rtnl, &n, RTM_NEWLINK, 0) >= 0); in test_tunnel_configure()
/systemd-251/src/shared/
Dloopback-setup.c52 r = sd_rtnl_message_new_link(rtnl, &req, RTM_SETLINK, LOOPBACK_IFINDEX); in start_loopback()
143 r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, LOOPBACK_IFINDEX); in check_loopback()
/systemd-251/src/network/
Dnetworkd-setlink.c428 … r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_NEWLINK, link->master_ifindex); in link_configure()
430 r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_NEWLINK, link->ifindex); in link_configure()
432 r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_SETLINK, link->ifindex); in link_configure()
997 r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_SETLINK, link->ifindex); in link_up_or_down()
1181 r = sd_rtnl_message_new_link(link->manager->rtnl, &req, RTM_SETLINK, link->ifindex); in link_down_now()
1225 r = sd_rtnl_message_new_link(link->manager->rtnl, &req, RTM_DELLINK, link->ifindex); in link_remove()
Dnetworkd-speed-meter.c68 r = sd_rtnl_message_new_link(manager->rtnl, &req, RTM_GETLINK, 0); in speed_meter_handler()
Dnetworkd-sriov.c44 r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_SETLINK, link->ifindex); in sr_iov_configure()
Dnetworkctl.c720 r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, 0); in acquire_link_info()
2577 r = sd_rtnl_message_new_link(rtnl, &req, RTM_DELLINK, index); in link_delete_send_message()
2594 r = sd_rtnl_message_new_link(rtnl, &req, RTM_SETLINK, index); in link_up_down_send_message()
Dnetworkd-manager.c688 r = sd_rtnl_message_new_link(m->rtnl, &req, RTM_GETLINK, 0); in manager_enumerate_links()
Dnetworkd-link.c2690 r = sd_rtnl_message_new_link(link->manager->rtnl, &req, RTM_GETLINK, link->ifindex); in link_call_getlink()
/systemd-251/src/libsystemd-network/
Dtest-acd.c74 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, 0) >= 0); in test_acd()
Dtest-ipv4ll-manual.c86 assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_GETLINK, 0) >= 0); in test_ll()
/systemd-251/src/udev/
Dtest-udev-netlink.c141 assert_se(sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, 0) >= 0); in TEST()
Dudev-netlink.c36 r = sd_rtnl_message_new_link(*rtnl, &message, RTM_GETLINK, ifindex); in link_info_get()
/systemd-251/src/network/netdev/
Dbridge.c158 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &req, RTM_NEWLINK, netdev->ifindex); in netdev_bridge_post_create()
Dnetdev.c561 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &m, RTM_NEWLINK, 0); in independent_netdev_create()
590 r = sd_rtnl_message_new_link(netdev->manager->rtnl, &m, RTM_NEWLINK, 0); in stacked_netdev_create()
Dtunnel.c170 r = sd_rtnl_message_new_link(link->manager->rtnl, &m, RTM_NEWLINK, 0); in dhcp4_pd_create_6rd_tunnel()
/systemd-251/src/network/wait-online/
Dmanager.c283 r = sd_rtnl_message_new_link(m->rtnl, &req, RTM_GETLINK, 0); in manager_rtnl_listen()
/systemd-251/src/systemd/
Dsd-netlink.h148 int sd_rtnl_message_new_link(sd_netlink *nl, sd_netlink_message **ret, uint16_t msg_type, int index…
/systemd-251/src/udev/net/
Dlink-config.c882 r = sd_rtnl_message_new_link(*rtnl, &req, RTM_SETLINK, link->ifindex); in sr_iov_configure()
/systemd-251/src/resolve/
Dresolved-manager.c225 r = sd_rtnl_message_new_link(m->rtnl, &req, RTM_GETLINK, 0); in manager_rtnl_listen()
Dresolvectl.c1963 r = sd_rtnl_message_new_link(rtnl, &req, RTM_GETLINK, 0); in status_all()