Lines Matching refs:retval
35 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_use_helper() local
46 retval = XDP_ABORTED; in xdp_use_helper()
51 retval = XDP_DROP; in xdp_use_helper()
55 return retval; in xdp_use_helper()
65 int retval = XDP_ABORTED; /* Fail */ in xdp_exceed_mtu() local
75 retval = XDP_PASS; /* Success in exceeding MTU check */ in xdp_exceed_mtu()
77 retval = XDP_DROP; in xdp_exceed_mtu()
81 return retval; in xdp_exceed_mtu()
87 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_minus_delta() local
102 retval = XDP_ABORTED; in xdp_minus_delta()
105 return retval; in xdp_minus_delta()
111 int retval = XDP_PASS; /* Expected retval on successful test */ in xdp_input_len() local
126 retval = XDP_ABORTED; in xdp_input_len()
129 return retval; in xdp_input_len()
135 int retval = XDP_ABORTED; /* Fail */ in xdp_input_len_exceed() local
150 retval = XDP_PASS ; /* Success in exceeding MTU check */ in xdp_input_len_exceed()
153 return retval; in xdp_input_len_exceed()
159 int retval = BPF_OK; /* Expected retval on successful test */ in tc_use_helper() local
164 retval = BPF_DROP; in tc_use_helper()
169 retval = BPF_REDIRECT; in tc_use_helper()
172 return retval; in tc_use_helper()
179 int retval = BPF_DROP; /* Fail */ in tc_exceed_mtu() local
190 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_exceed_mtu()
192 retval = BPF_DROP; in tc_exceed_mtu()
196 return retval; in tc_exceed_mtu()
207 int retval = BPF_DROP; /* Fail */ in tc_exceed_mtu_da() local
217 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_exceed_mtu_da()
219 retval = BPF_DROP; in tc_exceed_mtu_da()
223 return retval; in tc_exceed_mtu_da()
229 int retval = BPF_OK; /* Expected retval on successful test */ in tc_minus_delta() local
242 retval = BPF_DROP; in tc_minus_delta()
245 return retval; in tc_minus_delta()
251 int retval = BPF_OK; /* Expected retval on successful test */ in tc_input_len() local
262 retval = BPF_DROP; in tc_input_len()
265 return retval; in tc_input_len()
271 int retval = BPF_DROP; /* Fail */ in tc_input_len_exceed() local
286 retval = BPF_OK; /* Success in exceeding MTU check */ in tc_input_len_exceed()
289 return retval; in tc_input_len_exceed()