---
name: "nozzle_reset_mac"
section: "3"
platform: "linux"
package: "libknet-doc"
version: "1.31-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nozzle_reset_mac"
---

# nozzle\_reset\_mac(3)

reset mac address on a given nozzle interface to system default

## NAME

nozzle\_reset\_mac - reset mac address on a given nozzle interface to system default

## SYNOPSIS

```
#include <libnozzle.h>

int nozzle_reset_mac(
    nozzle_t  nozzle
);
```

## DESCRIPTION

nozzle\_reset\_mac

nozzle - pointer to the nozzle struct

## RETURN VALUE

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

## SEE ALSO

[*nozzle\_close*(3)](/nozzle_close/3.md), [*nozzle\_set\_mtu*(3)](/nozzle_set_mtu/3.md), [*nozzle\_get\_fd*(3)](/nozzle_get_fd/3.md), [*nozzle\_get\_mtu*(3)](/nozzle_get_mtu/3.md), [*nozzle\_reset\_mtu*(3)](/nozzle_reset_mtu/3.md), [*nozzle\_set\_up*(3)](/nozzle_set_up/3.md), [*nozzle\_get\_ips*(3)](/nozzle_get_ips/3.md), [*nozzle\_set\_down*(3)](/nozzle_set_down/3.md), [*nozzle\_get\_handle\_by\_name*(3)](/nozzle_get_handle_by_name/3.md), [*nozzle\_run\_updown*(3)](/nozzle_run_updown/3.md), [*nozzle\_open*(3)](/nozzle_open/3.md), [*nozzle\_del\_ip*(3)](/nozzle_del_ip/3.md), [*nozzle\_get\_mac*(3)](/nozzle_get_mac/3.md), [*nozzle\_set\_mac*(3)](/nozzle_set_mac/3.md), [*nozzle\_get\_name\_by\_handle*(3)](/nozzle_get_name_by_handle/3.md), [*nozzle\_add\_ip*(3)](/nozzle_add_ip/3.md)

## COPYRIGHT

Copyright (C) 2010-2025 Red Hat, Inc. All rights reserved.
