Lines Matching refs:e2
80 nsc_entry_t *e1, *e2; in ipaddr_compar() local
84 e2 = (nsc_entry_t *)n2; in ipaddr_compar()
86 if (e1->key.hostaddr.type > e2->key.hostaddr.type) in ipaddr_compar()
88 else if (e1->key.hostaddr.type < e2->key.hostaddr.type) in ipaddr_compar()
92 l2 = e2->key.hostaddr.len; in ipaddr_compar()
93 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr, in ipaddr_compar()
120 nsc_entry_t *e1, *e2; in ipname_compar() local
124 e2 = (nsc_entry_t *)n2; in ipname_compar()
126 if (e1->key.ipnode.af_family > e2->key.ipnode.af_family) in ipname_compar()
128 else if (e1->key.ipnode.af_family < e2->key.ipnode.af_family) in ipname_compar()
132 l2 = strlen(e2->key.ipnode.name); in ipname_compar()
133 res = strncasecmp(e1->key.ipnode.name, e2->key.ipnode.name, in ipname_compar()