Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 21 of 21) sorted by relevance

/net/nfc/
Ddigital_technology.c216 struct sk_buff *resp) in digital_in_recv_ats() argument
222 if (IS_ERR(resp)) { in digital_in_recv_ats()
223 rc = PTR_ERR(resp); in digital_in_recv_ats()
224 resp = NULL; in digital_in_recv_ats()
228 if (resp->len < 2) { in digital_in_recv_ats()
233 fsdi = DIGITAL_ATS_FSCI(resp->data[1]); in digital_in_recv_ats()
244 dev_kfree_skb(resp); in digital_in_recv_ats()
273 struct sk_buff *resp) in digital_in_recv_sel_res() argument
280 if (IS_ERR(resp)) { in digital_in_recv_sel_res()
281 rc = PTR_ERR(resp); in digital_in_recv_sel_res()
[all …]
Ddigital_dep.c107 struct sk_buff *resp);
109 struct sk_buff *resp);
232 struct sk_buff *resp, in digital_recv_dep_data_gather() argument
252 if (resp->len > skb_tailroom(ddev->chaining_skb)) { in digital_recv_dep_data_gather()
267 skb_put_data(ddev->chaining_skb, resp->data, resp->len); in digital_recv_dep_data_gather()
269 kfree_skb(resp); in digital_recv_dep_data_gather()
270 resp = NULL; in digital_recv_dep_data_gather()
280 resp = ddev->chaining_skb; in digital_recv_dep_data_gather()
284 return resp; in digital_recv_dep_data_gather()
287 kfree_skb(resp); in digital_recv_dep_data_gather()
[all …]
Ddigital_core.c35 struct sk_buff *resp; member
130 if (!IS_ERR(cmd->resp)) in digital_wq_cmd_complete()
132 cmd->resp->data, cmd->resp->len, false); in digital_wq_cmd_complete()
134 cmd->cmd_cb(ddev, cmd->cb_context, cmd->resp); in digital_wq_cmd_complete()
143 void *arg, struct sk_buff *resp) in digital_send_cmd_complete() argument
147 cmd->resp = resp; in digital_send_cmd_complete()
664 struct sk_buff *resp) in digital_in_send_complete() argument
669 if (IS_ERR(resp)) { in digital_in_send_complete()
670 rc = PTR_ERR(resp); in digital_in_send_complete()
671 resp = NULL; in digital_in_send_complete()
[all …]
Ddigital.h78 int digital_in_recv_mifare_res(struct sk_buff *resp);
97 struct sk_buff *resp);
100 struct sk_buff *resp);
110 struct sk_buff *resp);
117 struct sk_buff *resp);
/net/rxrpc/
Drxkad.c689 struct rxkad_response *resp, in rxkad_send_response() argument
717 iov[1].iov_base = resp; in rxkad_send_response()
718 iov[1].iov_len = sizeof(*resp); in rxkad_send_response()
760 struct rxkad_response *resp, in rxkad_encrypt_response() argument
775 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted)); in rxkad_encrypt_response()
778 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); in rxkad_encrypt_response()
792 struct rxkad_response *resp; in rxkad_respond_to_challenge() local
830 resp = kzalloc(sizeof(struct rxkad_response), GFP_NOFS); in rxkad_respond_to_challenge()
831 if (!resp) in rxkad_respond_to_challenge()
834 resp->version = htonl(RXKAD_VERSION); in rxkad_respond_to_challenge()
[all …]
/net/phonet/
Daf_phonet.c315 struct phonetmsg resp; in send_obj_unreachable() local
317 memset(&resp, 0, sizeof(resp)); in send_obj_unreachable()
318 resp.pn_trans_id = opm->pn_trans_id; in send_obj_unreachable()
319 resp.pn_msg_id = PN_COMMON_MESSAGE; in send_obj_unreachable()
321 resp.pn_e_res_id = opm->pn_e_res_id; in send_obj_unreachable()
322 resp.pn_e_submsg_id = PN_COMM_ISA_ENTITY_NOT_REACHABLE_RESP; in send_obj_unreachable()
323 resp.pn_e_orig_msg_id = opm->pn_msg_id; in send_obj_unreachable()
324 resp.pn_e_status = 0; in send_obj_unreachable()
326 resp.pn_submsg_id = PN_COMM_ISA_ENTITY_NOT_REACHABLE_RESP; in send_obj_unreachable()
327 resp.pn_orig_msg_id = opm->pn_msg_id; in send_obj_unreachable()
[all …]
/net/caif/
Dcfcnfg.c75 struct cfctrl_rsp *resp; in cfcnfg_create() local
90 resp = cfctrl_get_respfuncs(this->ctrl); in cfcnfg_create()
91 resp->enum_rsp = cfctrl_enum_resp; in cfcnfg_create()
92 resp->linkerror_ind = cfctrl_resp_func; in cfcnfg_create()
93 resp->linkdestroy_rsp = cfcnfg_linkdestroy_rsp; in cfcnfg_create()
94 resp->sleep_rsp = cfctrl_resp_func; in cfcnfg_create()
95 resp->wake_rsp = cfctrl_resp_func; in cfcnfg_create()
96 resp->restart_rsp = cfctrl_resp_func; in cfcnfg_create()
97 resp->radioset_rsp = cfctrl_resp_func; in cfcnfg_create()
98 resp->linksetup_rsp = cfcnfg_linkup_rsp; in cfcnfg_create()
[all …]
/net/nfc/hci/
Dcommand.c213 struct hci_create_pipe_resp *resp; in nfc_hci_create_pipe() local
228 resp = (struct hci_create_pipe_resp *)skb->data; in nfc_hci_create_pipe()
229 pipe = resp->pipe; in nfc_hci_create_pipe()
/net/mac80211/
Dagg-rx.c186 struct ieee80211_addba_ext_ie *resp; in ieee80211_add_addbaext() local
192 resp = (struct ieee80211_addba_ext_ie *)pos; in ieee80211_add_addbaext()
193 resp->data = req->data & IEEE80211_ADDBA_EXT_NO_FRAG; in ieee80211_add_addbaext()
195 resp->data |= u8_encode_bits(buf_size >> IEEE80211_ADDBA_EXT_BUF_SIZE_SHIFT, in ieee80211_add_addbaext()
Drx.c3282 struct ieee80211_mgmt *resp; in ieee80211_process_sa_query_req() local
3295 if (len < 24 + 1 + sizeof(resp->u.action.u.sa_query)) { in ieee80211_process_sa_query_req()
3300 skb = dev_alloc_skb(sizeof(*resp) + local->hw.extra_tx_headroom); in ieee80211_process_sa_query_req()
3305 resp = skb_put_zero(skb, 24); in ieee80211_process_sa_query_req()
3306 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req()
3307 memcpy(resp->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_process_sa_query_req()
3308 memcpy(resp->bssid, sdata->deflink.u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req()
3309 resp->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_process_sa_query_req()
3311 skb_put(skb, 1 + sizeof(resp->u.action.u.sa_query)); in ieee80211_process_sa_query_req()
3312 resp->u.action.category = WLAN_CATEGORY_SA_QUERY; in ieee80211_process_sa_query_req()
[all …]
Dmlme.c5302 struct cfg80211_rx_assoc_resp resp = { in ieee80211_rx_mgmt_assoc_resp() local
5460 resp.links[link_id].bss = assoc_data->link[link_id].bss; in ieee80211_rx_mgmt_assoc_resp()
5461 ether_addr_copy(resp.links[link_id].addr, in ieee80211_rx_mgmt_assoc_resp()
5463 resp.links[link_id].status = assoc_data->link[link_id].status; in ieee80211_rx_mgmt_assoc_resp()
5470 resp.uapsd_queues = 0; in ieee80211_rx_mgmt_assoc_resp()
5473 resp.uapsd_queues |= ieee80211_ac_to_qos_mask[ac]; in ieee80211_rx_mgmt_assoc_resp()
5478 resp.ap_mld_addr = ap_mld_addr; in ieee80211_rx_mgmt_assoc_resp()
5486 resp.buf = (u8 *)mgmt; in ieee80211_rx_mgmt_assoc_resp()
5487 resp.len = len; in ieee80211_rx_mgmt_assoc_resp()
5488 resp.req_ies = ifmgd->assoc_req_ies; in ieee80211_rx_mgmt_assoc_resp()
[all …]
Dtx.c4970 struct probe_resp *resp; in ieee80211_set_beacon_cntdwn() local
4992 resp = rcu_dereference(link->u.ap.probe_resp); in ieee80211_set_beacon_cntdwn()
5006 if (sdata->vif.type == NL80211_IFTYPE_AP && resp) { in ieee80211_set_beacon_cntdwn()
5007 u16 *resp_offsets = resp->cntdwn_counter_offsets; in ieee80211_set_beacon_cntdwn()
5009 resp->data[resp_offsets[i]] = count; in ieee80211_set_beacon_cntdwn()
Dcfg.c949 const u8 *resp, size_t resp_len, in ieee80211_set_probe_resp() argument
956 if (!resp || !resp_len) in ieee80211_set_probe_resp()
966 memcpy(new->data, resp, resp_len); in ieee80211_set_probe_resp()
/net/wireless/
Dpmsr.c485 struct nlattr *pmsr, *peers, *peer, *resp, *data, *typedata; in nl80211_pmsr_send_result() local
502 resp = nla_nest_start_noflag(msg, NL80211_PMSR_PEER_ATTR_RESP); in nl80211_pmsr_send_result()
503 if (!resp) in nl80211_pmsr_send_result()
538 nla_nest_end(msg, resp); in nl80211_pmsr_send_result()
/net/bluetooth/bnep/
Dcore.c79 static int bnep_send_rsp(struct bnep_session *s, u8 ctrl, u16 resp) in bnep_send_rsp() argument
84 rsp.resp = htons(resp); in bnep_send_rsp()
Dbnep.h90 __be16 resp; member
/net/sctp/
Dstream.c920 struct sctp_strreset_resp *resp = param.v; in sctp_process_strreset_resp() local
926 req = sctp_chunk_lookup_strreset_param(asoc, resp->response_seq, 0); in sctp_process_strreset_resp()
930 result = ntohl(resp->result); in sctp_process_strreset_resp()
999 resptsn = (struct sctp_strreset_resptsn *)resp; in sctp_process_strreset_resp()
Dsm_make_chunk.c3812 struct sctp_strreset_resp resp; in sctp_make_strreset_resp() local
3813 __u16 length = sizeof(resp); in sctp_make_strreset_resp()
3820 resp.param_hdr.type = SCTP_PARAM_RESET_RESPONSE; in sctp_make_strreset_resp()
3821 resp.param_hdr.length = htons(length); in sctp_make_strreset_resp()
3822 resp.response_seq = htonl(sn); in sctp_make_strreset_resp()
3823 resp.result = htonl(result); in sctp_make_strreset_resp()
3825 sctp_addto_chunk(retval, sizeof(resp), &resp); in sctp_make_strreset_resp()
/net/nfc/nci/
Dhci.c525 const struct nci_hci_create_pipe_resp *resp; in nci_hci_create_pipe() local
539 resp = (struct nci_hci_create_pipe_resp *)skb->data; in nci_hci_create_pipe()
540 pipe = resp->pipe; in nci_hci_create_pipe()
Dcore.c426 struct sk_buff **resp) in nci_nfcc_loopback() argument
467 if (r == NCI_STATUS_OK && resp) in nci_nfcc_loopback()
468 *resp = conn_info->rx_skb; in nci_nfcc_loopback()
/net/
DKconfig221 Enabling this option will let arptables resp. iptables see bridged
222 ARP resp. IP traffic. If you want a bridging firewall, you probably