Searched defs:on (Results 1 - 12 of 12) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp6-network.c42 int r, off = 0, on = 1; local
53 r = setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on));
61 r = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
H A Ddhcp-network.c92 int r, on = 1; local
101 r = setsockopt(s, SOL_PACKET, PACKET_AUXDATA, &on, sizeof(on));
164 int r, on = 1, tos = IPTOS_CLASS_CS6; local
174 r = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
179 r = setsockopt(s, IPPROTO_IP, IP_PKTINFO, &on, sizeof(on));
183 r = setsockopt(s, SOL_SOCKET, SO_BROADCAST, &on, sizeof(on));
[all...]
/systemd/src/boot/efi/
H A Dgraphics.c24 EFI_STATUS graphics_mode(BOOLEAN on) { argument
78 new = on ? EfiConsoleControlScreenGraphics : EfiConsoleControlScreenText;
H A Dboot.c494 /* draw a single character to make ClearScreen work on some firmware */
537 /* offsets to center the entries on the screen */
999 BOOLEAN on; local
1001 if (EFI_ERROR(parse_boolean(value, &on)))
1003 config->no_editor = !on;
/systemd/src/udev/
H A Dudev-ctrl.c77 const int on = 1; local
99 * FIXME: remove it as soon as we can depend on this:
102 r = setsockopt(uctrl->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
177 const int on = 1; local
205 r = setsockopt(conn->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
H A Dudev-rules.c1034 /* Avoid erroring on trailing whitespace. This is probably rare
1047 log_error("invalid key/value pair in file %s on line %u, starting at character %tu ('%s')",
1522 const int on = 1; local
1524 rule_add_key(&rule_tmp, TK_A_INOTIFY_WATCH, op, NULL, &on);
/systemd/src/libudev/
H A Dlibudev-monitor.c112 /* we consider udev running when /dev is on devtmpfs */
124 log_debug_errno(errno, "name_to_handle_at on /dev: %m");
286 * Returns: 0 on success, otherwise a negative error value.
399 * Returns: 0 on success, otherwise a negative error value.
404 const int on = 1; local
421 err = setsockopt(udev_monitor->sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
436 * Returns: 0 on success, otherwise -1 on error.
572 * The monitor socket is by default set to NONBLOCK. A variant of poll() on
[all...]
/systemd/src/network/
H A Dnetworkctl.c166 static void operational_state_to_color(const char *state, const char **on, const char **off) { argument
167 assert(on);
171 *on = ansi_highlight_green();
174 *on = ansi_highlight_yellow();
177 *on = *off = "";
180 static void setup_state_to_color(const char *state, const char **on, const char **off) { argument
181 assert(on);
185 *on = ansi_highlight_green();
188 *on = ansi_highlight_yellow();
191 *on
[all...]
/systemd/src/cgtop/
H A Dcgtop.c576 const char *on, *off; local
582 on = ansi_highlight_underline();
587 arg_order == ORDER_PATH ? on : "", path_columns, "Control Group",
589 arg_order == ORDER_TASKS ? on : "", arg_count == COUNT_PIDS ? "Tasks" : arg_count == COUNT_USERSPACE_PROCESSES ? "Procs" : "Proc+",
591 arg_order == ORDER_CPU ? on : "", buffer,
593 arg_order == ORDER_MEMORY ? on : "", "Memory",
595 arg_order == ORDER_IO ? on : "", "Input/s",
597 arg_order == ORDER_IO ? on : "", "Output/s",
/systemd/src/shared/
H A Dlogs-show.c463 const char *on = "", *off = ""; local
473 on = ANSI_HIGHLIGHT;
480 fprintf(f, " %s%.*s=", on, fieldlen, (const char*)data);
487 on,
937 * on the first line we print. */
/systemd/src/timesync/
H A Dtimesyncd-manager.c91 * in seconds relative to 0h on 1 January 1900."
696 static const int on = 1; local
717 r = setsockopt(m->server_socket, SOL_SOCKET, SO_TIMESTAMPNS, &on, sizeof(on));
868 /* If we already are operating on some address, switch to the
/systemd/src/systemctl/
H A Dsystemctl.c495 const char *on, *off; local
501 "SUB = The low-level unit activation state, values depend on unit type.");
503 on = ansi_highlight();
506 on = ansi_highlight_red();
513 on, n_shown, off);
517 on, n_shown, off);
814 const char *on, *off; local
863 on = ansi_highlight();
868 on = ansi_highlight_red();
873 printf("%s%u sockets listed.%s\n", on, c
1068 const char *on, *off; local
1329 const char *on, *off; local
1642 const char *on; local
2055 const char *on, *off; local
3413 const char *active_on, *active_off, *on, *off, *ss; local
4576 const char *on, *off; local
[all...]

Completed in 4945 milliseconds