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

Function eval_jgt_jle

dpdk/lib/bpf/bpf_validate.c:1060–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1058}
1059
1060static void
1061eval_jgt_jle(struct bpf_reg_val *trd, struct bpf_reg_val *trs,
1062 struct bpf_reg_val *frd, struct bpf_reg_val *frs)
1063{
1064 frd->u.max = RTE_MIN(frd->u.max, frs->u.min);
1065 trd->u.min = RTE_MAX(trd->u.min, trs->u.min + 1);
1066}
1067
1068static void
1069eval_jlt_jge(struct bpf_reg_val *trd, struct bpf_reg_val *trs,

Callers 1

eval_jccFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected