Lines Matching refs:ipatoe
369 struct qeth_ipato_entry *ipatoe;
374 list_for_each_entry(ipatoe, &card->ipato.entries, entry) {
375 if (ipatoe->proto != proto)
378 qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str);
380 addr_str, ipatoe->mask_bits);
425 struct qeth_ipato_entry *ipatoe;
434 ipatoe = kzalloc(sizeof(struct qeth_ipato_entry), GFP_KERNEL);
435 if (!ipatoe)
438 ipatoe->proto = proto;
439 memcpy(ipatoe->addr, addr, (proto == QETH_PROT_IPV4) ? 4 : 16);
440 ipatoe->mask_bits = mask_bits;
442 rc = qeth_l3_add_ipato_entry(card, ipatoe);
444 kfree(ipatoe);