Searched refs:nhp (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/mp/
H A Dmp_method.c476 DB_MPOOL_HASH *hp, *nhp; local
495 nhp = NULL;
531 nhp = R_ADDR(dbmp->reginfo, mp->ftab);
532 nhp += bucket;
537 if (nhp != NULL && nhp < hp)
538 MUTEX_LOCK(env, nhp->mtx_hash);
540 if (nhp != NULL && nhp > hp)
541 MUTEX_LOCK(env, nhp
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/
H A Ddn_table.c229 struct rtnexthop *nhp; local
245 nhp = RTA_DATA(rta->rta_mp);
252 if (attrlen < 0 || (nhlen -= nhp->rtnh_len) < 0)
254 if (nhp->rtnh_ifindex && nhp->rtnh_ifindex != nh->nh_oif)
257 gw = dn_fib_get_attr16(RTNH_DATA(nhp), attrlen, RTA_GATEWAY);
262 nhp = RTNH_NEXT(nhp);
327 struct rtnexthop *nhp; local
334 if (skb_tailroom(skb) < RTA_ALIGN(RTA_ALIGN(sizeof(*nhp))
[all...]
H A Ddn_fib.c162 struct rtnexthop *nhp = RTA_DATA(rta); local
166 if ((nhlen -= nhp->rtnh_len) < 0)
169 nhp = RTNH_NEXT(nhp);
177 struct rtnexthop *nhp = RTA_DATA(rta); local
182 if (attrlen < 0 || (nhlen -= nhp->rtnh_len) < 0)
185 nh->nh_flags = (r->rtm_flags&~0xFF) | nhp->rtnh_flags;
186 nh->nh_oif = nhp->rtnh_ifindex;
187 nh->nh_weight = nhp->rtnh_hops + 1;
190 nh->nh_gw = dn_fib_get_attr16(RTNH_DATA(nhp), attrle
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dipmr.c1978 struct rtnexthop *nhp; local
1993 if (skb_tailroom(skb) < RTA_ALIGN(RTA_ALIGN(sizeof(*nhp)) + 4))
1995 nhp = (struct rtnexthop *)skb_put(skb, RTA_ALIGN(sizeof(*nhp)));
1996 nhp->rtnh_flags = 0;
1997 nhp->rtnh_hops = c->mfc_un.res.ttls[ct];
1998 nhp->rtnh_ifindex = mrt->vif_table[ct].dev->ifindex;
1999 nhp->rtnh_len = sizeof(*nhp);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv6/
H A Dip6mr.c2079 struct rtnexthop *nhp; local
2094 if (skb_tailroom(skb) < RTA_ALIGN(RTA_ALIGN(sizeof(*nhp)) + 4))
2096 nhp = (struct rtnexthop *)skb_put(skb, RTA_ALIGN(sizeof(*nhp)));
2097 nhp->rtnh_flags = 0;
2098 nhp->rtnh_hops = c->mfc_un.res.ttls[ct];
2099 nhp->rtnh_ifindex = mrt->vif6_table[ct].dev->ifindex;
2100 nhp->rtnh_len = sizeof(*nhp);

Completed in 85 milliseconds