aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/vagrant
AgeCommit message (Expand)AuthorFilesLines
2019-12-16Vagrant: Introduce CentOS8Peter Mikus5-101/+137
2019-12-03Python3: Vagrant updatePeter Mikus3-57/+62
2019-08-05FIX: Freeze Vagrant versionPeter Mikus1-0/+1
2019-04-09Add vagrant setup for testing VPP device locallyLudovit Mikula10-161/+275
2018-03-21HC Tests: adapt sub-interface tests to recent api changes (HC2VPP-289)Marek Gradzki1-0/+29
2016-07-01CSIT-186: Add multilink to Vagrant fileMatej Klotton1-22/+31
2016-06-09Fix Vagrant config for multi-user environmentAurélien Degeorges1-4/+9
2016-06-02CSIT-117: CSIT Vagrant+Virtualbox dev environment inoperative on UbuntuDave Wallace2-27/+19
2016-06-02CSIT-117: CSIT Vagrant+Virtualbox dev environment inoperative on UbuntuDave Wallace2-11/+24
2016-04-08Add Vagrantfile for local testing.Stefan Kobza2-0/+123
;ip6-inbound-bypass") \ _(IP4_INBOUND_DISCARD, "ip4-inbound-discard") \ _(IP6_INBOUND_DISCARD, "ip6-inbound-discard") typedef enum ipsec_spd_policy_t_ { #define _(s,v) IPSEC_SPD_POLICY_##s, foreach_ipsec_spd_policy_type #undef _ IPSEC_SPD_POLICY_N_TYPES, } ipsec_spd_policy_type_t; #define FOR_EACH_IPSEC_SPD_POLICY_TYPE(_t) \ for (_t = 0; _t < IPSEC_SPD_POLICY_N_TYPES; _t++) extern u8 *format_ipsec_policy_type (u8 * s, va_list * args); typedef struct { /* index in the mask types pool */ u32 mask_type_idx; /* counts references correspond to given mask type index */ u32 refcount; } ipsec_fp_mask_id_t; /** * @brief A fast path Security Policy Database */ typedef struct { /** vectors for each of the fast path policy types */ u32 *fp_policies[IPSEC_SPD_POLICY_N_TYPES]; ipsec_fp_mask_id_t *fp_mask_ids[IPSEC_SPD_POLICY_N_TYPES]; /* names of bihash tables */ u8 *name4_out; u8 *name4_in; u8 *name6_out; u8 *name6_in; u32 ip6_out_lookup_hash_idx; /* fp ip6 lookup hash out index in the pool */ u32 ip4_out_lookup_hash_idx; /* fp ip4 lookup hash out index in the pool */ u32 ip6_in_lookup_hash_idx; /* fp ip6 lookup hash in index in the pool */ u32 ip4_in_lookup_hash_idx; /* fp ip4 lookup hash in index in the pool */ } ipsec_spd_fp_t; /** * @brief A Security Policy Database */ typedef struct { /** the User's ID for this policy */ u32 id; /** vectors for each of the policy types */ u32 *policies[IPSEC_SPD_POLICY_N_TYPES]; ipsec_spd_fp_t fp_spd; } ipsec_spd_t; /** * @brief Add/Delete a SPD */ extern int ipsec_add_del_spd (vlib_main_t * vm, u32 spd_id, int is_add); /** * @brief Bind/attach a SPD to an interface */ extern int ipsec_set_interface_spd (vlib_main_t * vm, u32 sw_if_index, u32 spd_id, int is_add); extern u8 *format_ipsec_spd (u8 * s, va_list * args); extern u8 *format_ipsec_out_spd_flow_cache (u8 *s, va_list *args); extern u8 *format_ipsec_in_spd_flow_cache (u8 *s, va_list *args); #endif /* __IPSEC_SPD_H__ */ /* * fd.io coding-style-patch-verification: ON * * Local Variables: * eval: (c-set-style "gnu") * End: */