Exploit databaseDownload repository ZIP
GH-9a497cc26994d431b276e9e3b7a8f75c
satheesh575555/linux-4.19.72_cve-2023-0386
Sources for CVE-2023-0386
20 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files41
satheesh575555/linux-4.19.72_cve-2023-0386Revision ef9a4a9fbf2b
- ↑..Parent directory
- ipv4/
- ipv6/
- br_netfilter.h
- nf_conntrack.h
- nf_conntrack_acct.h
- nf_conntrack_core.h
- nf_conntrack_count.h
- nf_conntrack_ecache.h
- nf_conntrack_expect.h
- nf_conntrack_extend.h
- nf_conntrack_helper.h
- nf_conntrack_l4proto.h
- nf_conntrack_labels.h
- nf_conntrack_seqadj.h
- nf_conntrack_synproxy.h
- nf_conntrack_timeout.h
- nf_conntrack_timestamp.h
- nf_conntrack_tuple.h
- nf_conntrack_zones.h
- nf_dup_netdev.h
- nf_flow_table.h
- nf_log.h
- nf_nat.h
- nf_nat_core.h
- nf_nat_helper.h
- nf_nat_l3proto.h
- nf_nat_l4proto.h
- nf_nat_redirect.h
- nf_queue.h
- nf_socket.h
- nf_tables.h
- nf_tables_core.h
- nf_tables_ipv4.h
- nf_tables_ipv6.h
- nf_tproxy.h
- nfnetlink_log.h
- nft_fib.h
- nft_masq.h
- nft_redir.h
- nft_reject.h
- xt_rateest.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
include/net/netfilter/nf_nat_core.h
Text · 898 bytes/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _NF_NAT_CORE_H
#define _NF_NAT_CORE_H
#include <linux/list.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_nat.h>
/* This header used to share core functionality between the standalone
NAT module, and the compatibility layer's use of NAT for masquerading. */
unsigned int nf_nat_packet(struct nf_conn *ct, enum ip_conntrack_info ctinfo,
unsigned int hooknum, struct sk_buff *skb);
unsigned int
nf_nat_inet_fn(void *priv, struct sk_buff *skb,
const struct nf_hook_state *state);
int nf_xfrm_me_harder(struct net *net, struct sk_buff *skb, unsigned int family);
static inline int nf_nat_initialized(struct nf_conn *ct,
enum nf_nat_manip_type manip)
{
if (manip == NF_NAT_MANIP_SRC)
return ct->status & IPS_SRC_NAT_DONE;
else
return ct->status & IPS_DST_NAT_DONE;
}
#endif /* _NF_NAT_CORE_H */