Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
NOZZLE_SET_MAC(3)	  Kronosnet Programmer's Manual        NOZZLE_SET_MAC(3)

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 struct

     ether_addr - pointers to string containing the new mac address.

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

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-2023 Red Hat, Inc. All rights reserved.

kronosnet			   2023-07-10		       NOZZLE_SET_MAC(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=nozzle_set_mac&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help