Lines Matching defs:ipatoe
201 struct qeth_ipato_entry *ipatoe;
211 list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
212 if (addr->proto != ipatoe->proto)
214 qeth_l3_convert_addr_to_bits(ipatoe->addr, ipatoe_bits,
215 (ipatoe->proto == QETH_PROT_IPV4) ?
219 min(32, ipatoe->mask_bits));
222 min(128, ipatoe->mask_bits));
738 struct qeth_ipato_entry *ipatoe, *tmp;
742 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) {
743 list_del(&ipatoe->entry);
744 kfree(ipatoe);
752 struct qeth_ipato_entry *ipatoe;
758 list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
759 if (ipatoe->proto != new->proto)
761 if (!memcmp(ipatoe->addr, new->addr,
762 (ipatoe->proto == QETH_PROT_IPV4)? 4:16) &&
763 (ipatoe->mask_bits == new->mask_bits)) {
778 struct qeth_ipato_entry *ipatoe, *tmp;
783 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) {
784 if (ipatoe->proto != proto)
786 if (!memcmp(ipatoe->addr, addr,
788 (ipatoe->mask_bits == mask_bits)) {
789 list_del(&ipatoe->entry);
790 kfree(ipatoe);