Lines Matching defs:nap
50 const struct netauth *nap;
95 nap = (struct netauth *)nip;
97 if (nap->a_type == RIP_AUTH_MD5 &&
98 len >= ntohs(nap->au.a_md5.md5_auth_len))
99 len -= ntohs(nap->au.a_md5.
168 nap = (const struct netauth *)nip;
169 if (nap->a_type == RIP_AUTH_NONE) {
175 } else if (nap->a_type == RIP_AUTH_PW) {
182 nap->au.au_pw);
183 } else if (nap->a_type ==
190 ntohs(nap->au.a_md5.
192 nap->au.a_md5.md5_keyid,
193 (long)ntohl(nap->au.a_md5.
195 ntohs(nap->au.a_md5.
198 ntohs(nap->au.a_md5.
200 len -= ntohs(nap->au.
210 ntohs(nap->a_type));