/linux-2.6.39/include/net/ |
D | netlink.h | 253 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/ |
D | netlabel_mgmt.c | 300 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()
|
D | netlabel_unlabeled.c | 1163 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/ |
D | nlattr.c | 446 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/ |
D | tcp_vegas.c | 302 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_vegas_get_info()
|
D | tcp_westwood.c | 270 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_westwood_info()
|
D | tcp_illinois.c | 321 nla_put(skb, INET_DIAG_VEGASINFO, sizeof(info), &info); in tcp_illinois_info()
|
/linux-2.6.39/kernel/ |
D | taskstats.c | 384 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/ |
D | op-msg.c | 157 result = nla_put(skb, WIMAX_GNL_MSG_DATA, size, msg); in wimax_msg_alloc()
|
/linux-2.6.39/net/ipv6/ |
D | addrlabel.c | 483 if (nla_put(skb, IFAL_ADDRESS, 16, &p->prefix) < 0 || in ip6addrlbl_fill()
|
D | addrconf.c | 3437 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/ |
D | xfrm_user.c | 1416 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/ |
D | dcbnl.c | 340 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/ |
D | rtnetlink.c | 619 return nla_put(skb, RTA_CACHEINFO, sizeof(ci), &ci); in rtnl_put_cacheinfo()
|
D | neighbour.c | 2163 if (nla_put(skb, NDA_LLADDR, neigh->dev->addr_len, haddr) < 0) { in neigh_fill_info()
|
/linux-2.6.39/drivers/scsi/ |
D | pmcraid.c | 1498 result = nla_put(skb, PMCRAID_AEN_ATTR_EVENT, data_size, aen_msg); in pmcraid_notify_aen()
|