1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __NET_PSP_HELPERS_H 4 #define __NET_PSP_HELPERS_H 5 6 #include <net/psp/types.h> 7 8 struct inet_timewait_sock; 9 10 /* Driver-facing API */ 11 struct psp_dev * 12 psp_dev_create(struct net_device *netdev, struct psp_dev_ops *psd_ops, 13 struct psp_dev_caps *psd_caps, void *priv_ptr); 14 void psp_dev_unregister(struct psp_dev *psd); 15 16 /* Kernel-facing API */ 17 static inline void psp_sk_assoc_free(struct sock *sk) { } 18 static inline void psp_twsk_assoc_free(struct inet_timewait_sock *tw) { } 19 20 #endif /* __NET_PSP_HELPERS_H */ 21