nozzle_get_mac(3)

nozzle_get_mac3

Retrieve mac address on a given nozzle interface

Usage

#include <libnozzle.h>

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

Overview

nozzle_get_mac

nozzle - pointer to the nozzle struct

ether_addr - pointers to string containing the current mac address. The string is malloc'ed, the caller needs to free this buffer.

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.