bpf: tcp: Use bpf_tcp_iter_batch_item for bpf_tcp_iter_state batch items
Prepare for the next patch that tracks cookies between iterations by converting struct sock **batch to union bpf_tcp_iter_batch_item *batch inside struct bpf_tcp_iter_state. Signed-off-by:Jordan Rife <jordan@jrife.io> Signed-off-by:
Martin KaFai Lau <martin.lau@kernel.org> Reviewed-by:
Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by:
Stanislav Fomichev <sdf@fomichev.me>
Loading
Please sign in to comment