Searched defs:req (Results 1 - 7 of 7) sorted by relevance

/systemd/src/network/
H A Dnetworkd-netdev-ipvlan.c34 static int netdev_ipvlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) { argument
47 r = sd_netlink_message_append_u16(req, IFLA_IPVLAN_MODE, m->mode);
H A Dnetworkd-netdev-vlan.c24 static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) { argument
30 assert(req);
37 r = sd_netlink_message_append_u16(req, IFLA_VLAN_ID, v->id);
H A Dnetworkd-netdev-macvlan.c36 static int netdev_macvlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) { argument
52 r = sd_netlink_message_append_u32(req, IFLA_MACVLAN_MODE, m->mode);
/systemd/src/initctl/
H A Dinitctl.c137 static void request_process(Server *s, const struct init_request *req) { argument
139 assert(req);
141 if (req->magic != INIT_MAGIC) {
146 switch (req->cmd) {
149 if (!isprint(req->runlevel))
152 switch (req->runlevel) {
175 change_runlevel(s, req->runlevel);
/systemd/src/bootchart/
H A Dbootchart.c436 struct timespec req; local
438 req.tv_sec = (time_t)(timeleft / 1000000000.0);
439 req.tv_nsec = (long)(timeleft - (req.tv_sec * 1000000000.0));
441 res = nanosleep(&req, NULL);
/systemd/src/libsystemd-network/
H A Dsd-dhcp-server.c336 static bool requested_broadcast(DHCPRequest *req) { argument
337 assert(req);
339 return req->message->flags & htobe16(0x8000);
343 DHCPRequest *req, DHCPPacket *packet,
349 assert(req);
350 assert(req->max_optlen);
351 assert(optoffset <= req->max_optlen);
354 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &optoffset, 0,
360 r = dhcp_option_append(&packet->dhcp, req->max_optlen, &optoffset, 0,
388 if (req
342 dhcp_server_send_packet(sd_dhcp_server *server, DHCPRequest *req, DHCPPacket *packet, int type, size_t optoffset) argument
410 server_message_init(sd_dhcp_server *server, DHCPPacket **ret, uint8_t type, size_t *_optoffset, DHCPRequest *req) argument
443 server_send_offer(sd_dhcp_server *server, DHCPRequest *req, be32_t address) argument
480 server_send_ack(sd_dhcp_server *server, DHCPRequest *req, be32_t address) argument
544 server_send_nak(sd_dhcp_server *server, DHCPRequest *req) argument
592 DHCPRequest *req = userdata; local
637 dhcp_request_free(DHCPRequest *req) argument
648 ensure_sane_request(sd_dhcp_server *server, DHCPRequest *req, DHCPMessage *message) argument
699 _cleanup_dhcp_request_free_ DHCPRequest *req = NULL; local
[all...]
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c326 const RHeader *req; local
331 req = &packet->rheader;
334 assert(length == req->length);
336 switch (req->type) {
361 return send_addrinfo_reply(out_fd, req->id, ret, result, errno, h_errno);
381 return send_nameinfo_reply(out_fd, req->id, ret,
573 RHeader req = { local
575 .length = sizeof(req)
580 (void) send(resolve->fds[REQUEST_SEND_FD], &req, req
941 AddrInfoRequest req = {}; local
1015 NameInfoRequest req = {}; local
[all...]

Completed in 22 milliseconds