• Home
  • Raw
  • Download

Lines Matching refs:ce_mask

288 		if (link->ce_mask & LINK_ATTR_VF_LIST)  in link_free_data()
336 if (src->ce_mask & LINK_ATTR_VF_LIST) in link_clone()
430 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
477 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
482 link->ce_mask |= LINK_ATTR_TXQLEN; in rtnl_link_info_parse()
487 link->ce_mask |= LINK_ATTR_MTU; in rtnl_link_info_parse()
496 link->ce_mask |= LINK_ATTR_ADDR; in rtnl_link_info_parse()
506 link->ce_mask |= LINK_ATTR_BRD; in rtnl_link_info_parse()
511 link->ce_mask |= LINK_ATTR_LINK; in rtnl_link_info_parse()
516 link->ce_mask |= LINK_ATTR_LINK_NETNSID; in rtnl_link_info_parse()
521 link->ce_mask |= LINK_ATTR_WEIGHT; in rtnl_link_info_parse()
526 link->ce_mask |= LINK_ATTR_QDISC; in rtnl_link_info_parse()
532 link->ce_mask |= LINK_ATTR_MAP; in rtnl_link_info_parse()
537 link->ce_mask |= LINK_ATTR_MASTER; in rtnl_link_info_parse()
542 link->ce_mask |= LINK_ATTR_CARRIER; in rtnl_link_info_parse()
547 link->ce_mask |= LINK_ATTR_CARRIER_CHANGES; in rtnl_link_info_parse()
552 link->ce_mask |= LINK_ATTR_OPERSTATE; in rtnl_link_info_parse()
557 link->ce_mask |= LINK_ATTR_LINKMODE; in rtnl_link_info_parse()
564 link->ce_mask |= LINK_ATTR_IFALIAS; in rtnl_link_info_parse()
569 link->ce_mask |= LINK_ATTR_NS_FD; in rtnl_link_info_parse()
574 link->ce_mask |= LINK_ATTR_NS_PID; in rtnl_link_info_parse()
612 link->ce_mask = (LINK_ATTR_IFNAME | LINK_ATTR_FAMILY | in link_msg_parser()
636 link->ce_mask |= LINK_ATTR_NUM_VF; in link_msg_parser()
641 link->ce_mask |= LINK_ATTR_VF_LIST; in link_msg_parser()
687 link->ce_mask |= LINK_ATTR_LINKINFO; in link_msg_parser()
697 link->ce_mask |= LINK_ATTR_LINKINFO_SLAVE_KIND; in link_msg_parser()
706 link->ce_mask |= LINK_ATTR_PROTINFO; in link_msg_parser()
719 link->ce_mask |= LINK_ATTR_AF_SPEC; in link_msg_parser()
734 link->ce_mask |= LINK_ATTR_AF_SPEC; in link_msg_parser()
743 link->ce_mask |= LINK_ATTR_PROMISCUITY; in link_msg_parser()
748 link->ce_mask |= LINK_ATTR_NUM_TX_QUEUES; in link_msg_parser()
753 link->ce_mask |= LINK_ATTR_NUM_RX_QUEUES; in link_msg_parser()
758 link->ce_mask |= LINK_ATTR_GSO_MAX_SEGS; in link_msg_parser()
763 link->ce_mask |= LINK_ATTR_GSO_MAX_SIZE; in link_msg_parser()
768 link->ce_mask |= LINK_ATTR_GROUP; in link_msg_parser()
777 link->ce_mask |= LINK_ATTR_PHYS_PORT_ID; in link_msg_parser()
782 link->ce_mask |= LINK_ATTR_PHYS_PORT_NAME; in link_msg_parser()
791 link->ce_mask |= LINK_ATTR_PHYS_SWITCH_ID; in link_msg_parser()
861 if (link->ce_mask & LINK_ATTR_MASTER) { in link_dump_line()
875 if (link->ce_mask & LINK_ATTR_LINK) { in link_dump_line()
877 && !(link->ce_mask & LINK_ATTR_LINK_NETNSID)) { in link_dump_line()
885 if (link->ce_mask & LINK_ATTR_LINK_NETNSID) in link_dump_line()
888 if (link->ce_mask & LINK_ATTR_GROUP) in link_dump_line()
912 if (link->ce_mask & LINK_ATTR_QDISC) in link_dump_details()
915 if (link->ce_mask & LINK_ATTR_MAP && link->l_map.lm_irq) in link_dump_details()
918 if (link->ce_mask & LINK_ATTR_IFINDEX) in link_dump_details()
921 if (link->ce_mask & LINK_ATTR_PROMISCUITY && link->l_promiscuity > 0) in link_dump_details()
926 if (link->ce_mask & LINK_ATTR_IFALIAS) in link_dump_details()
931 if (link->ce_mask & LINK_ATTR_NUM_TX_QUEUES) in link_dump_details()
934 if (link->ce_mask & LINK_ATTR_NUM_RX_QUEUES) in link_dump_details()
937 if (link->ce_mask & LINK_ATTR_BRD) in link_dump_details()
941 if ((link->ce_mask & LINK_ATTR_OPERSTATE) && in link_dump_details()
947 if (link->ce_mask & LINK_ATTR_NUM_VF) in link_dump_details()
956 if (link->ce_mask & LINK_ATTR_CARRIER_CHANGES) in link_dump_details()
966 if (link->ce_mask & LINK_ATTR_VF_LIST) in link_dump_details()
1034 if (link->ce_mask & LINK_ATTR_VF_LIST) in link_dump_stats()
1525 if (link->ce_mask & LINK_ATTR_ADDR) in rtnl_link_fill_info()
1528 if (link->ce_mask & LINK_ATTR_BRD) in rtnl_link_fill_info()
1531 if (link->ce_mask & LINK_ATTR_MTU) in rtnl_link_fill_info()
1534 if (link->ce_mask & LINK_ATTR_TXQLEN) in rtnl_link_fill_info()
1537 if (link->ce_mask & LINK_ATTR_WEIGHT) in rtnl_link_fill_info()
1540 if (link->ce_mask & LINK_ATTR_IFNAME) in rtnl_link_fill_info()
1543 if (link->ce_mask & LINK_ATTR_OPERSTATE) in rtnl_link_fill_info()
1546 if (link->ce_mask & LINK_ATTR_CARRIER) in rtnl_link_fill_info()
1549 if (link->ce_mask & LINK_ATTR_LINKMODE) in rtnl_link_fill_info()
1552 if (link->ce_mask & LINK_ATTR_IFALIAS) in rtnl_link_fill_info()
1555 if (link->ce_mask & LINK_ATTR_LINK) in rtnl_link_fill_info()
1558 if (link->ce_mask & LINK_ATTR_LINK_NETNSID) in rtnl_link_fill_info()
1561 if (link->ce_mask & LINK_ATTR_MASTER) in rtnl_link_fill_info()
1564 if (link->ce_mask & LINK_ATTR_NUM_TX_QUEUES) in rtnl_link_fill_info()
1567 if (link->ce_mask & LINK_ATTR_NUM_RX_QUEUES) in rtnl_link_fill_info()
1570 if (link->ce_mask & LINK_ATTR_NS_FD) in rtnl_link_fill_info()
1573 if (link->ce_mask & LINK_ATTR_NS_PID) in rtnl_link_fill_info()
1598 if (link->ce_mask & LINK_ATTR_GROUP) in build_link_msg()
1601 if (link->ce_mask & (LINK_ATTR_LINKINFO|LINK_ATTR_LINKINFO_SLAVE_KIND)) { in build_link_msg()
1607 if (link->ce_mask & LINK_ATTR_LINKINFO) { in build_link_msg()
1617 if (link->ce_mask & LINK_ATTR_LINKINFO_SLAVE_KIND) { in build_link_msg()
1624 if (link->ce_mask & LINK_ATTR_VF_LIST) { in build_link_msg()
1741 if (changes->ce_mask & LINK_ATTR_FLAGS) { in rtnl_link_build_change_request()
1753 if (orig->ce_mask & LINK_ATTR_IFINDEX && in rtnl_link_build_change_request()
1754 orig->ce_mask & LINK_ATTR_IFNAME && in rtnl_link_build_change_request()
1755 changes->ce_mask & LINK_ATTR_IFNAME && in rtnl_link_build_change_request()
1757 changes->ce_mask &= ~LINK_ATTR_IFNAME; in rtnl_link_build_change_request()
1861 if (!(link->ce_mask & (LINK_ATTR_IFINDEX | LINK_ATTR_IFNAME))) { in rtnl_link_build_delete_request()
1872 if (link->ce_mask & LINK_ATTR_IFNAME) in rtnl_link_build_delete_request()
1962 link->ce_mask |= LINK_ATTR_IFNAME; in rtnl_link_set_name()
1975 return link->ce_mask & LINK_ATTR_IFNAME ? link->l_name : NULL; in rtnl_link_get_name()
1986 link->ce_mask |= LINK_ATTR_GROUP; in rtnl_link_set_group()
2009 link->ce_mask |= flag; in __assign_addr()
2039 return link->ce_mask & LINK_ATTR_ADDR ? link->l_addr : NULL; in rtnl_link_get_addr()
2070 return link->ce_mask & LINK_ATTR_BRD ? link->l_bcast : NULL; in rtnl_link_get_broadcast()
2085 link->ce_mask |= LINK_ATTR_FLAGS; in rtnl_link_set_flags()
2100 link->ce_mask |= LINK_ATTR_FLAGS; in rtnl_link_unset_flags()
2125 link->ce_mask |= LINK_ATTR_FAMILY; in rtnl_link_set_family()
2145 return link->ce_mask & LINK_ATTR_FAMILY ? link->l_family : AF_UNSPEC; in rtnl_link_get_family()
2160 link->ce_mask |= LINK_ATTR_ARPTYPE; in rtnl_link_set_arptype()
2173 if (link->ce_mask & LINK_ATTR_ARPTYPE) in rtnl_link_get_arptype()
2190 link->ce_mask |= LINK_ATTR_IFINDEX; in rtnl_link_set_ifindex()
2218 link->ce_mask |= LINK_ATTR_MTU; in rtnl_link_set_mtu()
2247 link->ce_mask |= LINK_ATTR_TXQLEN; in rtnl_link_set_txqlen()
2262 return link->ce_mask & LINK_ATTR_TXQLEN ? link->l_txqlen : 0; in rtnl_link_get_txqlen()
2268 link->ce_mask |= LINK_ATTR_LINK; in rtnl_link_set_link()
2287 link->ce_mask |= LINK_ATTR_LINK_NETNSID; in rtnl_link_set_link_netnsid()
2303 if (!(link->ce_mask & LINK_ATTR_LINK_NETNSID)) in rtnl_link_get_link_netnsid()
2320 link->ce_mask |= LINK_ATTR_MASTER; in rtnl_link_set_master()
2345 link->ce_mask |= LINK_ATTR_CARRIER; in rtnl_link_set_carrier()
2369 if (!(link->ce_mask & LINK_ATTR_CARRIER_CHANGES)) in rtnl_link_get_carrier_changes()
2389 link->ce_mask |= LINK_ATTR_OPERSTATE; in rtnl_link_set_operstate()
2416 link->ce_mask |= LINK_ATTR_LINKMODE; in rtnl_link_set_linkmode()
2463 link->ce_mask |= LINK_ATTR_IFALIAS; in rtnl_link_set_ifalias()
2466 link->ce_mask &= ~LINK_ATTR_IFALIAS; in rtnl_link_set_ifalias()
2486 link->ce_mask |= LINK_ATTR_QDISC; in rtnl_link_set_qdisc()
2499 return link->ce_mask & LINK_ATTR_QDISC ? link->l_qdisc : NULL; in rtnl_link_get_qdisc()
2512 if (link->ce_mask & LINK_ATTR_NUM_VF) { in rtnl_link_get_num_vf()
2575 link->ce_mask &= ~LINK_ATTR_LINKINFO; in rtnl_link_set_type()
2594 link->ce_mask |= LINK_ATTR_LINKINFO; in rtnl_link_set_type()
2639 link->ce_mask |= LINK_ATTR_LINKINFO_SLAVE_KIND; in rtnl_link_set_slave_type()
2641 link->ce_mask &= ~LINK_ATTR_LINKINFO_SLAVE_KIND; in rtnl_link_set_slave_type()
2670 link->ce_mask |= LINK_ATTR_PROMISCUITY; in rtnl_link_set_promiscuity()
2702 link->ce_mask |= LINK_ATTR_NUM_TX_QUEUES; in rtnl_link_set_num_tx_queues()
2733 link->ce_mask |= LINK_ATTR_NUM_RX_QUEUES; in rtnl_link_set_num_rx_queues()
2756 if (!(link->ce_mask & LINK_ATTR_GSO_MAX_SEGS)) in rtnl_link_get_gso_max_segs()
2774 if (!(link->ce_mask & LINK_ATTR_GSO_MAX_SIZE)) in rtnl_link_get_gso_max_size()
2819 link->ce_mask |= LINK_ATTR_NS_FD; in rtnl_link_set_ns_fd()
2830 link->ce_mask |= LINK_ATTR_NS_PID; in rtnl_link_set_ns_pid()
3132 if (link->ce_mask & LINK_ATTR_VF_LIST) in rtnl_link_has_vf_list()
3142 link->ce_mask |= LINK_ATTR_VF_LIST; in rtnl_link_set_vf_list()
3151 link->ce_mask &= ~LINK_ATTR_VF_LIST; in rtnl_link_unset_vf_list()
3184 link->ce_mask |= LINK_ATTR_WEIGHT; in rtnl_link_set_weight()