Searched refs:cb (Results 1 - 19 of 19) sorted by relevance

/systemd/src/core/
H A Dselinux-setup.c49 union selinux_callback cb; local
55 cb.func_log = null_log;
56 selinux_set_callback(SELINUX_CB_LOG, cb);
/systemd/src/libsystemd-network/
H A Ddhcp-option.c143 uint8_t *message_type, char **error_message, dhcp_option_cb_t cb,
214 if (cb)
215 cb(code, len, option, userdata);
229 int dhcp_option_parse(DHCPMessage *message, size_t len, dhcp_option_cb_t cb, void *userdata, char **_error_message) { argument
243 r = parse_options(message->options, len, &overload, &message_type, &error_message, cb, userdata);
248 r = parse_options(message->file, sizeof(message->file), NULL, &message_type, &error_message, cb, userdata);
254 r = parse_options(message->sname, sizeof(message->sname), NULL, &message_type, &error_message, cb, userdata);
142 parse_options(const uint8_t options[], size_t buflen, uint8_t *overload, uint8_t *message_type, char **error_message, dhcp_option_cb_t cb, void *userdata) argument
H A Dsd-ipv4ll.c55 sd_ipv4ll_cb_t cb; member in struct:sd_ipv4ll
175 int sd_ipv4ll_set_callback(sd_ipv4ll *ll, sd_ipv4ll_cb_t cb, void *userdata) { argument
178 ll->cb = cb;
314 if (ll->cb)
315 ll->cb(ll, event, ll->userdata);
H A Dsd-ipv4acd.c95 sd_ipv4acd_cb_t cb; member in struct:sd_ipv4acd
158 if (ll->cb)
159 ll->cb(ll, event, ll->userdata);
450 int sd_ipv4acd_set_callback(sd_ipv4acd *ll, sd_ipv4acd_cb_t cb, void *userdata) { argument
453 ll->cb = cb;
H A Ddhcp-internal.h48 int dhcp_option_parse(DHCPMessage *message, size_t len, dhcp_option_cb_t cb, void *userdata, char **error_message);
H A Dsd-lldp.c64 sd_lldp_cb_t cb; member in struct:sd_lldp
388 if (!lldp->cb)
393 lldp->cb(lldp, SD_LLDP_EVENT_UPDATE_INFO, lldp->userdata);
663 int sd_lldp_set_callback(sd_lldp *lldp, sd_lldp_cb_t cb, void *userdata) { argument
666 lldp->cb = cb;
H A Dsd-dhcp6-client.c66 sd_dhcp6_client_cb_t cb; member in struct:sd_dhcp6_client
113 int sd_dhcp6_client_set_callback(sd_dhcp6_client *client, sd_dhcp6_client_cb_t cb, void *userdata) { argument
116 client->cb = cb;
282 if (client->cb)
283 client->cb(client, event, client->userdata);
H A Dtest-lldp.c259 static int start_lldp(sd_lldp **lldp, sd_event *e, sd_lldp_cb_t cb, void *cb_data) { argument
270 r = sd_lldp_set_callback(*lldp, cb, cb_data);
H A Dsd-dhcp-client.c104 sd_dhcp_client_cb_t cb; member in struct:sd_dhcp_client
124 int sd_dhcp_client_set_callback(sd_dhcp_client *client, sd_dhcp_client_cb_t cb, argument
128 client->cb = cb;
366 if (client->cb)
367 client->cb(client, event, client->userdata);
/systemd/src/systemd/
H A Dsd-ipv4acd.h45 int sd_ipv4acd_set_callback(sd_ipv4acd *ll, sd_ipv4acd_cb_t cb, void *userdata);
H A Dsd-ipv4ll.h44 int sd_ipv4ll_set_callback(sd_ipv4ll *ll, sd_ipv4ll_cb_t cb, void *userdata);
H A Dsd-dhcp6-client.h82 sd_dhcp6_client_cb_t cb, void *userdata);
H A Dsd-lldp.h57 int sd_lldp_set_callback(sd_lldp *lldp, sd_lldp_cb_t cb, void *userdata);
H A Dsd-ndisc.h50 sd_ndisc_callback_t cb,
H A Dsd-dhcp-client.h89 int sd_dhcp_client_set_callback(sd_dhcp_client *client, sd_dhcp_client_cb_t cb,
/systemd/src/network/
H A Dnetworkd-netdev.c298 netdev_join_callback *cb; local
300 cb = new0(netdev_join_callback, 1);
301 if (!cb)
304 cb->callback = callback;
305 cb->link = link;
308 LIST_PREPEND(callbacks, netdev->callbacks, cb);
H A Dnetworkd-netdev.h199 int netdev_join(NetDev *netdev, Link *link, sd_netlink_message_handler_t cb);
/systemd/src/libsystemd/sd-bus/
H A Dbus-bloom.c31 SD_ID128_ARRAY(63,fd,ae,be,cd,82,48,12,a1,6e,41,26,cb,fa,a0,c8),
/systemd/src/hostname/
H A Dhostnamed.c537 static int set_machine_info(Context *c, sd_bus_message *m, int prop, sd_bus_message_handler_t cb, sd_bus_error *error) { argument

Completed in 36 milliseconds