Searched refs:auth_type (Results 1 - 10 of 10) sorted by relevance

/vpp/src/vnet/bfd/
H A Dbfd_protocol.c138 bfd_max_key_len_for_auth_type (bfd_auth_type_e auth_type) argument
141 if (auth_type == t) \
151 bfd_auth_type_str (bfd_auth_type_e auth_type) argument
154 if (auth_type == t) \
H A Dbfd_main.c84 key->auth_type, bfd_auth_type_str (key->auth_type),
797 auth->type_len.type = bs->auth.curr_key->auth_type;
825 const bfd_auth_type_e auth_type = bs->auth.curr_key->auth_type; local
826 switch (auth_type)
837 auth_type);
851 auth_type);
1518 bfd_auth_type_is_meticulous (bfd_auth_type_e auth_type) argument
1520 if (BFD_AUTH_TYPE_meticulous_keyed_md5 == auth_type ||
1831 bfd_auth_type_e auth_type = local
2029 bfd_auth_type_supported(bfd_auth_type_e auth_type) argument
2193 bfd_auth_set_key(u32 conf_key_id, u8 auth_type, u8 key_len, const u8 * key_data) argument
[all...]
H A Dbfd_api.h74 vnet_api_error_t bfd_auth_set_key (u32 conf_key_id, u8 auth_type, u8 key_len,
H A Dbfd_protocol.h46 u32 bfd_max_key_len_for_auth_type (bfd_auth_type_e auth_type);
47 const char *bfd_auth_type_str (bfd_auth_type_e auth_type);
H A Dbfd_api.c241 mp->auth_type, mp->key_len, mp->key);
274 rmp->auth_type = key->auth_type;
H A Dbfd_main.h55 bfd_auth_type_e auth_type; member in struct:__anon6
429 unsigned bfd_auth_type_supported (bfd_auth_type_e auth_type);
H A Dbfd_cli.c140 bfd_auth_type_str (key->auth_type), key->use_count);
231 bfd_auth_type_e auth_type = BFD_AUTH_TYPE_reserved; local
254 auth_type = BFD_AUTH_TYPE_keyed_sha1;
261 auth_type = BFD_AUTH_TYPE_meticulous_keyed_sha1;
300 bfd_auth_set_key (key_id, auth_type, vec_len (secret), secret);
/vpp/test/
H A Dbfd.py81 return bfd_is_auth_used(pkt) and pkt.auth_type == BFDAuthType.simple_pwd
86 return bfd_is_auth_used(pkt) and pkt.auth_type in \
92 return bfd_is_auth_used(pkt) and pkt.auth_type in \
126 BitEnumField("auth_type", 0, 8, BFDAuthType.desc_dict),
173 def __init__(self, test, conf_key_id, auth_type, key):
176 self._auth_type = auth_type
177 test.assertIn(auth_type, BFDAuthType.desc_dict)
186 def auth_type(self): member in class:VppBFDAuthKey
206 conf_key_id=self._conf_key_id, auth_type=self._auth_type,
H A Dtest_bfd.py44 def create_random_key(self, test, auth_type=BFDAuthType.keyed_sha1):
52 return VppBFDAuthKey(test=test, auth_type=auth_type,
344 self.auth_type = BFDAuthType.no_auth
357 diag=None, state=None, auth_type=None):
375 if auth_type is not None:
376 self.auth_type = auth_type
414 if self.auth_type:
416 self.test.logger.debug("BFD: setting packet.auth_type
[all...]
/vpp/src/plugins/ikev2/test/
H A Dtest_ikev2.py489 auth_type=AuthMethod.value(self.sa.auth_method),

Completed in 11 milliseconds