include/net/psp/functions.h
Source file repositories/reference/linux-study-clean/include/net/psp/functions.h
File Facts
- System
- Linux kernel
- Corpus path
include/net/psp/functions.h- Extension
.h- Size
- 5268 bytes
- Lines
- 210
- 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.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/skbuff.hlinux/rcupdate.hlinux/udp.hnet/sock.hnet/tcp.hnet/psp/types.h
Detected Declarations
struct inet_timewait_sockfunction psp_enqueue_set_decryptedfunction __psp_skb_coalesce_difffunction psp_is_allowed_nondatafunction psp_pse_matches_pasfunction __psp_sk_rx_policy_checkfunction psp_sk_rx_policy_checkfunction psp_twsk_rx_policy_checkfunction psp_sk_overheadfunction psp_sk_assoc_freefunction psp_enqueue_set_decryptedfunction psp_sk_rx_policy_checkfunction psp_twsk_rx_policy_checkfunction psp_sk_overheadfunction psp_skb_coalesce_diff
Annotated Snippet
static inline void psp_sk_assoc_free(struct sock *sk) { }
static inline void
psp_twsk_init(struct inet_timewait_sock *tw, const struct sock *sk) { }
static inline void psp_twsk_assoc_free(struct inet_timewait_sock *tw) { }
static inline void
psp_reply_set_decrypted(const struct sock *sk, struct sk_buff *skb) { }
static inline struct psp_assoc *psp_sk_assoc(const struct sock *sk)
{
return NULL;
}
static inline void
psp_enqueue_set_decrypted(struct sock *sk, struct sk_buff *skb) { }
static inline unsigned long
__psp_skb_coalesce_diff(const struct sk_buff *one, const struct sk_buff *two,
unsigned long diffs)
{
return diffs;
}
static inline enum skb_drop_reason
psp_sk_rx_policy_check(struct sock *sk, struct sk_buff *skb)
{
return 0;
}
static inline enum skb_drop_reason
psp_twsk_rx_policy_check(struct inet_timewait_sock *tw, struct sk_buff *skb)
{
return 0;
}
static inline struct psp_assoc *psp_skb_get_assoc_rcu(struct sk_buff *skb)
{
return NULL;
}
static inline unsigned int psp_sk_overhead(const struct sock *sk)
{
return 0;
}
#endif
static inline unsigned long
psp_skb_coalesce_diff(const struct sk_buff *one, const struct sk_buff *two)
{
return __psp_skb_coalesce_diff(one, two, 0);
}
#endif /* __NET_PSP_HELPERS_H */
Annotation
- Immediate include surface: `linux/skbuff.h`, `linux/rcupdate.h`, `linux/udp.h`, `net/sock.h`, `net/tcp.h`, `net/psp/types.h`.
- Detected declarations: `struct inet_timewait_sock`, `function psp_enqueue_set_decrypted`, `function __psp_skb_coalesce_diff`, `function psp_is_allowed_nondata`, `function psp_pse_matches_pas`, `function __psp_sk_rx_policy_check`, `function psp_sk_rx_policy_check`, `function psp_twsk_rx_policy_check`, `function psp_sk_overhead`, `function psp_sk_assoc_free`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- 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.