Home
last modified time | relevance | path

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

/linux/net/core/
H A Dfilter.c6494 void *srh_tlvs, *srh_end, *ptr; in BPF_CALL_4() local
6502 srh_end = (void *)((char *)srh + sizeof(*srh) + srh_state->hdrlen); in BPF_CALL_4()
6505 if (ptr >= srh_tlvs && ptr + len <= srh_end) in BPF_CALL_4()
6626 void *srh_end, *srh_tlvs, *ptr; in BPF_CALL_3() local
6637 srh_end = (void *)((unsigned char *)srh + sizeof(*srh) + in BPF_CALL_3()
6641 if (unlikely(ptr < srh_tlvs || ptr > srh_end)) in BPF_CALL_3()
6643 if (unlikely(len < 0 && (void *)((char *)ptr - len) > srh_end)) in BPF_CALL_3()