Home
last modified time | relevance | path

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

1234567

/f-stack/dpdk/examples/ipsec-secgw/test/
H A Dtun_null_header_reconstruct.py184 self.assertEqual(resp[ESP].spi, 5)
191 self.assertEqual(resp[ESP].spi, 5)
198 self.assertEqual(resp[ESP].spi, 5)
212 self.assertEqual(resp[ESP].spi, 7)
219 self.assertEqual(resp[ESP].spi, 7)
266 resp = self.px.xfer_protected(pkt)
271 resp = self.px.xfer_protected(pkt)
276 resp = self.px.xfer_protected(pkt)
282 resp = self.px.xfer_protected(pkt)
287 resp = self.px.xfer_protected(pkt)
[all …]
H A Dtrs_ipv6opts.py69 resp = self.px.xfer_unprotected(pkt)
71 self.assertEqual(resp[ESP].spi, 5)
96 resp = self.px.xfer_unprotected(pkt)
105 self.assertEqual(resp[ESP].spi, 5)
126 resp = self.px.xfer_protected(e)
130 self.assertEqual(resp[UDP].sport, 123)
131 self.assertEqual(resp[UDP].dport, 456)
152 resp = self.px.xfer_protected(e)
159 self.assertEqual(resp[UDP].sport, 123)
160 self.assertEqual(resp[UDP].dport, 456)
[all …]
/f-stack/freebsd/contrib/ngatm/netnatm/sig/
H A Dsig_reset.c170 UNI_FREE(resp); in start_request()
212 if (resp != NULL) { in start_t316()
213 resp->source = 0; in start_t316()
234 UNI_FREE(resp); in start_t316()
408 if (resp == NULL) in start_status()
524 UNI_FREE(resp); in restart_forward()
629 resp->source = 1; in response_t317()
675 UNI_FREE(resp); in response_error()
715 UNI_FREE(resp); in response_response()
719 UNI_FREE(resp); in response_response()
[all …]
H A Dsig_coord.c422 struct uni_all *resp; in input_unknown() local
474 if ((resp = UNI_ALLOC()) == NULL) in input_unknown()
494 UNI_FREE(resp); in input_unknown()
515 if ((resp = UNI_ALLOC()) == NULL) in input_unknown()
523 (void)uni_send_output(resp, uni); in input_unknown()
525 UNI_FREE(resp); in input_unknown()
1111 struct uni_all *resp; in uni_respond_status() local
1122 UNI_FREE(resp); in uni_respond_status()
1132 struct uni_all *resp; in uni_respond_status_mtype() local
1134 if((resp = UNI_ALLOC()) == NULL) in uni_respond_status_mtype()
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_msg.c136 parms.resp_size = sizeof(resp); in tf_msg_session_open()
188 parms.resp_size = sizeof(resp); in tf_msg_session_client_register()
228 parms.resp_size = sizeof(resp); in tf_msg_session_client_unregister()
261 parms.resp_size = sizeof(resp); in tf_msg_session_close()
293 parms.resp_size = sizeof(resp); in tf_msg_session_qcfg()
345 parms.resp_size = sizeof(resp); in tf_msg_session_resc_qcaps()
389 *resv_strategy = resp.flags & in tf_msg_session_resc_qcaps()
636 *rptr_entry = resp.rptr_entry; in tf_msg_insert_em_internal_entry()
1068 &resp.data, in tf_msg_get_tbl_entry()
1126 resp.data, in tf_msg_get_global_cfg()
[all …]
H A Dtf_msg_common.h14 #define MSG_PREP(parms, mb, type, subtype, req, resp) do { \ argument
21 parms.resp_size = sizeof(resp); \
22 parms.resp_data = (uint32_t *)&(resp); \
25 #define MSG_PREP_NO_REQ(parms, mb, type, subtype, resp) do { \ argument
32 parms.resp_size = sizeof(resp); \
33 parms.resp_data = (uint32_t *)&(resp); \
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_nvs.c161 &resp, sizeof(resp), in hn_nvs_doinit()
166 status = resp.status; in hn_nvs_doinit()
198 &resp, sizeof(resp), in hn_nvs_conn_rxbuf()
207 status = resp.status; in hn_nvs_conn_rxbuf()
213 if (resp.nsect != 1) { in hn_nvs_conn_rxbuf()
216 resp.nsect); in hn_nvs_conn_rxbuf()
319 &resp, sizeof(resp), in hn_nvs_conn_chim()
328 resp.status); in hn_nvs_conn_chim()
332 sectsz = resp.sectsz; in hn_nvs_conn_chim()
550 &resp, sizeof(resp), in hn_nvs_alloc_subchans()
[all …]
/f-stack/dpdk/drivers/event/dlb/pf/base/
H A Ddlb_resource.h66 struct dlb_cmd_response *resp);
91 struct dlb_cmd_response *resp);
116 struct dlb_cmd_response *resp);
141 struct dlb_cmd_response *resp);
165 struct dlb_cmd_response *resp);
195 struct dlb_cmd_response *resp);
225 struct dlb_cmd_response *resp);
248 struct dlb_cmd_response *resp);
288 struct dlb_cmd_response *resp);
368 struct dlb_cmd_response *resp);
[all …]
H A Ddlb_resource.c756 resp); in dlb_domain_attach_resources()
764 resp); in dlb_domain_attach_resources()
772 resp); in dlb_domain_attach_resources()
779 resp); in dlb_domain_attach_resources()
786 resp); in dlb_domain_attach_resources()
794 resp); in dlb_domain_attach_resources()
802 resp); in dlb_domain_attach_resources()
809 resp); in dlb_domain_attach_resources()
816 resp); in dlb_domain_attach_resources()
5416 resp)) in dlb_hw_create_ldb_port()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_hwrm.c152 if (resp->resp_len && resp->resp_len <= bp->max_resp_len) { in bnxt_hwrm_send_message()
154 valid = (uint8_t *)resp + resp->resp_len - 1; in bnxt_hwrm_send_message()
206 if (resp->error_code) { \
231 if (resp->error_code) { \
235 (void *)resp; \
337 resp->tf_resp, in bnxt_hwrm_tf_message_tunneled()
1099 resp->hwrm_intf_maj_8b, resp->hwrm_intf_min_8b, in bnxt_hwrm_ver_get()
1100 resp->hwrm_intf_upd_8b, resp->hwrm_fw_maj_8b, in bnxt_hwrm_ver_get()
1101 resp->hwrm_fw_min_8b, resp->hwrm_fw_bld_8b); in bnxt_hwrm_ver_get()
3610 rc, resp->error_code); in bnxt_process_vf_resc_config_new()
[all …]
/f-stack/freebsd/arm/broadcom/bcm2835/
H A Dbcm2835_mbox_prop.h89 } resp; member
105 } resp; member
123 } resp; member
146 } resp; member
169 } resp; member
185 } resp; member
210 } resp; member
226 } resp; member
241 } resp; member
256 } resp; member
[all …]
H A Dbcm2835_firmware.h60 } resp; member
71 } resp; member
91 } resp; member
102 } resp; member
115 } resp; member
131 } resp; member
142 } resp; member
160 } resp; member
170 } resp; member
183 } resp; member
[all …]
/f-stack/dpdk/drivers/net/qede/base/
H A Decore_vf.c184 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in _ecore_vf_pf_release()
269 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_soft_flr_acquire()
353 &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_acquire()
458 resp->resc.num_cids = resp->resc.num_rxqs + in ecore_vf_pf_acquire()
892 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_rxq_start()
949 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_rxq_stop()
995 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_txq_start()
1048 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_txq_stop()
1103 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_rxqs_update()
1153 rc = ecore_send_msg2pf(p_hwfn, &resp->hdr.status, sizeof(*resp)); in ecore_vf_pf_vport_start()
[all …]
/f-stack/dpdk/drivers/event/dlb2/pf/
H A Ddlb2_main.h50 struct dlb2_cmd_response *resp);
54 struct dlb2_cmd_response *resp);
58 struct dlb2_cmd_response *resp);
63 struct dlb2_cmd_response *resp);
68 struct dlb2_cmd_response *resp);
72 struct dlb2_cmd_response *resp);
76 struct dlb2_cmd_response *resp);
80 struct dlb2_cmd_response *resp);
84 struct dlb2_cmd_response *resp);
88 struct dlb2_cmd_response *resp);
/f-stack/dpdk/lib/librte_eal/common/
H A Dmalloc_mp.c152 struct malloc_mp_req *resp = in handle_sync() local
169 resp->t = REQ_TYPE_SYNC; in handle_sync()
170 resp->id = req->id; in handle_sync()
285 resp->t = m->t; in handle_request()
287 resp->id = m->id; in handle_request()
395 resp->t = REQ_TYPE_FREE; in handle_sync_response()
396 resp->result = result; in handle_sync_response()
419 resp->t = REQ_TYPE_ALLOC; in handle_sync_response()
420 resp->result = result; in handle_sync_response()
519 resp->t = REQ_TYPE_ALLOC; in handle_rollback_response()
[all …]
H A Dhotplug_mp.c66 struct eal_dev_mp_req *resp = in send_response_to_secondary() local
74 resp->result = result; in send_response_to_secondary()
295 memcpy(resp, req, sizeof(*resp)); in __handle_primary_request()
296 resp->result = ret; in __handle_primary_request()
318 memcpy(resp, req, sizeof(*resp)); in handle_primary_request()
323 resp->result = -ENOMEM; in handle_primary_request()
340 resp->result = -ENOMEM; in handle_primary_request()
355 resp->result = ret; in handle_primary_request()
387 req->result = resp->result; in eal_dev_hotplug_request_to_primary()
426 if (resp->result != 0) { in eal_dev_hotplug_request_to_secondary()
[all …]
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_mbx.c261 uint32_t tail = resp->tail + 1; in hns3_update_resp_position()
263 if (tail > resp->head) in hns3_update_resp_position()
264 tail = resp->head; in hns3_update_resp_position()
266 if (resp->lost) in hns3_update_resp_position()
267 resp->lost--; in hns3_update_resp_position()
270 resp->req_msg_data, resp_msg, resp->head, tail, in hns3_update_resp_position()
271 resp->lost); in hns3_update_resp_position()
272 } else if (tail + resp->lost > resp->head) { in hns3_update_resp_position()
273 resp->lost--; in hns3_update_resp_position()
276 resp->head, tail, resp->lost); in hns3_update_resp_position()
[all …]
/f-stack/freebsd/netgraph/atm/ccatm/
H A Dng_ccatm.c408 if (*resp == NULL) { in ng_ccatm_get_addresses()
564 &resp); in ng_ccatm_rcvmsg()
620 if (resp == NULL) { in ng_ccatm_rcvmsg()
628 resp = NULL; in ng_ccatm_rcvmsg()
661 if (resp == NULL) { in ng_ccatm_rcvmsg()
689 if (resp == NULL) { in ng_ccatm_rcvmsg()
736 if (resp == NULL) { in ng_ccatm_rcvmsg()
1030 } resp; in ng_ccatm_respond_user() local
1034 resp.resp.resp = err; in ng_ccatm_respond_user()
1035 resp.resp.data = data; in ng_ccatm_respond_user()
[all …]
/f-stack/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_resource.h76 struct dlb2_cmd_response *resp,
110 struct dlb2_cmd_response *resp,
143 struct dlb2_cmd_response *resp,
179 struct dlb2_cmd_response *resp,
215 struct dlb2_cmd_response *resp,
245 struct dlb2_cmd_response *resp,
293 struct dlb2_cmd_response *resp,
387 struct dlb2_cmd_response *resp,
1522 struct dlb2_cmd_response *resp,
1551 struct dlb2_cmd_response *resp,
[all …]
H A Ddlb2_resource.c683 resp); in dlb2_domain_attach_resources()
691 resp); in dlb2_domain_attach_resources()
699 resp); in dlb2_domain_attach_resources()
706 resp); in dlb2_domain_attach_resources()
713 resp); in dlb2_domain_attach_resources()
720 resp); in dlb2_domain_attach_resources()
727 resp); in dlb2_domain_attach_resources()
3860 resp, in dlb2_hw_create_ldb_queue()
5060 resp, in dlb2_hw_create_dir_queue()
5644 resp, in dlb2_hw_unmap_qid()
[all …]
/f-stack/freebsd/netgraph/atm/sscfu/
H A Dng_sscfu.c219 struct ng_mesg *resp = NULL; in ng_sscfu_rcvmsg() local
230 if (resp == NULL) { in ng_sscfu_rcvmsg()
234 resp->header.arglen = text_status(node, priv, in ng_sscfu_rcvmsg()
235 (char *)resp->data, resp->header.arglen) + 1; in ng_sscfu_rcvmsg()
254 NG_MKRESPONSE(resp, msg, sizeof(*p), M_NOWAIT); in ng_sscfu_rcvmsg()
255 if (resp == NULL) { in ng_sscfu_rcvmsg()
259 p = (struct ng_sscfu_getdefparam *)resp->data; in ng_sscfu_rcvmsg()
295 if(resp == NULL) { in ng_sscfu_rcvmsg()
299 *(uint32_t *)resp->data = in ng_sscfu_rcvmsg()
310 if(resp == NULL) { in ng_sscfu_rcvmsg()
[all …]
/f-stack/tools/ngctl/
H A Dstatus.c63 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; in StatusCmd() local
64 char *const status = (char *) resp->data; in StatusCmd()
89 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0 in StatusCmd()
90 || (resp->header.flags & NGF_RESP) == 0) in StatusCmd()
H A Dtypes.c61 struct ng_mesg *resp; in TypesCmd() local
80 if (NgAllocRecvMsg(csock, &resp, NULL) < 0) { in TypesCmd()
86 tlist = (struct typelist *) resp->data; in TypesCmd()
98 free(resp); in TypesCmd()
H A Dconfig.c64 struct ng_mesg *const resp = (struct ng_mesg *) sbuf; in ConfigCmd() local
65 char *const status = (char *) resp->data; in ConfigCmd()
99 if (NgRecvMsg(csock, resp, sizeof(sbuf), NULL) < 0 in ConfigCmd()
100 || (resp->header.flags & NGF_RESP) == 0) in ConfigCmd()
/f-stack/freebsd/netgraph/atm/uni/
H A Dng_uni.c310 struct ng_mesg *resp = NULL; in ng_uni_rcvmsg() local
322 if (resp == NULL) { in ng_uni_rcvmsg()
328 (char *)resp->data, resp->header.arglen) + 1; in ng_uni_rcvmsg()
358 if(resp == NULL) { in ng_uni_rcvmsg()
362 arg = (struct ngm_uni_debug *)resp->data; in ng_uni_rcvmsg()
377 if (resp == NULL) { in ng_uni_rcvmsg()
381 config = (struct uni_config *)resp->data; in ng_uni_rcvmsg()
399 if (resp == NULL) { in ng_uni_rcvmsg()
444 if(resp == NULL) { in ng_uni_rcvmsg()
448 *(u_int32_t *)resp->data = in ng_uni_rcvmsg()
[all …]

1234567