NOZZLE_SET_MAC(3)
π NOZZLE_SET_MAC(3) π
okay so bestie, welcome to the Kronosnet Programmer's Manual β this is nozzle_set_mac, and it's literally the glow-up button for a nozzle interface's mac address. let's get into it π¦
β¨ NAME β¨
nozzle_set_mac β set mac address on a given nozzle interface
πΈ SYNOPSIS πΈ
#include <libnozzle.h>
int nozzle_set_mac(
nozzle_t nozzle,
const char *ether_addr
);
π DESCRIPTION π
nozzle_set_mac
nozzleβ pointer to the nozzle structether_addrβ pointers to string containing the new mac address.
like, you hand it your nozzle and a lil string with the new mac address and it does the thing. main character energy fr fr π
π RETURN VALUE π
0 on success. -1 on error and errno is set.
no cap, if you see that-1, go checkerrnoimmediately. she's trying to tell you something π
π SEE ALSO π
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_run_updown(3)nozzle_open(3)nozzle_del_ip(3)nozzle_get_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 bestie π this one shipped out with kronosnet on 2026-07-20 β go forth and set those macs, you absolute icon π«Άβ¨
π¦ 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