• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3  * Copyright (c) 2014 Thomas Graf <tgraf@suug.ch>
4  */
5 
6 #ifndef NETLINK_SOCKET_PRIV_H_
7 #define NETLINK_SOCKET_PRIV_H_
8 
9 #include <netlink-private/netlink.h>
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 int _nl_socket_is_local_port_unspecified (struct nl_sock *sk);
16 uint32_t _nl_socket_set_local_port_no_release(struct nl_sock *sk, int generate_other);
17 
18 void _nl_socket_used_ports_release_all(const uint32_t *used_ports);
19 void _nl_socket_used_ports_set(uint32_t *used_ports, uint32_t port);
20 
21 #ifdef __cplusplus
22 }
23 #endif
24 
25 #endif
26