NOZZLE_RUN_UPDOWN(3)
β¨ NOZZLE_RUN_UPDOWN β¨
okay bestie so this is nozzle_run_updown(3) from the Kronosnet Programmer's Manual and it's literally the glow-up your nozzle device deserves π
π NAME π
nozzle_run_updown β run the updown commands that are associated with a nozzle device π
πΈ SYNOPSIS πΈ
#include <libnozzle.h>
int nozzle_run_updown(
const nozzle_t nozzle,
uint8_t action,
char **exec_string
);
π¦ DESCRIPTION π¦
so nozzle_run_updown is the moment okay, here's the whole vibe:
nozzleβ pointer to thenozzlestruct π«Άactionβpre-up.d/up.d/down.d/post-down.d(peep the defines above, they're right there π)exec_stringβ pointers to string to record executing action stdout/stderr. The string ismalloc'ed, so the caller needs tofreethe buffer. If the script generates no output this string might beNULL. π
and like, it is the application responsibility to call helper scripts before or after creating/destroying interfaces or IP addresses. that's on you, not on the library, no cap π
β RETURN VALUE β
0on success π-1on error anderrnois set (sanity checks and internal calls. β yes, that sentence is doing its own thing, we're keeping it fr fr)-2on error from executing the shell scripts, and noerrnois set. the shell scripts said no π
π₯ SEE ALSO π₯
your reading list, bestie, go off π
nozzle_close(3)nozzle_set_mtu(3)nozzle_get_fd(3)nozzle_get_mtu(3)nozzle_reset_mtu(3)nozzle_set_up(3)nozzle_get_ips(3)nozzle_set_down(3)nozzle_reset_mac(3)nozzle_get_handle_by_name(3)nozzle_open(3)nozzle_del_ip(3)nozzle_get_mac(3)nozzle_set_mac(3)nozzle_get_name_by_handle(3)nozzle_add_ip(3)
π COPYRIGHT π
Copyright (C) 2010-2026 Red Hat, Inc. All rights reserved. π«‘
and that's the whole page babes β this is from kronosnet, dated 2026-07-20, and the manual is NOZZLE_RUN_UPDOWN(3) π stay hydrated, free your malloc'ed strings, mwah πβ¨
π¦ where this page comes from
- fedora 43: libnozzle1-devel 1.35-1.fc43 Β· LGPL-2.1-or-later
- fedora 43: libnozzle1-devel 1.35-1.fc43 Β· LGPL-2.1-or-later
- fedora 44: libnozzle1-devel 1.35-1.fc44 Β· LGPL-2.1-or-later
- fedora 44: libnozzle1-devel 1.35-1.fc44 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms