Lines Matching refs:dst
78 __be32 dst[RSVP_DST_LEN]; member
100 static inline unsigned int hash_dst(__be32 *dst, u8 protocol, u8 tunnelid) in hash_dst() argument
102 unsigned int h = (__force __u32)dst[RSVP_DST_LEN - 1]; in hash_dst()
140 __be32 *dst, *src; in rsvp_classify() local
162 dst = &nhptr->daddr.s6_addr32[0]; in rsvp_classify()
167 dst = &nhptr->daddr; in rsvp_classify()
174 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
178 if (dst[RSVP_DST_LEN-1] == s->dst[RSVP_DST_LEN - 1] && in rsvp_classify()
183 dst[0] == s->dst[0] && in rsvp_classify()
184 dst[1] == s->dst[1] && in rsvp_classify()
185 dst[2] == s->dst[2] && in rsvp_classify()
433 __be32 *dst; in rsvp_change() local
487 dst = nla_data(tb[TCA_RSVP_DST]); in rsvp_change()
488 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
506 if (dst[RSVP_DST_LEN-1] == s->dst[RSVP_DST_LEN-1] && in rsvp_change()
510 dst[0] == s->dst[0] && in rsvp_change()
511 dst[1] == s->dst[1] && in rsvp_change()
512 dst[2] == s->dst[2] && in rsvp_change()
545 memcpy(s->dst, dst, sizeof(s->dst)); in rsvp_change()
619 if (nla_put(skb, TCA_RSVP_DST, sizeof(s->dst), &s->dst)) in rsvp_dump()