Searched refs:mark_mask (Results 1 – 2 of 2) sorted by relevance
/net/netfilter/ |
D | xt_TPROXY.c | 122 u_int32_t mark_mask, u_int32_t mark_value) in tproxy_tg4() argument 161 skb->mark = (skb->mark & ~mark_mask) ^ mark_value; in tproxy_tg4() 182 return tproxy_tg4(skb, tgi->laddr, tgi->lport, tgi->mark_mask, tgi->mark_value); in tproxy_tg4_v0() 190 return tproxy_tg4(skb, tgi->laddr.ip, tgi->lport, tgi->mark_mask, tgi->mark_value); in tproxy_tg4_v1() 328 skb->mark = (skb->mark & ~tgi->mark_mask) ^ tgi->mark_value; in tproxy_tg6_v1()
|
/net/core/ |
D | fib_rules.c | 227 if ((rule->mark ^ fl->flowi_mark) & rule->mark_mask) in fib_rule_match() 369 rule->mark_mask = 0xFFFFFFFF; in fib_nl_newrule() 373 rule->mark_mask = nla_get_u32(tb[FRA_FWMASK]); in fib_nl_newrule() 531 (rule->mark_mask != nla_get_u32(tb[FRA_FWMASK]))) in fib_nl_delrule() 647 ((rule->mark_mask || rule->mark) && in fib_nl_fill_rule() 648 nla_put_u32(skb, FRA_FWMASK, rule->mark_mask)) || in fib_nl_fill_rule()
|