From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> Date: Fri, 08 Nov 2019 22:33:10 +0100 > From: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> > > Currently, libbpf only provides a function to get a single ID for the XDP > program attached to the interface. However, it can be useful to get the > full set of program IDs attached, along with the attachment mode, in one > go. Add a new getter function to support this, using an extendible > structure to carry the information. Express the old bpf_get_link_id() > function in terms of the new function. > > Acked-by: Song Liu <songliubraving@xxxxxx> > Signed-off-by: Toke Høiland-Jørgensen <toke@xxxxxxxxxx> Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>