1/*
2 **************************************************************************
3 * Copyright (c) 2015, The Linux Foundation.  All rights reserved.
4 * Permission to use, copy, modify, and/or distribute this software for
5 * any purpose with or without fee is hereby granted, provided that the
6 * above copyright notice and this permission notice appear in all copies.
7 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
13 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 **************************************************************************
15 */
16
17extern unsigned int ecm_nss_ported_ipv4_process(struct net_device *out_dev, struct net_device *out_dev_nat,
18							struct net_device *in_dev, struct net_device *in_dev_nat,
19							uint8_t *src_node_addr, uint8_t *src_node_addr_nat,
20							uint8_t *dest_node_addr, uint8_t *dest_node_addr_nat,
21							bool can_accel, bool is_routed, bool is_l2_encap, struct sk_buff *skb,
22							struct ecm_tracker_ip_header *iph,
23							struct nf_conn *ct, ecm_tracker_sender_type_t sender, ecm_db_direction_t ecm_dir,
24							struct nf_conntrack_tuple *orig_tuple, struct nf_conntrack_tuple *reply_tuple,
25							ip_addr_t ip_src_addr, ip_addr_t ip_dest_addr, ip_addr_t ip_src_addr_nat,
26							ip_addr_t ip_dest_addr_nat);
27extern bool ecm_nss_ported_ipv4_debugfs_init(struct dentry *dentry);
28
29