unsigned int __nocast allocation = (msgflg == NSP_CI) ? sk->sk_allocation : GFP_ATOMIC; 
gfp_t allocation = (msgflg == NSP_CI) ? sk->sk_allocation : GFP_ATOMIC; 
void dn_nsp_send_conninit(struct sock *sk, unsigned char msgflg){	struct dn_scp *scp = DN_SK(sk);	struct nsp_conn_init_msg *msg;	unsigned char aux;	unsigned char menuver;	struct dn_skb_cb *cb;	unsigned char type = 1;	unsigned int __nocast allocation =			(msgflg == NSP_CI) ? sk->sk_allocation : GFP_ATOMIC;	struct sk_buff *skb = dn_alloc_skb(sk, 200, allocation);	if (!skb)		return;	cb  = DN_SKB_CB(skb);	msg = (struct nsp_conn_init_msg *)skb_put(skb,sizeof(*msg));	msg->msgflg	= msgflg;	msg->dstaddr	= 0x0000;		/* Remote Node will assign it*/	msg->srcaddr	= scp->addrloc;	msg->services	= scp->services_loc;	/* Requested flow control    */	msg->info	= scp->info_loc;	/* Version Number            */		msg->segsize	= dn_htons(scp->segsize_loc);	/* Max segment size  */		if (scp->peer.sdn_objnum)		type = 0;	skb_put(skb, dn_sockaddr2username(&scp->peer, skb->tail, type));	skb_put(skb, dn_sockaddr2username(&scp->addr, skb->tail, 2));	menuver = DN_MENUVER_ACC | DN_MENUVER_USR;	if (scp->peer.sdn_flags & SDF_PROXY)		menuver |= DN_MENUVER_PRX;	if (scp->peer.sdn_flags & SDF_UICPROXY)		menuver |= DN_MENUVER_UIC;	*skb_put(skb, 1) = menuver;	/* Menu Version		*/		aux = scp->accessdata.acc_userl;	*skb_put(skb, 1) = aux;	if (aux > 0)	memcpy(skb_put(skb, aux), scp->accessdata.acc_user, aux);	aux = scp->accessdata.acc_passl;	*skb_put(skb, 1) = aux;	if (aux > 0)	memcpy(skb_put(skb, aux), scp->accessdata.acc_pass, aux);	aux = scp->accessdata.acc_accl;	*skb_put(skb, 1) = aux;	if (aux > 0)	memcpy(skb_put(skb, aux), scp->accessdata.acc_acc, aux);	aux = scp->conndata_out.opt_optl;	*skb_put(skb, 1) = aux;	if (aux > 0)	memcpy(skb_put(skb,aux), scp->conndata_out.opt_data, aux);	scp->persist = dn_nsp_persist(sk);	scp->persist_fxn = dn_nsp_retrans_conninit;	cb->rt_flags = DN_RT_F_RQR;	dn_nsp_send(skb);	}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/dd0fc66fb33cd610bc1a5db8a5e232d34879b4d7/dn_nsp_out.c/buggy/net/decnet/dn_nsp_out.c