MCPcopy Index your code
hub / github.com/F-Stack/f-stack / rte_flow_error_set

Function rte_flow_error_set

dpdk/lib/ethdev/rte_flow.c:562–578  ·  view source on GitHub ↗

Initialize flow error structure. */

Source from the content-addressed store, hash-verified

560
561/* Initialize flow error structure. */
562int
563rte_flow_error_set(struct rte_flow_error *error,
564 int code,
565 enum rte_flow_error_type type,
566 const void *cause,
567 const char *message)
568{
569 if (error) {
570 *error = (struct rte_flow_error){
571 .type = type,
572 .cause = cause,
573 .message = message,
574 };
575 }
576 rte_errno = code;
577 return -code;
578}
579
580/** Pattern item specification types. */
581enum rte_flow_conv_item_spec_type {

Callers 15

flow_errFunction · 0.85
rte_flow_ops_getFunction · 0.85
rte_flow_validateFunction · 0.85
rte_flow_createFunction · 0.85
rte_flow_destroyFunction · 0.85
rte_flow_actions_updateFunction · 0.85
rte_flow_flushFunction · 0.85
rte_flow_queryFunction · 0.85
rte_flow_isolateFunction · 0.85
rte_flow_conv_patternFunction · 0.85
rte_flow_conv_actionsFunction · 0.85
rte_flow_conv_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected