Home
last modified time | relevance | path

Searched defs:snet (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/vdpa/solidrun/
H A Dsnet_main.c40 struct snet *snet = data; in snet_cfg_irq_hndlr() local
58 static void snet_free_irqs(struct snet *snet) in snet_free_irqs()
89 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_address() local
100 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_num() local
107 struct snet *snet = vdpa_to_snet(vdev); in snet_kick_vq() local
117 struct snet *snet = vdpa_to_snet(vdev); in snet_kick_vq_with_data() local
129 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_cb() local
137 struct snet *snet = vdpa_to_snet(vdev); in snet_set_vq_ready() local
144 struct snet *snet = vdpa_to_snet(vdev); in snet_get_vq_ready() local
149 static bool snet_vq_state_is_initial(struct snet *snet, const struct vdpa_vq_state *state) in snet_vq_state_is_initial()
[all …]
H A Dsnet_vdpa.h24 #define SNET_CFG_VER(snet, ver) ((snet)->psnet->negotiated_cfg_ver >= (ver)) argument
54 struct snet { struct
64 struct snet_vq **vqs; argument
71 /* boolean indicating if snet config was passed to the device */ argument
83 /* Pointer to snet pdev parent device */ argument
84 struct psnet *psnet; argument
86 struct snet_dev_cfg *cfg; argument
173 static inline u32 snet_read32(struct snet *snet, u32 off) in snet_read32()
178 static inline void snet_write32(struct snet *snet, u32 off, u32 val) in snet_write32()
192 static inline void snet_write64(struct snet *snet, u32 off, u64 val) in snet_write64()
H A Dsnet_ctrl.c62 static struct snet_ctrl_regs __iomem *snet_get_ctrl(struct snet *snet) in snet_get_ctrl()
132 static int snet_ctrl_read_from_dpu(struct snet *snet, u16 opcode, u16 vq_idx, void *buffer, in snet_ctrl_read_from_dpu()
218 static int snet_send_ctrl_msg_old(struct snet *snet, u32 opcode) in snet_send_ctrl_msg_old()
252 static int snet_send_ctrl_msg(struct snet *snet, u16 opcode, u16 vq_idx) in snet_send_ctrl_msg()
310 void snet_ctrl_clear(struct snet *snet) in snet_ctrl_clear()
317 int snet_destroy_dev(struct snet *snet) in snet_destroy_dev()
322 int snet_read_vq_state(struct snet *snet, u16 idx, struct vdpa_vq_state *state) in snet_read_vq_state()
328 int snet_suspend_dev(struct snet *snet) in snet_suspend_dev()
333 int snet_resume_dev(struct snet *snet) in snet_resume_dev()
/linux/net/netfilter/
H A Dnf_synproxy_core.c242 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); synproxy_cpu_seq_start() local
260 struct synproxy_net *snet = synproxy_pernet(seq_file_net(seq)); synproxy_cpu_seq_next() local
332 struct synproxy_net *snet = synproxy_pernet(net); synproxy_net_init() local
368 struct synproxy_net *snet = synproxy_pernet(net); synproxy_net_exit() local
494 struct synproxy_net *snet = synproxy_pernet(net); synproxy_send_server_syn() local
617 struct synproxy_net *snet = synproxy_pernet(net); synproxy_recv_client_ack() local
643 struct synproxy_net *snet = synproxy_pernet(net); ipv4_synproxy_hook() local
767 nf_synproxy_ipv4_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_init() argument
783 nf_synproxy_ipv4_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv4_fini() argument
908 struct synproxy_net *snet = synproxy_pernet(net); synproxy_send_server_syn_ipv6() local
1034 struct synproxy_net *snet = synproxy_pernet(net); synproxy_recv_client_ack_ipv6() local
1060 struct synproxy_net *snet = synproxy_pernet(net); ipv6_synproxy_hook() local
1191 nf_synproxy_ipv6_init(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_init() argument
1208 nf_synproxy_ipv6_fini(struct synproxy_net * snet,struct net * net) nf_synproxy_ipv6_fini() argument
[all...]
H A Dnft_synproxy.c26 struct synproxy_net *snet, in nft_synproxy_tcp_options()
54 struct synproxy_net *snet = synproxy_pernet(net); in nft_synproxy_eval_v4() local
85 struct synproxy_net *snet = synproxy_pernet(net); in nft_synproxy_eval_v6() local
157 struct synproxy_net *snet = synproxy_pernet(ctx->net); in nft_synproxy_do_init() local
210 struct synproxy_net *snet = synproxy_pernet(ctx->net); in nft_synproxy_do_destroy() local
/linux/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg6() local
68 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_check() local
92 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg6_destroy() local
/linux/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c17 struct synproxy_net *snet = synproxy_pernet(net); in synproxy_tg4() local
66 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_check() local
89 struct synproxy_net *snet = synproxy_pernet(par->net); in synproxy_tg4_destroy() local
/linux/include/net/netfilter/
H A Dnf_synproxy.h84 nf_synproxy_ipv6_init(struct synproxy_net *snet, struct net *net) { return 0; } in nf_synproxy_ipv6_init()
86 nf_synproxy_ipv6_fini(struct synproxy_net *snet, struct net *net) {}; in nf_synproxy_ipv6_fini()