Lines Matching refs:attr

565 		int attr, struct nl_addr ** ct_addr)
578 ct->ce_mask |= attr;
586 int attr = repl ? CT_ATTR_REPL_SRC : CT_ATTR_ORIG_SRC;
587 return ct_set_addr(ct, addr, attr, &dir->src);
593 int attr = repl ? CT_ATTR_REPL_DST : CT_ATTR_ORIG_DST;
594 return ct_set_addr(ct, addr, attr, &dir->dst);
600 int attr = repl ? CT_ATTR_REPL_SRC : CT_ATTR_ORIG_SRC;
601 if (!(ct->ce_mask & attr))
609 int attr = repl ? CT_ATTR_REPL_DST : CT_ATTR_ORIG_DST;
610 if (!(ct->ce_mask & attr))
618 int attr = repl ? CT_ATTR_REPL_SRC_PORT : CT_ATTR_ORIG_SRC_PORT;
621 ct->ce_mask |= attr;
626 int attr = repl ? CT_ATTR_REPL_SRC_PORT : CT_ATTR_ORIG_SRC_PORT;
627 return !!(ct->ce_mask & attr);
640 int attr = repl ? CT_ATTR_REPL_DST_PORT : CT_ATTR_ORIG_DST_PORT;
643 ct->ce_mask |= attr;
648 int attr = repl ? CT_ATTR_REPL_DST_PORT : CT_ATTR_ORIG_DST_PORT;
649 return !!(ct->ce_mask & attr);
662 int attr = repl ? CT_ATTR_REPL_ICMP_ID : CT_ATTR_ORIG_ICMP_ID;
665 ct->ce_mask |= attr;
670 int attr = repl ? CT_ATTR_REPL_ICMP_ID : CT_ATTR_ORIG_ICMP_ID;
671 return !!(ct->ce_mask & attr);
684 int attr = repl ? CT_ATTR_REPL_ICMP_TYPE : CT_ATTR_ORIG_ICMP_TYPE;
687 ct->ce_mask |= attr;
692 int attr = repl ? CT_ATTR_REPL_ICMP_TYPE : CT_ATTR_ORIG_ICMP_TYPE;
693 return !!(ct->ce_mask & attr);
706 int attr = repl ? CT_ATTR_REPL_ICMP_CODE : CT_ATTR_ORIG_ICMP_CODE;
709 ct->ce_mask |= attr;
714 int attr = repl ? CT_ATTR_REPL_ICMP_CODE : CT_ATTR_ORIG_ICMP_CODE;
715 return !!(ct->ce_mask & attr);
728 int attr = repl ? CT_ATTR_REPL_PACKETS : CT_ATTR_ORIG_PACKETS;
731 ct->ce_mask |= attr;
736 int attr = repl ? CT_ATTR_REPL_PACKETS : CT_ATTR_ORIG_PACKETS;
737 return !!(ct->ce_mask & attr);
750 int attr = repl ? CT_ATTR_REPL_BYTES : CT_ATTR_ORIG_BYTES;
753 ct->ce_mask |= attr;
758 int attr = repl ? CT_ATTR_REPL_BYTES : CT_ATTR_ORIG_BYTES;
759 return !!(ct->ce_mask & attr);