Searched refs:xsk_socket_info (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/tools/testing/selftests/bpf/ |
| D | xdpxceiver.h | 92 struct xsk_socket_info { struct 121 struct xsk_socket_info *xsk; 122 struct xsk_socket_info **xsk_arr;
|
| D | xdpxceiver.c | 280 struct xsk_socket_info *xsk; in xsk_configure_socket() 285 xsk = calloc(1, sizeof(struct xsk_socket_info)); in xsk_configure_socket() 546 static void kick_tx(struct xsk_socket_info *xsk) in kick_tx() 556 static void complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts() 574 static void receive_pkts(struct pkt_stream *pkt_stream, struct xsk_socket_info *xsk, in receive_pkts() 625 struct xsk_socket_info *xsk = ifobject->xsk; in __send_pkts() 653 static void wait_for_tx_completion(struct xsk_socket_info *xsk) in wait_for_tx_completion() 1074 ifobj->xsk_arr = calloc(2, sizeof(struct xsk_socket_info *)); in ifobject_create()
|
| /Linux-v5.15/samples/bpf/ |
| D | xdpsock_user.c | 145 struct xsk_socket_info { struct 157 struct xsk_socket_info *xsks[MAX_SOCKS]; argument 196 static int xsk_get_xdp_stats(int fd, struct xsk_socket_info *xsk) in xsk_get_xdp_stats() 850 static struct xsk_socket_info *xsk_configure_socket(struct xsk_umem_info *umem, in xsk_configure_socket() 854 struct xsk_socket_info *xsk; in xsk_configure_socket() 1114 static void kick_tx(struct xsk_socket_info *xsk) in kick_tx() 1125 static inline void complete_tx_l2fwd(struct xsk_socket_info *xsk) in complete_tx_l2fwd() 1176 static inline void complete_tx_only(struct xsk_socket_info *xsk, in complete_tx_only() 1197 static void rx_drop(struct xsk_socket_info *xsk) in rx_drop() 1267 static void tx_only(struct xsk_socket_info *xsk, u32 *frame_nb, int batch_size) in tx_only() [all …]
|