Home
last modified time | relevance | path

Searched hist:"5 f103c5d4dbadec0f2cacd39b6429e1b8a8cf983" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dbpf_types.hdiff 5f103c5d4dbadec0f2cacd39b6429e1b8a8cf983 Thu Jan 04 02:57:56 CET 2018 John Fastabend <john.fastabend@gmail.com> bpf: only build sockmap with CONFIG_INET

The sockmap infrastructure is only aware of TCP sockets at the
moment. In the future we plan to add UDP. In both cases CONFIG_NET
should be built-in.

So lets only build sockmap if CONFIG_INET is enabled.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
/linux/kernel/bpf/
H A DMakefilediff 5f103c5d4dbadec0f2cacd39b6429e1b8a8cf983 Thu Jan 04 02:57:56 CET 2018 John Fastabend <john.fastabend@gmail.com> bpf: only build sockmap with CONFIG_INET

The sockmap infrastructure is only aware of TCP sockets at the
moment. In the future we plan to add UDP. In both cases CONFIG_NET
should be built-in.

So lets only build sockmap if CONFIG_INET is enabled.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>