Searched refs:mask_attr (Results 1 – 2 of 2) sorted by relevance
955 struct rtattr *mask_attr) in flower_print_eth_addr() argument964 if (!mask_attr || RTA_PAYLOAD(mask_attr) != ETH_ALEN) in flower_print_eth_addr()966 bits = __mask_bits(RTA_DATA(mask_attr), ETH_ALEN); in flower_print_eth_addr()968 fprintf(f, "/%s", ll_addr_n2a(RTA_DATA(mask_attr), ETH_ALEN, in flower_print_eth_addr()1024 struct rtattr *mask_attr) in flower_print_ip_attr() argument1030 if (!mask_attr) in flower_print_ip_attr()1032 fprintf(f, "/%x", rta_getattr_u8(mask_attr)); in flower_print_ip_attr()1038 struct rtattr *mask_attr) in flower_print_matching_flags() argument1045 if (!mask_attr || RTA_PAYLOAD(mask_attr) != 4) in flower_print_matching_flags()1049 mtf_mask = ntohl(rta_getattr_u32(mask_attr)); in flower_print_matching_flags()[all …]
1824 const auto* mask_attr = node.GetAttr(mask); in IsMaskZero() local1825 if (mask_attr != nullptr) { in IsMaskZero()1826 return mask_attr->i() == 0; in IsMaskZero()1848 const auto* mask_attr = node->GetAttr(mask); in PermuteMask() local1849 const int mask_i = mask_attr != nullptr ? mask_attr->i() : 0; in PermuteMask()