Lines Matching refs:newts
375 struct lwtunnel_state *newts; in bpf_build_state() local
390 newts = lwtunnel_state_alloc(sizeof(*bpf)); in bpf_build_state()
391 if (!newts) in bpf_build_state()
394 newts->type = LWTUNNEL_ENCAP_BPF; in bpf_build_state()
395 bpf = bpf_lwt_lwtunnel(newts); in bpf_build_state()
398 newts->flags |= LWTUNNEL_STATE_INPUT_REDIRECT; in bpf_build_state()
406 newts->flags |= LWTUNNEL_STATE_OUTPUT_REDIRECT; in bpf_build_state()
414 newts->flags |= LWTUNNEL_STATE_XMIT_REDIRECT; in bpf_build_state()
429 newts->headroom = headroom; in bpf_build_state()
433 *ts = newts; in bpf_build_state()
438 bpf_destroy_state(newts); in bpf_build_state()
439 kfree(newts); in bpf_build_state()