Home
last modified time | relevance | path

Searched refs:nla_put (Results 1 – 16 of 16) sorted by relevance

/linux-2.6.39/include/net/
Dnetlink.h253 extern int nla_put(struct sk_buff *skb, int attrtype,
764 return nla_put(skb, attrtype, sizeof(u8), &value); in nla_put_u8()
775 return nla_put(skb, attrtype, sizeof(u16), &value); in nla_put_u16()
786 return nla_put(skb, attrtype, sizeof(u32), &value); in nla_put_u32()
797 return nla_put(skb, attrtype, sizeof(u64), &value); in nla_put_u64()
809 return nla_put(skb, attrtype, strlen(str) + 1, str); in nla_put_string()
819 return nla_put(skb, attrtype, 0, NULL); in nla_put_flag()
832 return nla_put(skb, attrtype, sizeof(u64), &tmp); in nla_put_msecs()
837 if (unlikely(nla_put(skb, attrtype, attrlen, data) < 0)) \
1002 if (nla_put(skb, attrtype, 0, NULL) < 0) in nla_nest_start()
/linux-2.6.39/net/netlabel/
Dnetlabel_mgmt.c300 ret_val = nla_put(skb, NLBL_MGMT_A_IPV4ADDR, in netlbl_mgmt_listentry()
306 ret_val = nla_put(skb, NLBL_MGMT_A_IPV4MASK, in netlbl_mgmt_listentry()
336 ret_val = nla_put(skb, NLBL_MGMT_A_IPV6ADDR, in netlbl_mgmt_listentry()
341 ret_val = nla_put(skb, NLBL_MGMT_A_IPV6MASK, in netlbl_mgmt_listentry()
Dnetlabel_unlabeled.c1163 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1171 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1180 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1187 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1200 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
/linux-2.6.39/lib/
Dnlattr.c446 int nla_put(struct sk_buff *skb, int attrtype, int attrlen, const void *data) in nla_put() function
454 EXPORT_SYMBOL(nla_put);
/linux-2.6.39/net/ipv4/
Dtcp_vegas.c302 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_vegas_get_info()
Dtcp_westwood.c270 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_westwood_info()
Dtcp_illinois.c321 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_illinois_info()
/linux-2.6.39/kernel/
Dtaskstats.c384 if (nla_put(skb, TASKSTATS_TYPE_NULL, 0, NULL) < 0) in mk_reply()
391 if (nla_put(skb, type, sizeof(pid), &pid) < 0) in mk_reply()
/linux-2.6.39/net/wimax/
Dop-msg.c157 result = nla_put(skb, WIMAX_GNL_MSG_DATA, size, msg); in wimax_msg_alloc()
/linux-2.6.39/net/ipv6/
Daddrlabel.c483 if (nla_put(skb, IFAL_ADDRESS, 16, &p->prefix) < 0 || in ip6addrlbl_fill()
Daddrconf.c3437 return nla_put(skb, IFA_CACHEINFO, sizeof(ci), &ci); in put_cacheinfo()
3493 if (nla_put(skb, IFA_ADDRESS, 16, &ifa->addr) < 0 || in inet6_fill_ifaddr()
3517 if (nla_put(skb, IFA_MULTICAST, 16, &ifmca->mca_addr) < 0 || in inet6_fill_ifmcaddr()
3542 if (nla_put(skb, IFA_ANYCAST, 16, &ifaca->aca_addr) < 0 || in inet6_fill_ifacaddr()
/linux-2.6.39/net/xfrm/
Dxfrm_user.c1416 return nla_put(skb, XFRMA_TMPL, in copy_to_user_tmpl()
1451 return nla_put(skb, XFRMA_POLICY_TYPE, sizeof(upt), &upt); in copy_to_user_policy_type()
2109 return nla_put(skb, XFRMA_MIGRATE, sizeof(um), &um); in copy_to_user_migrate()
2122 return nla_put(skb, XFRMA_KMADDRESS, sizeof(uk), &uk); in copy_to_user_kmaddress()
/linux-2.6.39/net/dcb/
Ddcbnl.c340 ret = nla_put(dcbnl_skb, DCB_ATTR_PERM_HWADDR, sizeof(perm_addr), in dcbnl_getperm_hwaddr()
1333 err = nla_put(skb, DCB_ATTR_IEEE_APP, sizeof(itr->app), in dcbnl_ieee_get()
/linux-2.6.39/net/core/
Drtnetlink.c619 return nla_put(skb, RTA_CACHEINFO, sizeof(ci), &ci); in rtnl_put_cacheinfo()
Dneighbour.c2163 if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { in neigh_fill_info()
/linux-2.6.39/drivers/scsi/
Dpmcraid.c1498 result = nla_put(skb, PMCRAID_AEN_ATTR_EVENT, data_size, aen_msg); in pmcraid_notify_aen()