whiterose

linux unikernel
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/whiterose

nf_nat_masquerade.h (456B)


      1 /* SPDX-License-Identifier: GPL-2.0 */
      2 #ifndef _NF_NAT_MASQUERADE_IPV4_H_
      3 #define _NF_NAT_MASQUERADE_IPV4_H_
      4 
      5 #include <net/netfilter/nf_nat.h>
      6 
      7 unsigned int
      8 nf_nat_masquerade_ipv4(struct sk_buff *skb, unsigned int hooknum,
      9 		       const struct nf_nat_range2 *range,
     10 		       const struct net_device *out);
     11 
     12 int nf_nat_masquerade_ipv4_register_notifier(void);
     13 void nf_nat_masquerade_ipv4_unregister_notifier(void);
     14 
     15 #endif /*_NF_NAT_MASQUERADE_IPV4_H_ */