Lines Matching defs:ipatoe
570 struct qeth_ipato_entry *ipatoe;
580 list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
581 if (ipatoe->proto != proto)
588 qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str);
590 "%s/%i\n", addr_str, ipatoe->mask_bits);
639 struct qeth_ipato_entry *ipatoe;
649 ipatoe = kzalloc(sizeof(struct qeth_ipato_entry), GFP_KERNEL);
650 if (!ipatoe) {
654 ipatoe->proto = proto;
655 memcpy(ipatoe->addr, addr, (proto == QETH_PROT_IPV4)? 4:16);
656 ipatoe->mask_bits = mask_bits;
658 rc = qeth_l3_add_ipato_entry(card, ipatoe);
660 kfree(ipatoe);