- if(strcmp(name, p->name) == 0)
- break;
-cp
- return p;
-}
-
-conn_list_t *lookup_conn_list_mac(mac_t address)
-{
- conn_list_t *p;
-cp
- for(p = conn_list; p != NULL; p = p->next)
- if(lookup_subnet_mac(p->subnets, address))
- break;
-cp
- return p;
-}
-
-conn_list_t *lookup_conn_list_ipv4(ipv4_t address)
-{
- conn_list_t *p;
-cp
- for(p = conn_list; p != NULL; p = p->next)
- if(lookup_subnet_ipv4(p->subnets, address))
- break;
-cp
- return p;
-}
-
-conn_list_t *lookup_conn_list_ipv6(ipv6_t address)
-{
- conn_list_t *p;
-cp
- for(p = conn_list; p != NULL; p = p->next)
- if(lookup_subnet_ipv6(p->subnets, address))
- break;