1NOZZLE_DEL_IP(3) Kronosnet Programmer's Manual NOZZLE_DEL_IP(3)
2
3
4
6 nozzle_del_ip - equivalent of ip addr del or ifconfig del <ipad‐
7 dress/prefix>
8
9
11 #include <libnozzle.h>
12
13 int nozzle_del_ip(
14 nozzle_t nozzle,
15 const char *ipaddr,
16 const char *prefix
17 );
18
20 nozzle_del_ip
21
22 nozzle - pointer to the nozzle struct
23
24 ipaddr - string containing either an IPv4 or an IPv6 address.
25
26 prefix - 24, 64 or any valid network prefix for the requested address.
27
29 0 on success -1 on error and errno is set.
30
32 nozzle_close(3), nozzle_set_mtu(3), nozzle_get_fd(3),
33 nozzle_get_mtu(3), nozzle_reset_mtu(3), nozzle_set_up(3),
34 nozzle_get_ips(3), nozzle_set_down(3), nozzle_reset_mac(3),
35 nozzle_get_handle_by_name(3), nozzle_run_updown(3), nozzle_open(3),
36 nozzle_get_mac(3), nozzle_set_mac(3), nozzle_get_name_by_handle(3),
37 nozzle_add_ip(3)
38
40 Copyright (C) 2010-2021 Red Hat, Inc. All rights reserved.
41
42
43
44kronosnet 2021-11-15 NOZZLE_DEL_IP(3)