include/net/netfilter/ipv4/nf_dup_ipv4.h

Source file repositories/reference/linux-study-clean/include/net/netfilter/ipv4/nf_dup_ipv4.h

File Facts

System
Linux kernel
Corpus path
include/net/netfilter/ipv4/nf_dup_ipv4.h
Extension
.h
Size
288 bytes
Lines
12
Domain
Networking Core
Bucket
Sockets, Protocols, Packet Path, And Network Policy
Inferred role
Networking Core: implementation source
Status
source implementation candidate

Why This File Exists

Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _NF_DUP_IPV4_H_
#define _NF_DUP_IPV4_H_

#include <linux/skbuff.h>
#include <uapi/linux/in.h>

void nf_dup_ipv4(struct net *net, struct sk_buff *skb, unsigned int hooknum,
		 const struct in_addr *gw, int oif);

#endif /* _NF_DUP_IPV4_H_ */

Annotation

Implementation Notes