-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
route: move "include/netlink-private/socket.h" to lib/nl-core.h
- Loading branch information
Showing
5 changed files
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,23 +3,15 @@ | |
* Copyright (c) 2014 Thomas Graf <[email protected]> | ||
*/ | ||
|
||
#ifndef NETLINK_SOCKET_PRIV_H_ | ||
#define NETLINK_SOCKET_PRIV_H_ | ||
#ifndef __LIB_NL_CORE_H__ | ||
#define __LIB_NL_CORE_H__ | ||
|
||
#include <netlink-private/netlink.h> | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
int _nl_socket_is_local_port_unspecified (struct nl_sock *sk); | ||
uint32_t _nl_socket_set_local_port_no_release(struct nl_sock *sk, int generate_other); | ||
|
||
void _nl_socket_used_ports_release_all(const uint32_t *used_ports); | ||
void _nl_socket_used_ports_set(uint32_t *used_ports, uint32_t port); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif | ||
#endif /* __LIB_NL_CORE_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters