Searched refs:bitmask (Results 1 – 14 of 14) sorted by relevance
36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt()39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt()42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt()45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt()48 if ((info->bitmask & XT_PHYSDEV_OP_OUT) && in physdev_mt()58 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt()65 if ((info->bitmask & XT_PHYSDEV_OP_ISIN && in physdev_mt()67 (info->bitmask & XT_PHYSDEV_OP_ISOUT && in physdev_mt()71 if (!(info->bitmask & XT_PHYSDEV_OP_IN)) in physdev_mt()83 if (!(info->bitmask & XT_PHYSDEV_OP_OUT)) in physdev_mt()[all …]
60 if (data->bitmask == XT_IPVS_IPVS_PROPERTY) { in ipvs_mt()74 if (data->bitmask & XT_IPVS_PROTO) in ipvs_mt()101 if (data->bitmask & XT_IPVS_VPORT) in ipvs_mt()108 if (data->bitmask & XT_IPVS_VPORTCTL) in ipvs_mt()116 if (data->bitmask & XT_IPVS_DIR) { in ipvs_mt()132 if (data->bitmask & XT_IPVS_METHOD) in ipvs_mt()139 if (data->bitmask & XT_IPVS_VADDR) { in ipvs_mt()
51 if ((info->bitmask & EBT_STP_FLAGS) && in ebt_filter_config()54 if (info->bitmask & EBT_STP_ROOTPRIO) { in ebt_filter_config()60 if (info->bitmask & EBT_STP_ROOTADDR) { in ebt_filter_config()67 if (info->bitmask & EBT_STP_ROOTCOST) { in ebt_filter_config()73 if (info->bitmask & EBT_STP_SENDERPRIO) { in ebt_filter_config()79 if (info->bitmask & EBT_STP_SENDERADDR) { in ebt_filter_config()86 if (info->bitmask & EBT_STP_PORT) { in ebt_filter_config()92 if (info->bitmask & EBT_STP_MSGAGE) { in ebt_filter_config()98 if (info->bitmask & EBT_STP_MAXAGE) { in ebt_filter_config()104 if (info->bitmask & EBT_STP_HELLOTIME) { in ebt_filter_config()[all …]
49 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt()52 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt()56 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt()60 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt()63 if (!(info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT | in ebt_ip_mt()74 if (info->bitmask & EBT_IP_DPORT) { in ebt_ip_mt()81 if (info->bitmask & EBT_IP_SPORT) { in ebt_ip_mt()88 if ((info->bitmask & EBT_IP_ICMP) && in ebt_ip_mt()95 if ((info->bitmask & EBT_IP_IGMP) && in ebt_ip_mt()112 if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK) in ebt_ip_mt_check()[all …]
49 if ((info->bitmask & EBT_IP6_TCLASS) && in ebt_ip6_mt()53 if (((info->bitmask & EBT_IP6_SOURCE) && in ebt_ip6_mt()57 ((info->bitmask & EBT_IP6_DEST) && in ebt_ip6_mt()62 if (info->bitmask & EBT_IP6_PROTO) { in ebt_ip6_mt()72 if (!(info->bitmask & (EBT_IP6_DPORT | in ebt_ip6_mt()81 if (info->bitmask & EBT_IP6_DPORT) { in ebt_ip6_mt()88 if (info->bitmask & EBT_IP6_SPORT) { in ebt_ip6_mt()95 if ((info->bitmask & EBT_IP6_ICMP6) && in ebt_ip6_mt()113 if (info->bitmask & ~EBT_IP6_MASK || info->invflags & ~EBT_IP6_MASK) in ebt_ip6_mt_check()115 if (info->bitmask & (EBT_IP6_DPORT | EBT_IP6_SPORT)) { in ebt_ip6_mt_check()[all …]
21 if (info->bitmask & EBT_MARK_OR) in ebt_mark_mt()30 if (info->bitmask & ~EBT_MARK_MASK) in ebt_mark_mt_check()32 if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND)) in ebt_mark_mt_check()34 if (!info->bitmask) in ebt_mark_mt_check()43 uint8_t invert, bitmask; member54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user()65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
29 if ((info->bitmask & EBT_ARP_OPCODE) && in ebt_arp_mt()32 if ((info->bitmask & EBT_ARP_HTYPE) && in ebt_arp_mt()35 if ((info->bitmask & EBT_ARP_PTYPE) && in ebt_arp_mt()39 if (info->bitmask & (EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_GRAT)) { in ebt_arp_mt()55 if ((info->bitmask & EBT_ARP_SRC_IP) && in ebt_arp_mt()59 if ((info->bitmask & EBT_ARP_DST_IP) && in ebt_arp_mt()63 if ((info->bitmask & EBT_ARP_GRAT) && in ebt_arp_mt()68 if (info->bitmask & (EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC)) { in ebt_arp_mt()74 if (info->bitmask & EBT_ARP_SRC_MAC) { in ebt_arp_mt()85 if (info->bitmask & EBT_ARP_DST_MAC) { in ebt_arp_mt()[all …]
32 if (info->bitmask & ~EBT_LOG_MASK) in ebt_log_tg_check()79 unsigned int bitmask; in ebt_log_packet() local93 bitmask = loginfo->u.log.logflags; in ebt_log_packet()95 bitmask = NF_LOG_DEFAULT_MASK; in ebt_log_packet()97 if ((bitmask & EBT_LOG_IP) && eth_hdr(skb)->h_proto == in ebt_log_packet()114 if ((bitmask & EBT_LOG_IP6) && eth_hdr(skb)->h_proto == in ebt_log_packet()138 if ((bitmask & EBT_LOG_ARP) && in ebt_log_packet()187 li.u.log.logflags = info->bitmask; in ebt_log_tg()193 if (info->bitmask & EBT_LOG_NFLOG) in ebt_log_tg()
22 #define GET_BITMASK(_BIT_MASK_) info->bitmask & _BIT_MASK_92 if (info->bitmask & ~EBT_VLAN_MASK) { in ebt_vlan_mt_check()94 info->bitmask, EBT_VLAN_MASK); in ebt_vlan_mt_check()124 info->bitmask &= ~EBT_VLAN_PRIO; in ebt_vlan_mt_check()
29 if (info->bitmask & EBT_802_3_SAP) { in ebt_802_3_mt()36 if (info->bitmask & EBT_802_3_TYPE) { in ebt_802_3_mt()50 if (info->bitmask & ~EBT_802_3_MASK || info->invflags & ~EBT_802_3_MASK) in ebt_802_3_mt_check()
130 if (e->bitmask & EBT_802_3) { in ebt_basic_match()133 } else if (!(e->bitmask & EBT_NOPROTO) && in ebt_basic_match()151 if (e->bitmask & EBT_SOURCEMAC) { in ebt_basic_match()157 if (e->bitmask & EBT_DESTMAC) { in ebt_basic_match()456 if (i != NF_BR_NUMHOOKS || !(e->bitmask & EBT_ENTRY_OR_ENTRIES)) { in ebt_verify_pointers()457 if (e->bitmask != 0) { in ebt_verify_pointers()508 if (i != NF_BR_NUMHOOKS || !e->bitmask) { in ebt_check_entry_size_and_hooks()561 if (e->bitmask) in ebt_get_udc_positions()622 if (e->bitmask == 0) in ebt_cleanup_entry()656 if (e->bitmask == 0) in ebt_check_entry()[all …]
147 if (!(info->bitmask & EBT_AMONG_SRC_NEG)) { in ebt_among_mt()162 if (!(info->bitmask & EBT_AMONG_DST_NEG)) { in ebt_among_mt()
669 NETLBL_CATMAP_MAPTYPE bitmask; in netlbl_catmap_walkrng() local683 bitmask = NETLBL_CATMAP_BIT << bit; in netlbl_catmap_walkrng()687 while (bitmask != 0 && (bitmap & bitmask) != 0) { in netlbl_catmap_walkrng()688 bitmask <<= 1; in netlbl_catmap_walkrng()694 else if (bitmask != 0) in netlbl_catmap_walkrng()704 bitmask = NETLBL_CATMAP_BIT; in netlbl_catmap_walkrng()886 unsigned char bitmask; in netlbl_bitmap_walk() local894 bitmask = 0x80 >> (offset % 8); in netlbl_bitmap_walk()897 if ((state && (byte & bitmask) == bitmask) || in netlbl_bitmap_walk()898 (state == 0 && (byte & bitmask) == 0)) in netlbl_bitmap_walk()[all …]
5866 unsigned long bitmask = napi->gro_bitmask; in napi_gro_flush() local5869 while ((i = ffs(bitmask)) != 0) { in napi_gro_flush()5870 bitmask >>= i; in napi_gro_flush()