In its context, an instance of struct bpf_sk_lookup, BPF sk_lookup program receives information about the packet that triggered the socket lookup. Namely:
AF_INET or AF_INET6),IPPROTO_TCP or IPPROTO_UDP),bpf_sk_assign().Refer to struct bpf_sk_lookup declaration in linux/bpf.h user API header, and bpf-helpers(7) <https://man7.org/linux/man-pages/man7/bpf-helpers.7.html> man-page section for bpf_sk_assign() for details.