Searched refs:netif (Results 1 - 6 of 6) sorted by relevance

/systemd/src/machine/
H A Dmachine.c115 free(m->netif);
209 fprintf(f, "%i", m->netif[i]);
261 _cleanup_free_ char *realtime = NULL, *monotonic = NULL, *id = NULL, *leader = NULL, *class = NULL, *netif = NULL; local
279 "NETIF", &netif,
314 if (netif) {
319 p = netif;
330 log_warning_errno(r, "Failed to parse NETIF: %s", netif);
345 free(m->netif);
346 m->netif = ni;
H A Dmachine.h88 int *netif; member in struct:Machine
H A Dmachined-dbus.c272 const int32_t *netif = NULL; local
308 r = sd_bus_message_read_array(message, 'i', (const void**) &netif, &n_netif);
315 if (netif[i] <= 0)
316 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid network interface index %i", netif[i]);
377 m->netif = memdup(netif, sizeof(int32_t) * n_netif);
378 if (!m->netif) {
H A Dmachinectl.c503 int *netif; member in struct:MachineStatusInfo
514 free(info->netif);
575 if (if_indextoname(i->netif[c], name)) {
580 ifi = i->netif[c];
584 printf(" %i", i->netif[c]);
631 i->netif = memdup(v, l);
632 if (!i->netif)
H A Dmachine-dbus.c113 return sd_bus_message_append_array(reply, 'i', m->netif, m->n_netif * sizeof(int));
/systemd/src/libsystemd/sd-login/
H A Dsd-login.c907 _cleanup_free_ char *netif = NULL; local
917 r = parse_env_file(p, NEWLINE, "NETIF", &netif, NULL);
922 if (!netif) {
927 FOREACH_WORD(word, l, netif, state) {

Completed in 71 milliseconds