Lines Matching refs:ipatoe
369 struct qeth_ipato_entry *ipatoe;
373 list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
377 if (ipatoe->proto != proto)
380 entry_len = qeth_l3_ipaddr_to_string(proto, ipatoe->addr,
392 "%s/%i\n", addr_str, ipatoe->mask_bits);
439 struct qeth_ipato_entry *ipatoe;
448 ipatoe = kzalloc(sizeof(struct qeth_ipato_entry), GFP_KERNEL);
449 if (!ipatoe)
452 ipatoe->proto = proto;
453 memcpy(ipatoe->addr, addr, (proto == QETH_PROT_IPV4) ? 4 : 16);
454 ipatoe->mask_bits = mask_bits;
456 rc = qeth_l3_add_ipato_entry(card, ipatoe);
458 kfree(ipatoe);