Home
last modified time | relevance | path

Searched refs:r_preference (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/net/decnet/
Ddn_rules.c42 u32 r_preference; member
62 r_preference: 0x7fff,
87 (!rta[RTA_PRIORITY-1] || memcmp(RTA_DATA(rta[RTA_PRIORITY-1]), &r->r_preference, 4) == 0) && in dn_fib_rtm_delrule()
164 memcpy(&new_r->r_preference, RTA_DATA(rta[RTA_PRIORITY-1]), 4); in dn_fib_rtm_newrule()
177 if (!new_r->r_preference) { in dn_fib_rtm_newrule()
181 if (r->r_preference) in dn_fib_rtm_newrule()
182 new_r->r_preference = r->r_preference - 1; in dn_fib_rtm_newrule()
187 if (r->r_preference > new_r->r_preference) in dn_fib_rtm_newrule()
331 if (r->r_preference) in dn_fib_fill_rule()
332 RTA_PUT(skb, RTA_PRIORITY, 4, &r->r_preference); in dn_fib_fill_rule()
/linux-2.4.37.9/net/ipv4/
Dfib_rules.c56 u32 r_preference; member
81 r_preference: 0x7FFF,
89 r_preference: 0x7FFE,
121 (!rta[RTA_PRIORITY-1] || memcmp(RTA_DATA(rta[RTA_PRIORITY-1]), &r->r_preference, 4) == 0) && in inet_rtm_delrule()
208 memcpy(&new_r->r_preference, RTA_DATA(rta[RTA_PRIORITY-1]), 4); in inet_rtm_newrule()
225 if (!new_r->r_preference) { in inet_rtm_newrule()
229 if (r->r_preference) in inet_rtm_newrule()
230 new_r->r_preference = r->r_preference - 1; in inet_rtm_newrule()
235 if (r->r_preference > new_r->r_preference) in inet_rtm_newrule()
428 if (r->r_preference) in inet_fill_rule()
[all …]