Home
last modified time | relevance | path

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

/linux/net/core/
H A Dfilter.c6478 void *srh_tlvs, *srh_end, *ptr; in BPF_CALL_4() local
6486 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()
6489 if (ptr >= srh_tlvs && ptr + len <= srh_end) in BPF_CALL_4()
6610 void *srh_end, *srh_tlvs, *ptr; in BPF_CALL_3() local
6621 srh_end = (void *)((unsigned char *)srh + sizeof(*srh) + in BPF_CALL_3()
6625 if (unlikely(ptr < srh_tlvs || ptr > srh_end)) in BPF_CALL_3()
6627 if (unlikely(len < 0 && (void *)((char *)ptr - len) > srh_end)) in BPF_CALL_3()