Home
last modified time | relevance | path

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

/linux/net/core/
H A Dfilter.c6495 void *srh_tlvs, *srh_end, *ptr; in BPF_CALL_4() local
6503 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()
6506 if (ptr >= srh_tlvs && ptr + len <= srh_end) in BPF_CALL_4()
6627 void *srh_end, *srh_tlvs, *ptr; in BPF_CALL_3() local
6638 srh_end = (void *)((unsigned char *)srh + sizeof(*srh) + in BPF_CALL_3()
6642 if (unlikely(ptr < srh_tlvs || ptr > srh_end)) in BPF_CALL_3()
6644 if (unlikely(len < 0 && (void *)((char *)ptr - len) > srh_end)) in BPF_CALL_3()