Lines Matching refs:e1
78 nsc_entry_t *e1, *e2; in ipaddr_compar() local
81 e1 = (nsc_entry_t *)n1; in ipaddr_compar()
84 if (e1->key.hostaddr.type > e2->key.hostaddr.type) in ipaddr_compar()
86 else if (e1->key.hostaddr.type < e2->key.hostaddr.type) in ipaddr_compar()
89 l1 = e1->key.hostaddr.len; in ipaddr_compar()
91 res = memcmp(e1->key.hostaddr.addr, e2->key.hostaddr.addr, in ipaddr_compar()
118 nsc_entry_t *e1, *e2; in ipname_compar() local
121 e1 = (nsc_entry_t *)n1; in ipname_compar()
124 if (e1->key.ipnode.af_family > e2->key.ipnode.af_family) in ipname_compar()
126 else if (e1->key.ipnode.af_family < e2->key.ipnode.af_family) in ipname_compar()
129 l1 = strlen(e1->key.ipnode.name); in ipname_compar()
131 res = strncasecmp(e1->key.ipnode.name, e2->key.ipnode.name, in ipname_compar()