/systemd/src/systemd/ |
H A D | sd-netlink.h | 36 typedef struct sd_netlink_message sd_netlink_message; typedef in typeref:struct:sd_netlink_message 40 typedef int (*sd_netlink_message_handler_t)(sd_netlink *nl, sd_netlink_message *m, void *userdata); 51 int sd_netlink_send(sd_netlink *nl, sd_netlink_message *message, uint32_t *serial); 52 int sd_netlink_call_async(sd_netlink *nl, sd_netlink_message *message, 56 int sd_netlink_call(sd_netlink *nl, sd_netlink_message *message, uint64_t timeout, 57 sd_netlink_message **reply); 61 int sd_netlink_process(sd_netlink *nl, sd_netlink_message **ret); 70 int sd_netlink_message_append_string(sd_netlink_message *m, unsigned short type, const char *data); 71 int sd_netlink_message_append_flag(sd_netlink_message * [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-util.h | 26 int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_netlink_message **ret); 27 uint32_t rtnl_message_get_serial(sd_netlink_message *m); 28 void rtnl_message_seal(sd_netlink_message *m);
|
H A D | netlink-internal.h | 67 sd_netlink_message **rqueue; 71 sd_netlink_message **rqueue_partial; 108 struct sd_netlink_message { struct 119 sd_netlink_message *next; /* next in a chain of multi-part messages */ 122 int message_new(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t type); 123 int message_new_empty(sd_netlink *rtnl, sd_netlink_message **ret); 129 int socket_write_message(sd_netlink *nl, sd_netlink_message *m);
|
H A D | rtnl-message.c | 35 int sd_rtnl_message_route_set_dst_prefixlen(sd_netlink_message *m, unsigned char prefixlen) { 53 int sd_rtnl_message_route_set_src_prefixlen(sd_netlink_message *m, unsigned char prefixlen) { 71 int sd_rtnl_message_route_set_scope(sd_netlink_message *m, unsigned char scope) { 85 int sd_rtnl_message_route_set_flags(sd_netlink_message *m, unsigned flags) { 99 int sd_rtnl_message_route_get_flags(sd_netlink_message *m, unsigned *flags) { 114 int sd_rtnl_message_route_get_family(sd_netlink_message *m, int *family) { 129 int sd_rtnl_message_route_get_protocol(sd_netlink_message *m, unsigned char *protocol) { 144 int sd_rtnl_message_route_get_scope(sd_netlink_message *m, unsigned char *scope) { 159 int sd_rtnl_message_route_get_tos(sd_netlink_message *m, unsigned char *tos) { 174 int sd_rtnl_message_route_get_table(sd_netlink_message * [all...] |
H A D | netlink-message.c | 42 int message_new_empty(sd_netlink *rtnl, sd_netlink_message **ret) { 43 sd_netlink_message *m; 52 m = new0(sd_netlink_message, 1); 65 int message_new(sd_netlink *rtnl, sd_netlink_message **ret, uint16_t type) { 66 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 101 int sd_netlink_message_request_dump(sd_netlink_message *m, int dump) { 118 sd_netlink_message *sd_netlink_message_ref(sd_netlink_message *m) { 125 sd_netlink_message *sd_netlink_message_unref(sd_netlink_message * [all...] |
H A D | test-netlink.c | 34 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL; 52 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL; 79 sd_netlink_message *m; 80 sd_netlink_message *r; 124 sd_netlink_message *m; 125 sd_netlink_message *r; 146 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req; 192 static int link_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) { 211 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 233 static int pipe_handler(sd_netlink *rtnl, sd_netlink_message * [all...] |
H A D | netlink-util.c | 26 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL; 56 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *message = NULL; 100 int rtnl_message_new_synthetic_error(int error, uint32_t serial, sd_netlink_message **ret) {
|
H A D | local-addresses.c | 57 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL; 61 sd_netlink_message *m; 168 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL; 171 sd_netlink_message *m = NULL;
|
H A D | sd-netlink.c | 201 static void rtnl_seal_message(sd_netlink *rtnl, sd_netlink_message *m) { 217 sd_netlink_message *message, 267 static int dispatch_rqueue(sd_netlink *rtnl, sd_netlink_message **message) { 283 memmove(rtnl->rqueue, rtnl->rqueue + 1, sizeof(sd_netlink_message*) * rtnl->rqueue_size); 289 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 320 static int process_reply(sd_netlink *rtnl, sd_netlink_message *m) { 351 static int process_match(sd_netlink *rtnl, sd_netlink_message *m) { 378 static int process_running(sd_netlink *rtnl, sd_netlink_message **ret) { 379 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 420 int sd_netlink_process(sd_netlink *rtnl, sd_netlink_message **re [all...] |
H A D | netlink-socket.c | 237 int socket_write_message(sd_netlink *nl, sd_netlink_message *m) { 324 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *first = NULL; 377 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 453 sizeof(sd_netlink_message*) * (rtnl->rqueue_partial_size - i - 1));
|
/systemd/src/network/ |
H A D | networkd-wait-online-link.h | 40 int link_update_rtnl(Link *l, sd_netlink_message *m);
|
H A D | networkd-netdev-bridge.c | 28 static int netdev_bridge_set_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) { 46 static int netdev_bridge_post_create(NetDev *netdev, Link *link, sd_netlink_message *m) { 47 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL;
|
H A D | networkd.h | 85 int manager_rtnl_process_address(sd_netlink *nl, sd_netlink_message *message, void *userdata); 86 int manager_rtnl_process_route(sd_netlink *nl, sd_netlink_message *message, void *userdata);
|
H A D | networkd-netdev-ipvlan.c | 34 static int netdev_ipvlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) {
|
H A D | networkd-link.h | 124 int link_add(Manager *manager, sd_netlink_message *message, Link **ret); 127 int link_address_remove_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata); 128 int link_route_remove_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata); 136 int link_update(Link *link, sd_netlink_message *message);
|
H A D | networkd-netdev-macvlan.c | 36 static int netdev_macvlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) {
|
H A D | networkd-netdev-vlan.c | 24 static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) {
|
H A D | networkd-wait-online-manager.c | 99 static int manager_process_link(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { 161 static int on_rtnl_event(sd_netlink *rtnl, sd_netlink_message *mm, void *userdata) { 176 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL; 177 sd_netlink_message *i;
|
H A D | networkd-fdb.c | 83 static int set_fdb_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata) { 98 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL;
|
H A D | networkd-netdev-veth.c | 27 static int netdev_veth_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *m) {
|
H A D | networkd-netdev.h | 134 int (*fill_message_create)(NetDev *netdev, Link *link, sd_netlink_message *message); 143 int (*post_create)(NetDev *netdev, Link *link, sd_netlink_message *message); 196 int netdev_set_ifindex(NetDev *netdev, sd_netlink_message *newlink);
|
/systemd/src/core/ |
H A D | loopback-setup.c | 30 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL; 49 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *req = NULL, *reply = NULL;
|
/systemd/src/resolve/ |
H A D | resolved-link.h | 88 int link_update_rtnl(Link *l, sd_netlink_message *m); 107 int link_address_update_rtnl(LinkAddress *a, sd_netlink_message *m);
|
/systemd/src/libsystemd-network/ |
H A D | test-acd.c | 78 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL, *reply = NULL;
|
/systemd/src/nspawn/ |
H A D | nspawn-network.c | 95 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 242 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 322 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 366 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL; 453 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *m = NULL;
|