include/linux/netfilter/nf_conntrack_tftp.h

Source file repositories/reference/linux-study-clean/include/linux/netfilter/nf_conntrack_tftp.h

File Facts

System
Linux kernel
Corpus path
include/linux/netfilter/nf_conntrack_tftp.h
Extension
.h
Size
650 bytes
Lines
30
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct tftphdr {
	__be16 opcode;
};

#define TFTP_OPCODE_READ	1
#define TFTP_OPCODE_WRITE	2
#define TFTP_OPCODE_DATA	3
#define TFTP_OPCODE_ACK		4
#define TFTP_OPCODE_ERROR	5

typedef unsigned int
nf_nat_tftp_hook_fn(struct sk_buff *skb,
		    enum ip_conntrack_info ctinfo,
		    struct nf_conntrack_expect *exp);

extern nf_nat_tftp_hook_fn __rcu *nf_nat_tftp_hook;

#endif /* _NF_CONNTRACK_TFTP_H */

Annotation

Implementation Notes