include/linux/netfilter/nf_conntrack_ftp.h
Source file repositories/reference/linux-study-clean/include/linux/netfilter/nf_conntrack_ftp.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/netfilter/nf_conntrack_ftp.h- Extension
.h- Size
- 1231 bytes
- Lines
- 40
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/netfilter.hlinux/skbuff.hlinux/types.hnet/netfilter/nf_conntrack_expect.huapi/linux/netfilter/nf_conntrack_ftp.huapi/linux/netfilter/nf_conntrack_tuple_common.h
Detected Declarations
struct nf_ct_ftp_master
Annotated Snippet
struct nf_ct_ftp_master {
/* Valid seq positions for cmd matching after newline */
u_int32_t seq_aft_nl[IP_CT_DIR_MAX][NUM_SEQ_TO_REMEMBER];
/* 0 means seq_match_aft_nl not set */
u_int16_t seq_aft_nl_num[IP_CT_DIR_MAX];
/* pickup sequence tracking, useful for conntrackd */
u_int16_t flags[IP_CT_DIR_MAX];
};
/* For NAT to hook in when we find a packet which describes what other
* connection we should expect. */
typedef unsigned int
nf_nat_ftp_hook_fn(struct sk_buff *skb,
enum ip_conntrack_info ctinfo,
enum nf_ct_ftp_type type,
unsigned int protoff,
unsigned int matchoff,
unsigned int matchlen,
struct nf_conntrack_expect *exp);
extern nf_nat_ftp_hook_fn __rcu *nf_nat_ftp_hook;
#endif /* _NF_CONNTRACK_FTP_H */
Annotation
- Immediate include surface: `linux/netfilter.h`, `linux/skbuff.h`, `linux/types.h`, `net/netfilter/nf_conntrack_expect.h`, `uapi/linux/netfilter/nf_conntrack_ftp.h`, `uapi/linux/netfilter/nf_conntrack_tuple_common.h`.
- Detected declarations: `struct nf_ct_ftp_master`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.