MCPcopy Create free account
hub / github.com/F-Stack/f-stack / parser_read_uint32

Function parser_read_uint32

dpdk/examples/pipeline/cli.c:96–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96static int
97parser_read_uint32(uint32_t *value, const char *p)
98{
99 uint64_t val = 0;
100 int ret = parser_read_uint64(&val, p);
101
102 if (ret < 0)
103 return ret;
104
105 if (val > UINT32_MAX)
106 return -ERANGE;
107
108 *value = val;
109 return 0;
110}
111
112#define PARSE_DELIMITER " \f\n\r\t\v"
113

Callers 15

cmd_mempoolFunction · 0.70
cmd_ethdevFunction · 0.70
cmd_ringFunction · 0.70
cmd_cryptodevFunction · 0.70
cmd_pipeline_buildFunction · 0.70
cmd_pipeline_regrdFunction · 0.70
cmd_pipeline_regwrFunction · 0.70
cmd_pipeline_meter_resetFunction · 0.70
cmd_pipeline_meter_setFunction · 0.70
cmd_pipeline_meter_statsFunction · 0.70

Calls 1

parser_read_uint64Function · 0.70

Tested by

no test coverage detected