* Restconf evhtp using network namespaces implemented
This commit is contained in:
parent
3fe218da2e
commit
a5f32fbedf
8 changed files with 479 additions and 98 deletions
14
lib/clixon/clixon_netns.h
Normal file
14
lib/clixon/clixon_netns.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Network namespace code
|
||||
* @thanks Anders Franzén, especially get_sock() and send_sock() functions
|
||||
*/
|
||||
|
||||
#ifndef _CLIXON_NETNS_H_
|
||||
#define _CLIXON_NETNS_H_
|
||||
|
||||
/*
|
||||
* Prototypes
|
||||
*/
|
||||
int clixon_netns_socket(const char *netns, struct sockaddr *sa, size_t sin_len, int backlog, int *sock);
|
||||
|
||||
#endif /* _CLIXON_NETNS_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue