Lines Matching refs:ipatoe

90 	struct qeth_ipato_entry *ipatoe;  in qeth_l3_is_addr_covered_by_ipato()  local
102 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato()
103 if (addr->proto != ipatoe->proto) in qeth_l3_is_addr_covered_by_ipato()
105 qeth_l3_convert_addr_to_bits(ipatoe->addr, ipatoe_bits, in qeth_l3_is_addr_covered_by_ipato()
106 (ipatoe->proto == QETH_PROT_IPV4) ? in qeth_l3_is_addr_covered_by_ipato()
108 rc = !memcmp(addr_bits, ipatoe_bits, ipatoe->mask_bits); in qeth_l3_is_addr_covered_by_ipato()
518 struct qeth_ipato_entry *ipatoe, *tmp; in qeth_l3_clear_ipato_list() local
522 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_clear_ipato_list()
523 list_del(&ipatoe->entry); in qeth_l3_clear_ipato_list()
524 kfree(ipatoe); in qeth_l3_clear_ipato_list()
534 struct qeth_ipato_entry *ipatoe; in qeth_l3_add_ipato_entry() local
541 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_add_ipato_entry()
542 if (ipatoe->proto != new->proto) in qeth_l3_add_ipato_entry()
544 if (!memcmp(ipatoe->addr, new->addr, in qeth_l3_add_ipato_entry()
545 (ipatoe->proto == QETH_PROT_IPV4) ? 4 : 16) && in qeth_l3_add_ipato_entry()
546 (ipatoe->mask_bits == new->mask_bits)) { in qeth_l3_add_ipato_entry()
566 struct qeth_ipato_entry *ipatoe, *tmp; in qeth_l3_del_ipato_entry() local
573 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_del_ipato_entry()
574 if (ipatoe->proto != proto) in qeth_l3_del_ipato_entry()
576 if (!memcmp(ipatoe->addr, addr, in qeth_l3_del_ipato_entry()
578 (ipatoe->mask_bits == mask_bits)) { in qeth_l3_del_ipato_entry()
579 list_del(&ipatoe->entry); in qeth_l3_del_ipato_entry()
581 kfree(ipatoe); in qeth_l3_del_ipato_entry()