nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ifm)); 
nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*ifm), flags); 
static int dn_dev_fill_ifaddr(struct sk_buff *skb, struct dn_ifaddr *ifa,				u32 pid, u32 seq, int event){	struct ifaddrmsg *ifm;	struct nlmsghdr *nlh;	unsigned char *b = skb->tail;	nlh = NLMSG_PUT(skb, pid, seq, event, sizeof(*ifm));	ifm = NLMSG_DATA(nlh);	ifm->ifa_family = AF_DECnet;	ifm->ifa_prefixlen = 16;	ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT;	ifm->ifa_scope = ifa->ifa_scope;	ifm->ifa_index = ifa->ifa_dev->dev->ifindex;	if (ifa->ifa_address)		RTA_PUT(skb, IFA_ADDRESS, 2, &ifa->ifa_address);	if (ifa->ifa_local)		RTA_PUT(skb, IFA_LOCAL, 2, &ifa->ifa_local);	if (ifa->ifa_label[0])		RTA_PUT(skb, IFA_LABEL, IFNAMSIZ, &ifa->ifa_label);	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_dev.c/clean/net/decnet/dn_dev.c