Searched refs:srh_state (Results 1 – 2 of 2) sorted by relevance
1500 struct seg6_bpf_srh_state *srh_state =1502 struct ipv6_sr_hdr *srh = srh_state->srh;1504 lockdep_assert_held(&srh_state->bh_lock);1508 if (unlikely(!srh_state->valid)) {1509 if ((srh_state->hdrlen & 7) != 0)1512 srh->hdrlen = (u8)(srh_state->hdrlen >> 3);1516 srh_state->valid = true;1525 struct seg6_bpf_srh_state *srh_state;1541 /* The access to the per-CPU buffer srh_state is protected by running1548 srh_state 1411 struct seg6_bpf_srh_state *srh_state = seg6_bpf_has_valid_srh() local 1436 struct seg6_bpf_srh_state *srh_state; input_action_end_bpf() local [all...]
6976 struct seg6_bpf_srh_state *srh_state = in BPF_CALL_4() local6978 struct ipv6_sr_hdr *srh = srh_state->srh; in BPF_CALL_4()6982 lockdep_assert_held(&srh_state->bh_lock); in BPF_CALL_4()6987 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()6991 srh_state->valid = false; in BPF_CALL_4()7000 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in BPF_CALL_4()7018 struct seg6_bpf_srh_state *srh_state = in bpf_update_srh_state() local7023 srh_state->srh = NULL; in bpf_update_srh_state()7025 srh_state->srh = (struct ipv6_sr_hdr *)(skb->data + srhoff); in bpf_update_srh_state()7026 srh_state->hdrlen = srh_state->srh->hdrlen << 3; in bpf_update_srh_state()[all …]