Home
last modified time | relevance | path

Searched refs:NLA_PUT (Results 1 – 25 of 73) sorted by relevance

123

/linux-3.4.99/net/ieee802154/
Dnl-mac.c68 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_assoc_indic()
71 NLA_PUT(msg, IEEE802154_ATTR_SRC_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_assoc_indic()
97 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_assoc_confirm()
124 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_disassoc_indic()
128 NLA_PUT(msg, IEEE802154_ATTR_SRC_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_disassoc_indic()
156 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_disassoc_confirm()
182 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_beacon_indic()
209 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_scan_confirm()
218 NLA_PUT(msg, IEEE802154_ATTR_ED_LIST, 27, edl); in ieee802154_nl_scan_confirm()
240 NLA_PUT(msg, IEEE802154_ATTR_HW_ADDR, IEEE802154_ADDR_LEN, in ieee802154_nl_start_confirm()
[all …]
/linux-3.4.99/net/sched/
Dact_skbedit.c169 NLA_PUT(skb, TCA_SKBEDIT_PARMS, sizeof(opt), &opt); in tcf_skbedit_dump()
171 NLA_PUT(skb, TCA_SKBEDIT_PRIORITY, sizeof(d->priority), in tcf_skbedit_dump()
174 NLA_PUT(skb, TCA_SKBEDIT_QUEUE_MAPPING, in tcf_skbedit_dump()
177 NLA_PUT(skb, TCA_SKBEDIT_MARK, sizeof(d->mark), in tcf_skbedit_dump()
182 NLA_PUT(skb, TCA_SKBEDIT_TM, sizeof(t), &t); in tcf_skbedit_dump()
Dact_gact.c173 NLA_PUT(skb, TCA_GACT_PARMS, sizeof(opt), &opt); in tcf_gact_dump()
182 NLA_PUT(skb, TCA_GACT_PROB, sizeof(p_opt), &p_opt); in tcf_gact_dump()
188 NLA_PUT(skb, TCA_GACT_TM, sizeof(t), &t); in tcf_gact_dump()
Dsch_netem.c823 NLA_PUT(skb, NETEM_LOSS_GI, sizeof(gi), &gi); in dump_loss_model()
834 NLA_PUT(skb, NETEM_LOSS_GE, sizeof(ge), &ge); in dump_loss_model()
863 NLA_PUT(skb, TCA_OPTIONS, sizeof(qopt), &qopt); in netem_dump()
868 NLA_PUT(skb, TCA_NETEM_CORR, sizeof(cor), &cor); in netem_dump()
872 NLA_PUT(skb, TCA_NETEM_REORDER, sizeof(reorder), &reorder); in netem_dump()
876 NLA_PUT(skb, TCA_NETEM_CORRUPT, sizeof(corrupt), &corrupt); in netem_dump()
882 NLA_PUT(skb, TCA_NETEM_RATE, sizeof(rate), &rate); in netem_dump()
Dact_ipt.c270 NLA_PUT(skb, TCA_IPT_TARG, ipt->tcfi_t->u.user.target_size, t); in tcf_ipt_dump()
273 NLA_PUT(skb, TCA_IPT_CNT, sizeof(struct tc_cnt), &c); in tcf_ipt_dump()
278 NLA_PUT(skb, TCA_IPT_TM, sizeof (tm), &tm); in tcf_ipt_dump()
Dact_simple.c175 NLA_PUT(skb, TCA_DEF_PARMS, sizeof(opt), &opt); in tcf_simp_dump()
180 NLA_PUT(skb, TCA_DEF_TM, sizeof(t), &t); in tcf_simp_dump()
Dact_pedit.c218 NLA_PUT(skb, TCA_PEDIT_PARMS, s, opt); in tcf_pedit_dump()
222 NLA_PUT(skb, TCA_PEDIT_TM, sizeof(t), &t); in tcf_pedit_dump()
Dact_mirred.c229 NLA_PUT(skb, TCA_MIRRED_PARMS, sizeof(opt), &opt); in tcf_mirred_dump()
233 NLA_PUT(skb, TCA_MIRRED_TM, sizeof(t), &t); in tcf_mirred_dump()
Dact_nat.c287 NLA_PUT(skb, TCA_NAT_PARMS, sizeof(opt), &opt); in tcf_nat_dump()
291 NLA_PUT(skb, TCA_NAT_TM, sizeof(t), &t); in tcf_nat_dump()
Dematch.c444 NLA_PUT(skb, TCA_EMATCH_TREE_HDR, sizeof(tree->hdr), &tree->hdr); in tcf_em_tree_dump()
460 NLA_PUT(skb, i + 1, sizeof(em_hdr), &em_hdr); in tcf_em_tree_dump()
Dcls_rsvp.h618 NLA_PUT(skb, TCA_RSVP_DST, sizeof(s->dst), &s->dst); in rsvp_dump()
625 NLA_PUT(skb, TCA_RSVP_PINFO, sizeof(pinfo), &pinfo); in rsvp_dump()
629 NLA_PUT(skb, TCA_RSVP_SRC, sizeof(f->src), f->src); in rsvp_dump()
/linux-3.4.99/net/8021q/
Dvlan_netlink.c173 NLA_PUT(skb, IFLA_VLAN_FLAGS, sizeof(f), &f); in vlan_fill_info()
186 NLA_PUT(skb, IFLA_VLAN_QOS_MAPPING, in vlan_fill_info()
205 NLA_PUT(skb, IFLA_VLAN_QOS_MAPPING, in vlan_fill_info()
/linux-3.4.99/drivers/net/can/
Ddev.c690 NLA_PUT(skb, IFLA_CAN_CTRLMODE, sizeof(cm), &cm); in can_fill_info()
692 NLA_PUT(skb, IFLA_CAN_BITTIMING, in can_fill_info()
694 NLA_PUT(skb, IFLA_CAN_CLOCK, sizeof(cm), &priv->clock); in can_fill_info()
696 NLA_PUT(skb, IFLA_CAN_BERR_COUNTER, sizeof(bec), &bec); in can_fill_info()
698 NLA_PUT(skb, IFLA_CAN_BITTIMING_CONST, in can_fill_info()
716 NLA_PUT(skb, IFLA_INFO_XSTATS, in can_fill_xstats()
/linux-3.4.99/drivers/net/wireless/wl12xx/
Dtestmode.c119 NLA_PUT(skb, WL1271_TM_ATTR_DATA, buf_len, buf); in wl1271_tm_cmd_test()
181 NLA_PUT(skb, WL1271_TM_ATTR_DATA, sizeof(*cmd), cmd); in wl1271_tm_cmd_interrogate()
300 NLA_PUT(skb, WL1271_TM_ATTR_DATA, ETH_ALEN, mac_addr); in wl12xx_tm_cmd_get_mac()
/linux-3.4.99/drivers/net/wireless/iwlwifi/
Diwl-testmode.c189 NLA_PUT(skb, IWL_TM_ATTR_UCODE_RX_PKT, length + sizeof(__le32), data); in iwl_testmode_ucode_rx_pkt()
318 NLA_PUT(skb, IWL_TM_ATTR_UCODE_RX_PKT, reply_len, reply_buf); in iwl_testmode_ucode()
483 NLA_PUT(skb, IWL_TM_ATTR_SYNC_RSP, in iwl_testmode_driver()
541 NLA_PUT(skb, IWL_TM_ATTR_EEPROM, in iwl_testmode_driver()
681 NLA_PUT(skb, IWL_TM_ATTR_TRACE_ADDR, in iwl_testmode_trace()
728 NLA_PUT(skb, IWL_TM_ATTR_TRACE_DUMP, length, in iwl_testmode_trace_dump()
925 NLA_PUT(skb, IWL_TM_ATTR_BUFFER_DUMP, length, in iwl_testmode_buffer_dump()
/linux-3.4.99/include/net/
Dnetlink.h831 #define NLA_PUT(skb, attrtype, attrlen, data) \ macro
840 NLA_PUT(skb, attrtype, sizeof(type), &__tmp); \
877 NLA_PUT(skb, attrtype, strlen(value) + 1, value)
880 NLA_PUT(skb, attrtype, 0, NULL)
/linux-3.4.99/drivers/net/wireless/ath/ath6kl/
Dtestmode.c59 NLA_PUT(skb, ATH6KL_TM_ATTR_DATA, buf_len, buf); in ath6kl_tm_rx_event()
/linux-3.4.99/crypto/
Dcrypto_user.c84 NLA_PUT(skb, CRYPTOCFGA_REPORT_CIPHER, in crypto_report_cipher()
98 NLA_PUT(skb, CRYPTOCFGA_REPORT_COMPRESS, in crypto_report_comp()
127 NLA_PUT(skb, CRYPTOCFGA_REPORT_LARVAL, in crypto_report_one()
Dpcompress.c57 NLA_PUT(skb, CRYPTOCFGA_REPORT_COMPRESS, in crypto_pcomp_report()
Drng.c72 NLA_PUT(skb, CRYPTOCFGA_REPORT_RNG, in crypto_rng_report()
/linux-3.4.99/net/wireless/
Dnl80211.c755 NLA_PUT(msg, NL80211_ATTR_CIPHER_SUITES, in nl80211_send_wiphy()
803 NLA_PUT(msg, NL80211_BAND_ATTR_HT_MCS_SET, in nl80211_send_wiphy()
1021 NLA_PUT(msg, NL80211_WOWLAN_TRIG_PKT_PATTERN, in nl80211_send_wiphy()
1042 NLA_PUT(msg, NL80211_ATTR_HT_CAPABILITY_MASK, in nl80211_send_wiphy()
1798 NLA_PUT(cookie->msg, NL80211_ATTR_KEY_DATA, in get_key_callback()
1802 NLA_PUT(cookie->msg, NL80211_ATTR_KEY_SEQ, in get_key_callback()
1814 NLA_PUT(cookie->msg, NL80211_KEY_DATA, in get_key_callback()
1818 NLA_PUT(cookie->msg, NL80211_KEY_SEQ, in get_key_callback()
1886 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in nl80211_get_key()
2407 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in nl80211_send_station()
[all …]
/linux-3.4.99/net/netfilter/
Dnfnetlink_log.c394 NLA_PUT(inst->skb, NFULA_PACKET_HDR, sizeof(pmsg), &pmsg); in __build_packet_message()
397 NLA_PUT(inst->skb, NFULA_PREFIX, plen, prefix); in __build_packet_message()
462 NLA_PUT(inst->skb, NFULA_HWADDR, sizeof(phw), &phw); in __build_packet_message()
470 NLA_PUT(inst->skb, NFULA_HWHEADER, skb->dev->hard_header_len, in __build_packet_message()
480 NLA_PUT(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts); in __build_packet_message()
/linux-3.4.99/net/ipv6/
Dfib6_rules.c219 NLA_PUT(skb, FRA_DST, sizeof(struct in6_addr), in fib6_rule_fill()
223 NLA_PUT(skb, FRA_SRC, sizeof(struct in6_addr), in fib6_rule_fill()
/linux-3.4.99/net/ipv6/netfilter/
Dnf_conntrack_l3proto_ipv6.c281 NLA_PUT(skb, CTA_IP_V6_SRC, sizeof(u_int32_t) * 4, in ipv6_tuple_to_nlattr()
283 NLA_PUT(skb, CTA_IP_V6_DST, sizeof(u_int32_t) * 4, in ipv6_tuple_to_nlattr()
/linux-3.4.99/net/nfc/
Dnetlink.c71 NLA_PUT(msg, NFC_ATTR_TARGET_NFCID1, target->nfcid1_len, in nfc_genl_send_target()
74 NLA_PUT(msg, NFC_ATTR_TARGET_SENSB_RES, target->sensb_res_len, in nfc_genl_send_target()
77 NLA_PUT(msg, NFC_ATTR_TARGET_SENSF_RES, target->sensf_res_len, in nfc_genl_send_target()

123