Home
last modified time | relevance | path

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

/net/nfc/
Ddigital_technology.c225 struct sk_buff *resp) in digital_in_recv_ats() argument
231 if (IS_ERR(resp)) { in digital_in_recv_ats()
232 rc = PTR_ERR(resp); in digital_in_recv_ats()
233 resp = NULL; in digital_in_recv_ats()
237 if (resp->len < 2) { in digital_in_recv_ats()
242 fsdi = DIGITAL_ATS_FSCI(resp->data[1]); in digital_in_recv_ats()
253 dev_kfree_skb(resp); in digital_in_recv_ats()
282 struct sk_buff *resp) in digital_in_recv_sel_res() argument
289 if (IS_ERR(resp)) { in digital_in_recv_sel_res()
290 rc = PTR_ERR(resp); in digital_in_recv_sel_res()
[all …]
Ddigital_dep.c119 struct sk_buff *resp);
121 struct sk_buff *resp);
244 struct sk_buff *resp, in digital_recv_dep_data_gather() argument
264 if (resp->len > skb_tailroom(ddev->chaining_skb)) { in digital_recv_dep_data_gather()
279 skb_put_data(ddev->chaining_skb, resp->data, resp->len); in digital_recv_dep_data_gather()
281 kfree_skb(resp); in digital_recv_dep_data_gather()
282 resp = NULL; in digital_recv_dep_data_gather()
292 resp = ddev->chaining_skb; in digital_recv_dep_data_gather()
296 return resp; in digital_recv_dep_data_gather()
299 kfree_skb(resp); in digital_recv_dep_data_gather()
[all …]
Ddigital_core.c44 struct sk_buff *resp; member
139 if (!IS_ERR(cmd->resp)) in digital_wq_cmd_complete()
141 cmd->resp->data, cmd->resp->len, false); in digital_wq_cmd_complete()
143 cmd->cmd_cb(ddev, cmd->cb_context, cmd->resp); in digital_wq_cmd_complete()
152 void *arg, struct sk_buff *resp) in digital_send_cmd_complete() argument
156 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.h87 int digital_in_recv_mifare_res(struct sk_buff *resp);
106 struct sk_buff *resp);
109 struct sk_buff *resp);
119 struct sk_buff *resp);
126 struct sk_buff *resp);
/net/phonet/
Daf_phonet.c329 struct phonetmsg resp; in send_obj_unreachable() local
331 memset(&resp, 0, sizeof(resp)); in send_obj_unreachable()
332 resp.pn_trans_id = opm->pn_trans_id; in send_obj_unreachable()
333 resp.pn_msg_id = PN_COMMON_MESSAGE; in send_obj_unreachable()
335 resp.pn_e_res_id = opm->pn_e_res_id; in send_obj_unreachable()
336 resp.pn_e_submsg_id = PN_COMM_ISA_ENTITY_NOT_REACHABLE_RESP; in send_obj_unreachable()
337 resp.pn_e_orig_msg_id = opm->pn_msg_id; in send_obj_unreachable()
338 resp.pn_e_status = 0; in send_obj_unreachable()
340 resp.pn_submsg_id = PN_COMM_ISA_ENTITY_NOT_REACHABLE_RESP; in send_obj_unreachable()
341 resp.pn_orig_msg_id = opm->pn_msg_id; in send_obj_unreachable()
[all …]
/net/rxrpc/
Drxkad.c680 struct rxkad_response *resp, in rxkad_send_response() argument
708 iov[1].iov_base = resp; in rxkad_send_response()
709 iov[1].iov_len = sizeof(*resp); in rxkad_send_response()
748 struct rxkad_response *resp, in rxkad_encrypt_response() argument
759 sg_set_buf(sg, &resp->encrypted, sizeof(resp->encrypted)); in rxkad_encrypt_response()
762 skcipher_request_set_crypt(req, sg, sg, sizeof(resp->encrypted), iv.x); in rxkad_encrypt_response()
776 struct rxkad_response *resp; in rxkad_respond_to_challenge() local
820 resp = kzalloc(sizeof(struct rxkad_response), GFP_NOFS); in rxkad_respond_to_challenge()
821 if (!resp) in rxkad_respond_to_challenge()
824 resp->version = htonl(RXKAD_VERSION); in rxkad_respond_to_challenge()
[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.c231 struct hci_create_pipe_resp *resp; in nfc_hci_create_pipe() local
246 resp = (struct hci_create_pipe_resp *)skb->data; in nfc_hci_create_pipe()
247 pipe = resp->pipe; in nfc_hci_create_pipe()
/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.h100 __be16 resp; member
/net/sctp/
Dstream.c761 struct sctp_strreset_resp *resp = param.v; in sctp_process_strreset_resp() local
767 req = sctp_chunk_lookup_strreset_param(asoc, resp->response_seq, 0); in sctp_process_strreset_resp()
771 result = ntohl(resp->result); in sctp_process_strreset_resp()
831 resptsn = (struct sctp_strreset_resptsn *)resp; in sctp_process_strreset_resp()
Dsm_make_chunk.c3732 struct sctp_strreset_resp resp; in sctp_make_strreset_resp() local
3733 __u16 length = sizeof(resp); in sctp_make_strreset_resp()
3740 resp.param_hdr.type = SCTP_PARAM_RESET_RESPONSE; in sctp_make_strreset_resp()
3741 resp.param_hdr.length = htons(length); in sctp_make_strreset_resp()
3742 resp.response_seq = htonl(sn); in sctp_make_strreset_resp()
3743 resp.result = htonl(result); in sctp_make_strreset_resp()
3745 sctp_addto_chunk(retval, sizeof(resp), &resp); in sctp_make_strreset_resp()
/net/nfc/nci/
Dhci.c543 struct nci_hci_create_pipe_resp *resp; in nci_hci_create_pipe() local
557 resp = (struct nci_hci_create_pipe_resp *)skb->data; in nci_hci_create_pipe()
558 pipe = resp->pipe; in nci_hci_create_pipe()
Dcore.c431 struct sk_buff **resp) in nci_nfcc_loopback() argument
472 if (r == NCI_STATUS_OK && resp) in nci_nfcc_loopback()
473 *resp = conn_info->rx_skb; in nci_nfcc_loopback()
/net/mac80211/
Drx.c2744 struct ieee80211_mgmt *resp; in ieee80211_process_sa_query_req() local
2757 if (len < 24 + 1 + sizeof(resp->u.action.u.sa_query)) { in ieee80211_process_sa_query_req()
2762 skb = dev_alloc_skb(sizeof(*resp) + local->hw.extra_tx_headroom); in ieee80211_process_sa_query_req()
2767 resp = skb_put_zero(skb, 24); in ieee80211_process_sa_query_req()
2768 memcpy(resp->da, mgmt->sa, ETH_ALEN); in ieee80211_process_sa_query_req()
2769 memcpy(resp->sa, sdata->vif.addr, ETH_ALEN); in ieee80211_process_sa_query_req()
2770 memcpy(resp->bssid, sdata->u.mgd.bssid, ETH_ALEN); in ieee80211_process_sa_query_req()
2771 resp->frame_control = cpu_to_le16(IEEE80211_FTYPE_MGMT | in ieee80211_process_sa_query_req()
2773 skb_put(skb, 1 + sizeof(resp->u.action.u.sa_query)); in ieee80211_process_sa_query_req()
2774 resp->u.action.category = WLAN_CATEGORY_SA_QUERY; in ieee80211_process_sa_query_req()
[all …]
Dtx.c4003 struct probe_resp *resp; in ieee80211_set_csa() local
4028 resp = rcu_dereference(sdata->u.ap.probe_resp); in ieee80211_set_csa()
4040 if (sdata->vif.type == NL80211_IFTYPE_AP && resp) in ieee80211_set_csa()
4041 resp->data[resp->csa_counter_offsets[i]] = count; in ieee80211_set_csa()
Dcfg.c763 const u8 *resp, size_t resp_len, in ieee80211_set_probe_resp() argument
768 if (!resp || !resp_len) in ieee80211_set_probe_resp()
778 memcpy(new->data, resp, resp_len); in ieee80211_set_probe_resp()
/net/
DKconfig193 Enabling this option will let arptables resp. iptables see bridged
194 ARP resp. IP traffic. If you want a bridging firewall, you probably