33 #define _(v,f,str) case IPSEC_POLICY_ACTION_##f: t = str; break; 46 u32 *r = va_arg (*args,
u32 *);
49 #define _(v,f,s) else if (unformat (input, s)) *r = IPSEC_POLICY_ACTION_##f; 65 #define _(v,f,str) case IPSEC_CRYPTO_ALG_##f: t = (u8 *) str; break; 78 u32 *r = va_arg (*args,
u32 *);
81 #define _(v,f,s) else if (unformat (input, s)) *r = IPSEC_CRYPTO_ALG_##f; 97 #define _(v,f,str) case IPSEC_INTEG_ALG_##f: t = (u8 *) str; break; 101 s =
format (s,
"unknown");
110 u32 *r = va_arg (*args,
u32 *);
113 #define _(v,f,s) else if (unformat (input, s)) *r = IPSEC_INTEG_ALG_##f; 124 u64 w = va_arg (*args,
u64);
127 for (i = 0; i < 64; i++)
129 s =
format (s,
"%u", w & (1ULL << i) ? 1 : 0);
sll srl srl sll sra u16x4 i
#define foreach_ipsec_integ_alg
#define foreach_ipsec_crypto_alg
#define foreach_ipsec_policy_action