Lines Matching refs:ce_mask
90 uint32_t ce_mask; member
160 vxi->ce_mask |= VXLAN_ATTR_ID; in vxlan_parse()
166 vxi->ce_mask |= VXLAN_ATTR_GROUP6; in vxlan_parse()
172 vxi->ce_mask |= VXLAN_ATTR_GROUP; in vxlan_parse()
173 vxi->ce_mask &= ~VXLAN_ATTR_GROUP6; in vxlan_parse()
178 vxi->ce_mask |= VXLAN_ATTR_LINK; in vxlan_parse()
184 vxi->ce_mask |= VXLAN_ATTR_LOCAL6; in vxlan_parse()
190 vxi->ce_mask |= VXLAN_ATTR_LOCAL; in vxlan_parse()
191 vxi->ce_mask &= ~VXLAN_ATTR_LOCAL6; in vxlan_parse()
196 vxi->ce_mask |= VXLAN_ATTR_TTL; in vxlan_parse()
201 vxi->ce_mask |= VXLAN_ATTR_TOS; in vxlan_parse()
206 vxi->ce_mask |= VXLAN_ATTR_LEARNING; in vxlan_parse()
211 vxi->ce_mask |= VXLAN_ATTR_AGEING; in vxlan_parse()
216 vxi->ce_mask |= VXLAN_ATTR_LIMIT; in vxlan_parse()
222 vxi->ce_mask |= VXLAN_ATTR_PORT_RANGE; in vxlan_parse()
227 vxi->ce_mask |= VXLAN_ATTR_PROXY; in vxlan_parse()
232 vxi->ce_mask |= VXLAN_ATTR_RSC; in vxlan_parse()
237 vxi->ce_mask |= VXLAN_ATTR_L2MISS; in vxlan_parse()
242 vxi->ce_mask |= VXLAN_ATTR_L3MISS; in vxlan_parse()
247 vxi->ce_mask |= VXLAN_ATTR_PORT; in vxlan_parse()
252 vxi->ce_mask |= VXLAN_ATTR_UDP_CSUM; in vxlan_parse()
257 vxi->ce_mask |= VXLAN_ATTR_UDP_ZERO_CSUM6_TX; in vxlan_parse()
262 vxi->ce_mask |= VXLAN_ATTR_UDP_ZERO_CSUM6_RX; in vxlan_parse()
267 vxi->ce_mask |= VXLAN_ATTR_REMCSUM_TX; in vxlan_parse()
272 vxi->ce_mask |= VXLAN_ATTR_REMCSUM_RX; in vxlan_parse()
283 vxi->ce_mask |= VXLAN_ATTR_COLLECT_METADATA; in vxlan_parse()
288 vxi->ce_mask |= VXLAN_ATTR_LABEL; in vxlan_parse()
323 if (vxi->ce_mask & VXLAN_ATTR_GROUP) { in vxlan_dump_details()
329 } else if (vxi->ce_mask & VXLAN_ATTR_GROUP6) { in vxlan_dump_details()
337 if (vxi->ce_mask & VXLAN_ATTR_LINK) { in vxlan_dump_details()
351 if (vxi->ce_mask & VXLAN_ATTR_LOCAL) { in vxlan_dump_details()
357 } else if (vxi->ce_mask & VXLAN_ATTR_LOCAL6) { in vxlan_dump_details()
366 if (vxi->ce_mask & VXLAN_ATTR_TTL) { in vxlan_dump_details()
374 if (vxi->ce_mask & VXLAN_ATTR_TOS) { in vxlan_dump_details()
382 if (vxi->ce_mask & VXLAN_ATTR_LEARNING) { in vxlan_dump_details()
390 if (vxi->ce_mask & VXLAN_ATTR_AGEING) { in vxlan_dump_details()
398 if (vxi->ce_mask & VXLAN_ATTR_LIMIT) { in vxlan_dump_details()
406 if (vxi->ce_mask & VXLAN_ATTR_PORT_RANGE) in vxlan_dump_details()
411 if (vxi->ce_mask & VXLAN_ATTR_PROXY) { in vxlan_dump_details()
419 if (vxi->ce_mask & VXLAN_ATTR_RSC) { in vxlan_dump_details()
427 if (vxi->ce_mask & VXLAN_ATTR_L2MISS) { in vxlan_dump_details()
435 if (vxi->ce_mask & VXLAN_ATTR_L3MISS) { in vxlan_dump_details()
443 if (vxi->ce_mask & VXLAN_ATTR_PORT) { in vxlan_dump_details()
448 if (vxi->ce_mask & VXLAN_ATTR_UDP_CSUM) { in vxlan_dump_details()
456 if (vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_TX) { in vxlan_dump_details()
464 if (vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_RX) { in vxlan_dump_details()
472 if (vxi->ce_mask & VXLAN_ATTR_REMCSUM_TX) { in vxlan_dump_details()
480 if (vxi->ce_mask & VXLAN_ATTR_REMCSUM_RX) { in vxlan_dump_details()
494 if (vxi->ce_mask & VXLAN_ATTR_COLLECT_METADATA) { in vxlan_dump_details()
502 if (vxi->ce_mask & VXLAN_ATTR_LABEL) { in vxlan_dump_details()
537 if (vxi->ce_mask & VXLAN_ATTR_ID) in vxlan_put_attrs()
540 if (vxi->ce_mask & VXLAN_ATTR_GROUP) in vxlan_put_attrs()
543 if (vxi->ce_mask & VXLAN_ATTR_GROUP6) in vxlan_put_attrs()
546 if (vxi->ce_mask & VXLAN_ATTR_LINK) in vxlan_put_attrs()
549 if (vxi->ce_mask & VXLAN_ATTR_LOCAL) in vxlan_put_attrs()
552 if (vxi->ce_mask & VXLAN_ATTR_LOCAL6) in vxlan_put_attrs()
555 if (vxi->ce_mask & VXLAN_ATTR_TTL) in vxlan_put_attrs()
558 if (vxi->ce_mask & VXLAN_ATTR_TOS) in vxlan_put_attrs()
561 if (vxi->ce_mask & VXLAN_ATTR_LEARNING) in vxlan_put_attrs()
564 if (vxi->ce_mask & VXLAN_ATTR_AGEING) in vxlan_put_attrs()
567 if (vxi->ce_mask & VXLAN_ATTR_LIMIT) in vxlan_put_attrs()
570 if (vxi->ce_mask & VXLAN_ATTR_PORT_RANGE) in vxlan_put_attrs()
574 if (vxi->ce_mask & VXLAN_ATTR_PROXY) in vxlan_put_attrs()
577 if (vxi->ce_mask & VXLAN_ATTR_RSC) in vxlan_put_attrs()
580 if (vxi->ce_mask & VXLAN_ATTR_L2MISS) in vxlan_put_attrs()
583 if (vxi->ce_mask & VXLAN_ATTR_L3MISS) in vxlan_put_attrs()
586 if (vxi->ce_mask & VXLAN_ATTR_PORT) in vxlan_put_attrs()
589 if (vxi->ce_mask & VXLAN_ATTR_UDP_CSUM) in vxlan_put_attrs()
592 if (vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_TX) in vxlan_put_attrs()
595 if (vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_RX) in vxlan_put_attrs()
598 if (vxi->ce_mask & VXLAN_ATTR_REMCSUM_TX) in vxlan_put_attrs()
601 if (vxi->ce_mask & VXLAN_ATTR_REMCSUM_RX) in vxlan_put_attrs()
610 if (vxi->ce_mask & VXLAN_ATTR_COLLECT_METADATA) in vxlan_put_attrs()
613 if (vxi->ce_mask & VXLAN_ATTR_LABEL) in vxlan_put_attrs()
632 uint32_t attrs = flags & LOOSE_COMPARISON ? b->ce_mask : ~0; in vxlan_compare()
745 vxi->ce_mask |= VXLAN_ATTR_ID; in rtnl_link_vxlan_set_id()
766 if (vxi->ce_mask & VXLAN_ATTR_ID) in rtnl_link_vxlan_get_id()
791 vxi->ce_mask |= VXLAN_ATTR_GROUP; in rtnl_link_vxlan_set_group()
792 vxi->ce_mask &= ~VXLAN_ATTR_GROUP6; in rtnl_link_vxlan_set_group()
797 vxi->ce_mask |= VXLAN_ATTR_GROUP6; in rtnl_link_vxlan_set_group()
798 vxi->ce_mask &= ~VXLAN_ATTR_GROUP; in rtnl_link_vxlan_set_group()
821 if (vxi->ce_mask & VXLAN_ATTR_GROUP) in rtnl_link_vxlan_get_group()
823 else if (vxi->ce_mask & VXLAN_ATTR_GROUP6) in rtnl_link_vxlan_get_group()
845 vxi->ce_mask |= VXLAN_ATTR_LINK; in rtnl_link_vxlan_set_link()
866 if (!(vxi->ce_mask & VXLAN_ATTR_LINK)) in rtnl_link_vxlan_get_link()
891 vxi->ce_mask |= VXLAN_ATTR_LOCAL; in rtnl_link_vxlan_set_local()
892 vxi->ce_mask &= ~VXLAN_ATTR_LOCAL6; in rtnl_link_vxlan_set_local()
897 vxi->ce_mask |= VXLAN_ATTR_LOCAL6; in rtnl_link_vxlan_set_local()
898 vxi->ce_mask &= ~VXLAN_ATTR_LOCAL; in rtnl_link_vxlan_set_local()
921 if (vxi->ce_mask & VXLAN_ATTR_LOCAL) in rtnl_link_vxlan_get_local()
923 else if (vxi->ce_mask & VXLAN_ATTR_LOCAL6) in rtnl_link_vxlan_get_local()
945 vxi->ce_mask |= VXLAN_ATTR_TTL; in rtnl_link_vxlan_set_ttl()
962 if (!(vxi->ce_mask & VXLAN_ATTR_TTL)) in rtnl_link_vxlan_get_ttl()
982 vxi->ce_mask |= VXLAN_ATTR_TOS; in rtnl_link_vxlan_set_tos()
999 if (!(vxi->ce_mask & VXLAN_ATTR_TOS)) in rtnl_link_vxlan_get_tos()
1019 vxi->ce_mask |= VXLAN_ATTR_LEARNING; in rtnl_link_vxlan_set_learning()
1036 if (!(vxi->ce_mask & VXLAN_ATTR_LEARNING)) in rtnl_link_vxlan_get_learning()
1078 vxi->ce_mask |= VXLAN_ATTR_AGEING; in rtnl_link_vxlan_set_ageing()
1099 if (vxi->ce_mask & VXLAN_ATTR_AGEING) in rtnl_link_vxlan_get_ageing()
1121 vxi->ce_mask |= VXLAN_ATTR_LIMIT; in rtnl_link_vxlan_set_limit()
1142 if (vxi->ce_mask & VXLAN_ATTR_LIMIT) in rtnl_link_vxlan_get_limit()
1168 vxi->ce_mask |= VXLAN_ATTR_PORT_RANGE; in rtnl_link_vxlan_set_port_range()
1190 if (vxi->ce_mask & VXLAN_ATTR_PORT_RANGE) in rtnl_link_vxlan_get_port_range()
1212 vxi->ce_mask |= VXLAN_ATTR_PROXY; in rtnl_link_vxlan_set_proxy()
1229 if (!(vxi->ce_mask & VXLAN_ATTR_PROXY)) in rtnl_link_vxlan_get_proxy()
1271 vxi->ce_mask |= VXLAN_ATTR_RSC; in rtnl_link_vxlan_set_rsc()
1288 if (!(vxi->ce_mask & VXLAN_ATTR_RSC)) in rtnl_link_vxlan_get_rsc()
1330 vxi->ce_mask |= VXLAN_ATTR_L2MISS; in rtnl_link_vxlan_set_l2miss()
1347 if (!(vxi->ce_mask & VXLAN_ATTR_L2MISS)) in rtnl_link_vxlan_get_l2miss()
1389 vxi->ce_mask |= VXLAN_ATTR_L3MISS; in rtnl_link_vxlan_set_l3miss()
1406 if (!(vxi->ce_mask & VXLAN_ATTR_L3MISS)) in rtnl_link_vxlan_get_l3miss()
1448 vxi->ce_mask |= VXLAN_ATTR_PORT; in rtnl_link_vxlan_set_port()
1469 if (!(vxi->ce_mask & VXLAN_ATTR_PORT)) in rtnl_link_vxlan_get_port()
1491 vxi->ce_mask |= VXLAN_ATTR_UDP_CSUM; in rtnl_link_vxlan_set_udp_csum()
1508 if (!(vxi->ce_mask & VXLAN_ATTR_UDP_CSUM)) in rtnl_link_vxlan_get_udp_csum()
1528 vxi->ce_mask |= VXLAN_ATTR_UDP_ZERO_CSUM6_TX; in rtnl_link_vxlan_set_udp_zero_csum6_tx()
1545 if (!(vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_TX)) in rtnl_link_vxlan_get_udp_zero_csum6_tx()
1565 vxi->ce_mask |= VXLAN_ATTR_UDP_ZERO_CSUM6_RX; in rtnl_link_vxlan_set_udp_zero_csum6_rx()
1582 if (!(vxi->ce_mask & VXLAN_ATTR_UDP_ZERO_CSUM6_RX)) in rtnl_link_vxlan_get_udp_zero_csum6_rx()
1602 vxi->ce_mask |= VXLAN_ATTR_REMCSUM_TX; in rtnl_link_vxlan_set_remcsum_tx()
1619 if (!(vxi->ce_mask & VXLAN_ATTR_REMCSUM_TX)) in rtnl_link_vxlan_get_remcsum_tx()
1639 vxi->ce_mask |= VXLAN_ATTR_REMCSUM_RX; in rtnl_link_vxlan_set_remcsum_rx()
1656 if (!(vxi->ce_mask & VXLAN_ATTR_REMCSUM_RX)) in rtnl_link_vxlan_get_remcsum_rx()
1676 vxi->ce_mask |= VXLAN_ATTR_COLLECT_METADATA; in rtnl_link_vxlan_set_collect_metadata()
1693 if (!(vxi->ce_mask & VXLAN_ATTR_COLLECT_METADATA)) in rtnl_link_vxlan_get_collect_metadata()
1713 vxi->ce_mask |= VXLAN_ATTR_LABEL; in rtnl_link_vxlan_set_label()
1734 if (!(vxi->ce_mask & VXLAN_ATTR_LABEL)) in rtnl_link_vxlan_get_label()