nlh->nlmsg_flags = (nowait && pid) ? NLM_F_MULTI : 0; 
static int dn_rt_fill_info(struct sk_buff *skb, u32 pid, u32 seq, int event, int nowait){	struct dn_route *rt = (struct dn_route *)skb->dst;	struct rtmsg *r;	struct nlmsghdr *nlh;	unsigned char *b = skb->tail;	struct rta_cacheinfo ci;	nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*r));	r = NLMSG_DATA(nlh);	nlh->nlmsg_flags = (nowait && pid) ? NLM_F_MULTI : 0;	r->rtm_family = AF_DECnet;	r->rtm_dst_len = 16;	r->rtm_src_len = 0;	r->rtm_tos = 0;	r->rtm_table = RT_TABLE_MAIN;	r->rtm_type = rt->rt_type;	r->rtm_flags = (rt->rt_flags & ~0xFFFF) | RTM_F_CLONED;	r->rtm_scope = RT_SCOPE_UNIVERSE;	r->rtm_protocol = RTPROT_UNSPEC;	if (rt->rt_flags & RTCF_NOTIFY)		r->rtm_flags |= RTM_F_NOTIFY;	RTA_PUT(skb, RTA_DST, 2, &rt->rt_daddr);	if (rt->fl.fld_src) {		r->rtm_src_len = 16;		RTA_PUT(skb, RTA_SRC, 2, &rt->fl.fld_src);	}	if (rt->u.dst.dev)		RTA_PUT(skb, RTA_OIF, sizeof(int), &rt->u.dst.dev->ifindex);	/*	 * Note to self - change this if input routes reverse direction when	 * they deal only with inputs and not with replies like they do	 * currently.	 */	RTA_PUT(skb, RTA_PREFSRC, 2, &rt->rt_local_src);	if (rt->rt_daddr != rt->rt_gateway)		RTA_PUT(skb, RTA_GATEWAY, 2, &rt->rt_gateway);	if (rtnetlink_put_metrics(skb, rt->u.dst.metrics) < 0)		goto rtattr_failure;	ci.rta_lastuse = jiffies_to_clock_t(jiffies - rt->u.dst.lastuse);	ci.rta_used     = rt->u.dst.__use;	ci.rta_clntref  = atomic_read(&rt->u.dst.__refcnt);	if (rt->u.dst.expires)		ci.rta_expires = jiffies_to_clock_t(rt->u.dst.expires - jiffies);	else		ci.rta_expires = 0;	ci.rta_error    = rt->u.dst.error;	ci.rta_id       = ci.rta_ts = ci.rta_tsage = 0;	RTA_PUT(skb, RTA_CACHEINFO, sizeof(ci), &ci);	if (rt->fl.iif)		RTA_PUT(skb, RTA_IIF, sizeof(int), &rt->fl.iif);	nlh->nlmsg_len = skb->tail - b;	return skb->len;nlmsg_failure:rtattr_failure:        skb_trim(skb, b - skb->data);        return -1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b6544c0b4cf2bd96195f3cdb7cebfb35090fc557/dn_route.c/clean/net/decnet/dn_route.c