Home
last modified time | relevance | path

Searched refs:na2 (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/cmd/fm/modules/common/eversholt/
H A Devnv.c69 uint_t m, na1, na2; in evnv_cmpnvl() local
109 (void) nvpair_value_nvlist_array(p2, &la2, &na2); in evnv_cmpnvl()
110 m = min(na1, na2); in evnv_cmpnvl()
118 if (na1 < na2) in evnv_cmpnvl()
120 else if (na2 < na1) in evnv_cmpnvl()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Doutput.c324 struct netauth *na, *na2; in end_md5_auth() local
329 na2 = (struct netauth *)wb->n; in end_md5_auth()
330 len = (char *)na2-(char *)wb->buf; in end_md5_auth()
331 na2->a_family = RIP_AF_AUTH; in end_md5_auth()
332 na2->a_type = RIP_AUTH_TRAILER; in end_md5_auth()
338 MD5Final(na2->au.au_pw, &md5_ctx); in end_md5_auth()
H A Dinput.c1378 struct netauth *na2; in ck_passwd() local
1468 na2 = (struct netauth *)(rip->rip_nets + in ck_passwd()
1485 if (na2->a_family != RIP_AF_AUTH) in ck_passwd()
1489 na2->a_family, RIP_AF_AUTH, in ck_passwd()
1491 if (na2->a_type != RIP_AUTH_TRAILER) in ck_passwd()
1495 ntohs(na2->a_type), in ck_passwd()
1508 if (0 == memcmp(hash, na2->au.au_pw, sizeof (hash))) in ck_passwd()
/titanic_50/usr/src/uts/common/klm/
H A Dnlm_impl.c1553 } *na1, *na2; in nlm_netbuf_addrs_cmp() local
1559 na2 = (union nlm_addr *)nb2->buf; in nlm_netbuf_addrs_cmp()
1561 if (na1->sa.sa_family < na2->sa.sa_family) in nlm_netbuf_addrs_cmp()
1563 if (na1->sa.sa_family > na2->sa.sa_family) in nlm_netbuf_addrs_cmp()
1568 res = memcmp(&na1->sin.sin_addr, &na2->sin.sin_addr, in nlm_netbuf_addrs_cmp()
1572 res = memcmp(&na1->sin6.sin6_addr, &na2->sin6.sin6_addr, in nlm_netbuf_addrs_cmp()