Home
last modified time | relevance | path

Searched refs:srh_end (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/core/
Dfilter.c6240 void *srh_tlvs, *srh_end, *ptr; in BPF_CALL_4() local
6247 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()
6250 if (ptr >= srh_tlvs && ptr + len <= srh_end) in BPF_CALL_4()
6370 void *srh_end, *srh_tlvs, *ptr; in BPF_CALL_3() local
6380 srh_end = (void *)((unsigned char *)srh + sizeof(*srh) + in BPF_CALL_3()
6384 if (unlikely(ptr < srh_tlvs || ptr > srh_end)) in BPF_CALL_3()
6386 if (unlikely(len < 0 && (void *)((char *)ptr - len) > srh_end)) in BPF_CALL_3()