net/sched/act_ife.c
Source file repositories/reference/linux-study-clean/net/sched/act_ife.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/act_ife.c- Extension
.c- Size
- 20585 bytes
- Lines
- 928
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.hlinux/kernel.hlinux/string.hlinux/errno.hlinux/skbuff.hlinux/rtnetlink.hlinux/module.hlinux/init.hnet/net_namespace.hnet/netlink.hnet/pkt_sched.hnet/pkt_cls.huapi/linux/tc_act/tc_ife.hnet/tc_act/tc_ife.hlinux/etherdevice.hnet/ife.hnet/tc_wrapper.h
Detected Declarations
function ife_encode_meta_u16function ife_get_meta_u32function ife_check_meta_u32function ife_check_meta_u16function ife_encode_meta_u32function ife_get_meta_u16function ife_alloc_meta_u32function ife_alloc_meta_u16function ife_release_meta_genfunction ife_validate_meta_u32function ife_validate_meta_u16function register_ife_opfunction list_for_each_entryfunction unregister_ife_opfunction ife_validate_metatypefunction load_metaops_and_vetfunction __add_metainfofunction add_metainfo_and_get_opsfunction add_metainfofunction use_all_metadatafunction dump_metalistfunction list_for_each_entryfunction __tcf_ife_cleanupfunction list_for_each_entry_safefunction tcf_ife_cleanup_paramsfunction tcf_ife_cleanupfunction load_metalistfunction populate_metalistfunction tcf_ife_initfunction tcf_ife_dumpfunction find_decode_metaidfunction tcf_ife_decodefunction ife_get_szfunction list_for_each_entry_rcufunction tcf_ife_encodefunction tcf_ife_actfunction ife_init_netfunction ife_exit_netfunction ife_init_modulefunction ife_cleanup_modulemodule init ife_init_moduleexport ife_encode_meta_u16export ife_get_meta_u32export ife_check_meta_u32export ife_check_meta_u16export ife_encode_meta_u32export ife_get_meta_u16export ife_alloc_meta_u32
Annotated Snippet
module_init(ife_init_module);
module_exit(ife_cleanup_module);
MODULE_AUTHOR("Jamal Hadi Salim(2015)");
MODULE_DESCRIPTION("Inter-FE LFB action");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/types.h`, `linux/kernel.h`, `linux/string.h`, `linux/errno.h`, `linux/skbuff.h`, `linux/rtnetlink.h`, `linux/module.h`, `linux/init.h`.
- Detected declarations: `function ife_encode_meta_u16`, `function ife_get_meta_u32`, `function ife_check_meta_u32`, `function ife_check_meta_u16`, `function ife_encode_meta_u32`, `function ife_get_meta_u16`, `function ife_alloc_meta_u32`, `function ife_alloc_meta_u16`, `function ife_release_meta_gen`, `function ife_validate_meta_u32`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
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.