Searched refs:TCP_BPF_SYN (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_misc_tcp_hdr_options.c | 115 ret = bpf_getsockopt(skops, SOL_TCP, TCP_BPF_SYN, &hdr, sizeof(hdr)); in __check_active_hdr_in()
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 7166 * The bpf_getsockopt(TCP_BPF_SYN*) option will hide where the 7171 * TCP_BPF_SYN. Otherwise, the bpf-prog can get both 7180 TCP_BPF_SYN = 1005, /* Copy the TCP header */ enumerator
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 7166 * The bpf_getsockopt(TCP_BPF_SYN*) option will hide where the 7171 * TCP_BPF_SYN. Otherwise, the bpf-prog can get both 7180 TCP_BPF_SYN = 1005, /* Copy the TCP header */ enumerator
|
/linux/net/core/ |
H A D | filter.c | 5756 if (optname == TCP_BPF_SYN) { in bpf_sock_ops_get_syn() 5786 if (optname == TCP_BPF_SYN) { in bpf_sock_ops_get_syn() 5821 optname >= TCP_BPF_SYN && optname <= TCP_BPF_SYN_MAC) { in BPF_CALL_5() 7705 ret = bpf_sock_ops_get_syn(bpf_sock, TCP_BPF_SYN, &op); in BPF_CALL_4()
|