Lines Matching refs:newts
245 struct lwtunnel_state *newts; in bpf_build_state() local
259 newts = lwtunnel_state_alloc(sizeof(*bpf)); in bpf_build_state()
260 if (!newts) in bpf_build_state()
263 newts->type = LWTUNNEL_ENCAP_BPF; in bpf_build_state()
264 bpf = bpf_lwt_lwtunnel(newts); in bpf_build_state()
267 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in bpf_build_state()
275 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in bpf_build_state()
283 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in bpf_build_state()
298 newts->headroom = headroom; in bpf_build_state()
302 *ts = newts; in bpf_build_state()
307 bpf_destroy_state(newts); in bpf_build_state()
308 kfree(newts); in bpf_build_state()