Searched refs:srh_state (Results 1 – 2 of 2) sorted by relevance
1408 struct seg6_bpf_srh_state *srh_state = in seg6_bpf_has_valid_srh() 1410 struct ipv6_sr_hdr *srh = srh_state->srh; in seg6_bpf_has_valid_srh() 1412 lockdep_assert_held(&srh_state->bh_lock); in seg6_bpf_has_valid_srh() 1416 if (unlikely(!srh_state->valid)) { in input_action_end_bpf() 1417 if ((srh_state->hdrlen & 7) != 0) in input_action_end_bpf() local 1420 srh->hdrlen = (u8)(srh_state->hdrlen >> 3); in input_action_end_bpf() 1424 srh_state->valid = true; in input_action_end_bpf() 1433 struct seg6_bpf_srh_state *srh_state; in input_action_end_bpf() 1444 /* The access to the per-CPU buffer srh_state is protected by running in input_action_end_bpf() 1451 srh_state in input_action_end_bpf() 1392 struct seg6_bpf_srh_state *srh_state = seg6_bpf_has_valid_srh() local [all...]
6977 struct seg6_bpf_srh_state *srh_state = in BPF_CALL_4() local6979 struct ipv6_sr_hdr *srh = srh_state->srh; in BPF_CALL_4()6983 lockdep_assert_held(&srh_state->bh_lock); in BPF_CALL_4()6988 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()6992 srh_state->valid = false; in BPF_CALL_4()7001 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in BPF_CALL_4()7019 struct seg6_bpf_srh_state *srh_state = in bpf_update_srh_state() local7024 srh_state->srh = NULL; in bpf_update_srh_state()7026 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in bpf_update_srh_state()7027 srh_state->hdrlen = srh_state->srh->hdrlen << 3; in bpf_update_srh_state()[all …]