Searched refs:ipato (Results 1 – 5 of 5) sorted by relevance
/drivers/s390/net/ |
D | qeth_l3_sys.c | 288 return sprintf(buf, "%u\n", card->ipato.enabled ? 1 : 0); in qeth_l3_dev_ipato_enable_show() 306 enable = !card->ipato.enabled; in qeth_l3_dev_ipato_enable_store() 312 if (card->ipato.enabled != enable) { in qeth_l3_dev_ipato_enable_store() 313 card->ipato.enabled = enable; in qeth_l3_dev_ipato_enable_store() 333 return sprintf(buf, "%u\n", card->ipato.invert4 ? 1 : 0); in qeth_l3_dev_ipato_invert4_show() 346 invert = !card->ipato.invert4; in qeth_l3_dev_ipato_invert4_store() 352 if (card->ipato.invert4 != invert) { in qeth_l3_dev_ipato_invert4_store() 353 card->ipato.invert4 = invert; in qeth_l3_dev_ipato_invert4_store() 373 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_dev_ipato_add_show() 504 return sprintf(buf, "%u\n", card->ipato.invert6 ? 1 : 0); in qeth_l3_dev_ipato_invert6_show() [all …]
|
D | qeth_l3_main.c | 94 if (!card->ipato.enabled) in qeth_l3_is_addr_covered_by_ipato() 101 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato() 112 if ((addr->proto == QETH_PROT_IPV4) && card->ipato.invert4) in qeth_l3_is_addr_covered_by_ipato() 114 else if ((addr->proto == QETH_PROT_IPV6) && card->ipato.invert6) in qeth_l3_is_addr_covered_by_ipato() 197 addr->ipato = 1; in qeth_l3_add_ip() 361 return (set && addr->ipato) ? QETH_IPA_SETIP_TAKEOVER_FLAG : 0; in qeth_l3_get_setdelip_flags() 511 addr->ipato = qeth_l3_is_addr_covered_by_ipato(card, addr); in qeth_l3_update_ipato() 521 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_clear_ipato_list() 540 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_add_ipato_entry() 552 list_add_tail(&new->entry, &card->ipato.entries); in qeth_l3_add_ipato_entry() [all …]
|
D | qeth_l3.h | 27 u8 ipato:1; /* ucast only */ member
|
D | qeth_core.h | 832 struct qeth_ipato ipato; member
|
D | qeth_core_main.c | 1533 INIT_LIST_HEAD(&card->ipato.entries); in qeth_setup_card()
|