Lines Matching refs:srh_state
1392 struct seg6_bpf_srh_state *srh_state =
1394 struct ipv6_sr_hdr *srh = srh_state->srh;
1396 lockdep_assert_held(&srh_state->bh_lock);
1400 if (unlikely(!srh_state->valid)) {
1401 if ((srh_state->hdrlen & 7) != 0)
1404 srh->hdrlen = (u8)(srh_state->hdrlen >> 3);
1408 srh_state->valid = true;
1417 struct seg6_bpf_srh_state *srh_state;
1428 /* The access to the per-CPU buffer srh_state is protected by running
1435 srh_state = this_cpu_ptr(&seg6_bpf_srh_states);
1436 srh_state->srh = srh;
1437 srh_state->hdrlen = srh->hdrlen << 3;
1438 srh_state->valid = true;
1456 if (srh_state->srh && !seg6_bpf_has_valid_srh(skb))