Home
last modified time | relevance | path

Searched refs:ipato (Results 1 – 5 of 5) sorted by relevance

/linux-4.19.296/drivers/s390/net/
Dqeth_l3_sys.c345 return sprintf(buf, "%i\n", card->ipato.enabled? 1:0); in qeth_l3_dev_ipato_enable_show()
366 enable = !card->ipato.enabled; in qeth_l3_dev_ipato_enable_store()
372 if (card->ipato.enabled != enable) { in qeth_l3_dev_ipato_enable_store()
373 card->ipato.enabled = enable; in qeth_l3_dev_ipato_enable_store()
395 return sprintf(buf, "%i\n", card->ipato.invert4? 1:0); in qeth_l3_dev_ipato_invert4_show()
411 invert = !card->ipato.invert4; in qeth_l3_dev_ipato_invert4_store()
417 if (card->ipato.invert4 != invert) { in qeth_l3_dev_ipato_invert4_store()
418 card->ipato.invert4 = invert; in qeth_l3_dev_ipato_invert4_store()
444 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_dev_ipato_add_show()
582 return sprintf(buf, "%i\n", card->ipato.invert6? 1:0); in qeth_l3_dev_ipato_invert6_show()
[all …]
Dqeth_l3.h31 u8 ipato:1; /* ucast only */ member
Dqeth_l3_main.c119 if (!card->ipato.enabled) in qeth_l3_is_addr_covered_by_ipato()
126 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato()
142 if ((addr->proto == QETH_PROT_IPV4) && card->ipato.invert4) in qeth_l3_is_addr_covered_by_ipato()
144 else if ((addr->proto == QETH_PROT_IPV6) && card->ipato.invert6) in qeth_l3_is_addr_covered_by_ipato()
232 addr->ipato = 1; in qeth_l3_add_ip()
391 return (set && addr->ipato) ? QETH_IPA_SETIP_TAKEOVER_FLAG : 0; in qeth_l3_get_setdelip_flags()
543 addr->ipato = qeth_l3_is_addr_covered_by_ipato(card, addr); in qeth_l3_update_ipato()
553 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_clear_ipato_list()
572 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_add_ipato_entry()
584 list_add_tail(&new->entry, &card->ipato.entries); in qeth_l3_add_ipato_entry()
[all …]
Dqeth_core.h797 struct qeth_ipato ipato; member
Dqeth_core_main.c1489 INIT_LIST_HEAD(&card->ipato.entries); in qeth_setup_card()