Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c14 #define MAX_PACKET_OFF 0xffff macro
207 /* Verifier forbids access to packet when offset exceeds MAX_PACKET_OFF */ in next()
208 if (off > MAX_PACKET_OFF - sz) in next()
/linux/include/linux/
H A Dbpf_verifier.h1683 #define MAX_PACKET_OFF 0xffff macro
/linux/kernel/bpf/
H A Dfixups.c1950 prog->aux->max_pkt_offset = MAX_PACKET_OFF; in bpf_do_misc_fixups()
H A Dverifier.c4881 * reg_umax(reg) can't be bigger than MAX_PACKET_OFF which is 0xffff, in check_packet_access()
16135 if (reg_umax(dst_reg) > MAX_PACKET_OFF) in find_good_pkt_pointers()
16190 * reg_umax(dst_reg) is known < MAX_PACKET_OFF, therefore it fits in a u16.