Last active
July 18, 2017 18:07
-
-
Save dvdhrm/3e71f16be5c58d702233a837349669fd to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* root type and misc */ | |
#define POLICY_T "(" POLICY_T_CONNECT POLICY_T_OWN POLICY_T_XMIT POLICY_T_XMIT ")" | |
#define POLICY_T_VERDICT "(bt)" | |
/* connect policies */ | |
#define POLICY_T_CONNECT "(" POLICY_T_CONNECT_ENTRY POLICY_T_CONNECT_MAP POLICY_T_CONNECT_MAP ")" | |
#define POLICY_T_CONNECT_MAP "a(u" POLICY_T_CONNECT_ENTRY ")" | |
#define POLICY_T_CONNECT_ENTRY POLICY_T_VERDICT | |
/* own policies */ | |
#define POLICY_T_OWN "(" POLICY_T_OWN_SET POLICY_T_OWN_MAP POLICY_T_OWN_MAP ")" | |
#define POLICY_T_OWN_MAP "a(u" POLICY_T_OWN_SET ")" | |
#define POLICY_T_OWN_SET "a" POLICY_T_OWN_ENTRY | |
#define POLICY_T_OWN_ENTRY "(s" POLICY_T_VERDICT ")" | |
/* xmit policies */ | |
#define POLICY_T_XMIT "(" POLICY_T_XMIT_SET POLICY_T_XMIT_MAP POLICY_T_XMIT_MAP ")" | |
#define POLICY_T_XMIT_MAP "a(u" POLICY_T_XMIT_SET ")" | |
#define POLICY_T_XMIT_SET "a" POLICY_T_XMIT_ENTRY | |
#define POLICY_T_XMIT_ENTRY "(bssss" POLICY_T_VERDICT ")" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment