[PATCH 5.15 075/532] bpf: Factor out socket lookup functions for the TC hookpoint.