net/netfilter/nf_conntrack_sip.c
Source file repositories/reference/linux-study-clean/net/netfilter/nf_conntrack_sip.c
File Facts
- System
- Linux kernel
- Corpus path
net/netfilter/nf_conntrack_sip.c- Extension
.c- Size
- 49867 bytes
- Lines
- 1839
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/ctype.hlinux/skbuff.hlinux/inet.hlinux/in.hlinux/udp.hlinux/tcp.hlinux/netfilter.hlinux/netfilter_ipv4.hlinux/netfilter_ipv6.hnet/netfilter/nf_conntrack.hnet/netfilter/nf_conntrack_core.hnet/netfilter/nf_conntrack_expect.hnet/netfilter/nf_conntrack_helper.hnet/netfilter/nf_conntrack_zones.hlinux/netfilter/nf_conntrack_sip.h
Detected Declarations
function string_lenfunction digits_lenfunction iswordcfunction word_lenfunction callid_lenfunction media_lenfunction sip_parse_addrfunction sip_parse_portfunction epaddr_lenfunction skp_epaddr_lenfunction sip_strtouintfunction ct_sip_parse_requestfunction ct_sip_get_headerfunction ct_sip_next_headerfunction ct_sip_walk_headersfunction ct_sip_parse_header_urifunction ct_sip_parse_paramfunction ct_sip_parse_address_paramfunction ct_sip_parse_numerical_paramfunction ct_sip_parse_transportfunction sdp_parse_addrfunction sdp_addr_lenfunction ct_sip_get_sdp_headerfunction ct_sip_parse_sdp_addrfunction refresh_signalling_expectationfunction flush_expectationsfunction set_expected_rtp_rtcpfunction process_sdpfunction process_invite_responsefunction process_update_responsefunction process_prack_responsefunction process_invite_requestfunction process_bye_requestfunction process_register_requestfunction process_register_responsefunction process_sip_responsefunction process_sip_requestfunction process_sip_msgfunction sip_help_tcpfunction sip_help_udpfunction nf_conntrack_sip_finifunction nf_conntrack_sip_initmodule init nf_conntrack_sip_initexport nf_nat_sip_hooksexport ct_sip_parse_requestexport ct_sip_get_headerexport ct_sip_parse_header_uriexport ct_sip_parse_address_param
Annotated Snippet
module_init(nf_conntrack_sip_init);
module_exit(nf_conntrack_sip_fini);
Annotation
- Immediate include surface: `linux/module.h`, `linux/ctype.h`, `linux/skbuff.h`, `linux/inet.h`, `linux/in.h`, `linux/udp.h`, `linux/tcp.h`, `linux/netfilter.h`.
- Detected declarations: `function string_len`, `function digits_len`, `function iswordc`, `function word_len`, `function callid_len`, `function media_len`, `function sip_parse_addr`, `function sip_parse_port`, `function epaddr_len`, `function skp_epaddr_len`.
- 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.