nozzle_set_mac(3)

nozzle_set_mac3

Set mac address on a given nozzle interface

Usage

#include <libnozzle.h>

int nozzle_set_mac(
    nozzle_t      nozzle,
    const char   *ether_addr
);

Overview

nozzle_set_mac

nozzle - pointer to the nozzle struct

ether_addr - pointers to string containing the new mac address.

Return value

0 on success. -1 on error and errno is set.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From libknet-doc 1.31-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.