Lines Matching refs:frh
122 struct fib_rule_hdr *frh, in dn_fib_rule_configure() argument
128 if (frh->tos) in dn_fib_rule_configure()
145 if (frh->src_len) in dn_fib_rule_configure()
148 if (frh->dst_len) in dn_fib_rule_configure()
151 r->src_len = frh->src_len; in dn_fib_rule_configure()
153 r->dst_len = frh->dst_len; in dn_fib_rule_configure()
160 static int dn_fib_rule_compare(struct fib_rule *rule, struct fib_rule_hdr *frh, in dn_fib_rule_compare() argument
165 if (frh->src_len && (r->src_len != frh->src_len)) in dn_fib_rule_compare()
168 if (frh->dst_len && (r->dst_len != frh->dst_len)) in dn_fib_rule_compare()
171 if (frh->src_len && (r->src != nla_get_le16(tb[FRA_SRC]))) in dn_fib_rule_compare()
174 if (frh->dst_len && (r->dst != nla_get_le16(tb[FRA_DST]))) in dn_fib_rule_compare()
199 struct fib_rule_hdr *frh) in dn_fib_rule_fill() argument
203 frh->dst_len = r->dst_len; in dn_fib_rule_fill()
204 frh->src_len = r->src_len; in dn_fib_rule_fill()
205 frh->tos = 0; in dn_fib_rule_fill()