-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xfrm: erge branch 'th/xfrm-addr-cleanup'
- Loading branch information
Showing
8 changed files
with
155 additions
and
164 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
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include/nl-aux-xfrm | ||
=================== | ||
|
||
This contains private/internal helpers that depend on the public libnl-3 (core) | ||
and libnl-xfrm-3. | ||
|
||
Itself, it must only rely on C, include/base/ and public headers of libnl-3 (core) | ||
and libnl-xfrm-3. | ||
|
||
They can be used by all internal code that uses the public API of both libnl-3 (core) | ||
and libnl-xfrm-3. | ||
|
||
It can also be used by lib/xfrm itself (that is, the implementation of | ||
libnl-xfrm-3). | ||
|
||
It must not be used in public headers, it's internal only. | ||
|
||
Currently this is header-only, it does not require any additional linking. |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* SPDX-License-Identifier: LGPL-2.1-only */ | ||
|
||
#ifndef __NETLINK_NL_AUX_XFRM_NL_XFRM_H__ | ||
#define __NETLINK_NL_AUX_XFRM_NL_XFRM_H__ | ||
|
||
#include "base/nl-base-utils.h" | ||
|
||
struct xfrmnl_sp; | ||
void xfrmnl_sp_put(struct xfrmnl_sp *sp); | ||
#define _nl_auto_xfrmnl_sp _nl_auto(_nl_auto_xfrmnl_sp_fcn) | ||
_NL_AUTO_DEFINE_FCN_TYPED0(struct xfrmnl_sp *, _nl_auto_xfrmnl_sp_fcn, | ||
xfrmnl_sp_put); | ||
|
||
struct xfrmnl_sa; | ||
void xfrmnl_sa_put(struct xfrmnl_sa *sa); | ||
#define _nl_auto_xfrmnl_sa _nl_auto(_nl_auto_xfrmnl_sa_fcn) | ||
_NL_AUTO_DEFINE_FCN_TYPED0(struct xfrmnl_sa *, _nl_auto_xfrmnl_sa_fcn, | ||
xfrmnl_sa_put); | ||
|
||
struct xfrmnl_ae; | ||
void xfrmnl_ae_put(struct xfrmnl_ae *ae); | ||
#define _nl_auto_xfrmnl_ae _nl_auto(_nl_auto_xfrmnl_ae_fcn) | ||
_NL_AUTO_DEFINE_FCN_TYPED0(struct xfrmnl_ae *, _nl_auto_xfrmnl_ae_fcn, | ||
xfrmnl_ae_put); | ||
|
||
#endif /* __NETLINK_NL_AUX_XFRM_NL_XFRM_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
Oops, something went wrong.