Searched refs:auth_key (Results 1 – 8 of 8) sorted by relevance
/openbsd/usr.sbin/ospfd/ |
H A D | auth.c | 51 if (memcmp(ospf_hdr->auth_key.simple, iface->auth_key, in auth_validate() 52 sizeof(ospf_hdr->auth_key.simple))) { in auth_validate() 60 bzero(ospf_hdr->auth_key.simple, in auth_validate() 61 sizeof(ospf_hdr->auth_key.simple)); in auth_validate() 77 ospf_hdr->auth_key.crypt.keyid)) == NULL) { in auth_validate() 79 "interface %s", ospf_hdr->auth_key.crypt.keyid, in auth_validate() 128 ntohl(ospf_hdr->auth_key.crypt.seq_num); in auth_validate() 168 if (ibuf_set(buf, offsetof(struct ospf_hdr, auth_key), in auth_gen() 169 iface->auth_key, strnlen(iface->auth_key, in auth_gen() 170 sizeof(iface->auth_key))) == -1) in auth_gen() [all …]
|
H A D | parse.y | 95 char auth_key[MAX_SIMPLE_AUTH_LEN]; member 504 strncpy(defs->auth_key, $2, 505 sizeof(defs->auth_key)); 734 memcpy(iface->auth_key, defs->auth_key, 735 sizeof(iface->auth_key));
|
H A D | ospf.h | 144 } auth_key; member
|
H A D | ospfd.c | 890 strncpy(i->auth_key, xi->auth_key, MAX_SIMPLE_AUTH_LEN); in merge_interfaces()
|
H A D | ospfd.h | 333 char auth_key[MAX_SIMPLE_AUTH_LEN]; member
|
/openbsd/usr.sbin/ripd/ |
H A D | parse.y | 80 u_int8_t auth_key[MAX_SIMPLE_AUTH_LEN]; member 310 bzero(defs->auth_key, MAX_SIMPLE_AUTH_LEN); 311 memcpy(defs->auth_key, $2, strlen($2)); 357 memcpy(iface->auth_key, defs->auth_key, 358 sizeof(iface->auth_key));
|
H A D | auth.c | 109 if (bcmp(pwd, iface->auth_key, MAX_SIMPLE_AUTH_LEN)) { in auth_validate() 209 ibuf_add(buf, &iface->auth_key, MAX_SIMPLE_AUTH_LEN); in auth_gen()
|
H A D | ripd.h | 167 u_int8_t auth_key[MAX_SIMPLE_AUTH_LEN]; member
|