Home
last modified time | relevance | path

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

/linux-2.4.37.9/net/decnet/
Ddn_rules.c56 char r_ifname[IFNAMSIZ]; member
88 (!rta[RTA_IIF-1] || strcmp(RTA_DATA(rta[RTA_IIF-1]), r->r_ifname) == 0) && in dn_fib_rtm_delrule()
168 memcpy(new_r->r_ifname, RTA_DATA(rta[RTA_IIF-1]), IFNAMSIZ); in dn_fib_rtm_newrule()
169 new_r->r_ifname[IFNAMSIZ-1] = 0; in dn_fib_rtm_newrule()
171 dev = __dev_get_by_name(new_r->r_ifname); in dn_fib_rtm_newrule()
273 if (r->r_ifindex == -1 && strcmp(dev->name, r->r_ifname) == 0) { in dn_fib_rules_attach()
329 if (r->r_ifname[0]) in dn_fib_fill_rule()
330 RTA_PUT(skb, RTA_IIF, IFNAMSIZ, &r->r_ifname); in dn_fib_fill_rule()
/linux-2.4.37.9/net/ipv4/
Dfib_rules.c75 char r_ifname[IFNAMSIZ]; member
122 (!rta[RTA_IIF-1] || strcmp(RTA_DATA(rta[RTA_IIF-1]), r->r_ifname) == 0) && in inet_rtm_delrule()
212 memcpy(new_r->r_ifname, RTA_DATA(rta[RTA_IIF-1]), IFNAMSIZ); in inet_rtm_newrule()
213 new_r->r_ifname[IFNAMSIZ-1] = 0; in inet_rtm_newrule()
215 dev = __dev_get_by_name(new_r->r_ifname); in inet_rtm_newrule()
302 if (r->r_ifindex == -1 && strcmp(dev->name, r->r_ifname) == 0) { in fib_rules_attach()
426 if (r->r_ifname[0]) in inet_fill_rule()
427 RTA_PUT(skb, RTA_IIF, IFNAMSIZ, &r->r_ifname); in inet_fill_rule()