Lines Matching refs:na
245 struct netauth *na;
256 na = (struct netauth*)wb->n;
258 na->a_family = RIP_AF_AUTH;
259 na->a_type = RIP_AUTH_PW;
260 memcpy(na->au.au_pw, ap->key, sizeof(na->au.au_pw));
264 na->a_family = RIP_AF_AUTH;
265 na->a_type = RIP_AUTH_MD5;
266 na->au.a_md5.md5_keyid = ap->keyid;
267 na->au.a_md5.md5_auth_len = RIP_AUTH_MD5_KEY_LEN;
268 na->au.a_md5.md5_seqno = htonl(clk.tv_sec);
279 struct netauth *na, *na2;
284 na = (struct netauth*)wb->base;
289 na->au.a_md5.md5_pkt_len = htons(len);