Searched refs:ipato (Results 1 – 4 of 4) sorted by relevance
/drivers/s390/net/ |
D | qeth_l3_sys.c | 366 return sprintf(buf, "%i\n", card->ipato.enabled? 1:0); in qeth_l3_dev_ipato_enable_show() 389 card->ipato.enabled = (card->ipato.enabled)? 0 : 1; in qeth_l3_dev_ipato_enable_store() 391 card->ipato.enabled = 1; in qeth_l3_dev_ipato_enable_store() 400 card->ipato.enabled = 0; in qeth_l3_dev_ipato_enable_store() 426 return sprintf(buf, "%i\n", card->ipato.invert4? 1:0); in qeth_l3_dev_ipato_invert4_show() 443 card->ipato.invert4 = (card->ipato.invert4)? 0 : 1; in qeth_l3_dev_ipato_invert4_store() 445 card->ipato.invert4 = 1; in qeth_l3_dev_ipato_invert4_store() 447 card->ipato.invert4 = 0; in qeth_l3_dev_ipato_invert4_store() 471 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_dev_ipato_add_show() 609 return sprintf(buf, "%i\n", card->ipato.invert6? 1:0); in qeth_l3_dev_ipato_invert6_show() [all …]
|
D | qeth_l3_main.c | 178 if (!card->ipato.enabled) in qeth_l3_is_addr_covered_by_ipato() 183 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_is_addr_covered_by_ipato() 199 if ((addr->proto == QETH_PROT_IPV4) && card->ipato.invert4) in qeth_l3_is_addr_covered_by_ipato() 201 else if ((addr->proto == QETH_PROT_IPV6) && card->ipato.invert6) in qeth_l3_is_addr_covered_by_ipato() 716 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_clear_ipato_list() 732 list_for_each_entry(ipatoe, &card->ipato.entries, entry) { in qeth_l3_add_ipato_entry() 743 list_add_tail(&new->entry, &card->ipato.entries); in qeth_l3_add_ipato_entry() 757 list_for_each_entry_safe(ipatoe, tmp, &card->ipato.entries, entry) { in qeth_l3_del_ipato_entry()
|
D | qeth_core.h | 810 struct qeth_ipato ipato; member
|
D | qeth_core_main.c | 1465 INIT_LIST_HEAD(&card->ipato.entries); in qeth_setup_card() 1466 card->ipato.enabled = 0; in qeth_setup_card() 1467 card->ipato.invert4 = 0; in qeth_setup_card() 1468 card->ipato.invert6 = 0; in qeth_setup_card()
|