netty_epoll_native.c — netty Source File
Architecture documentation for netty_epoll_native.c, a c file in the netty codebase. 34 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42["netty_epoll_native.c"] 16f104fe_d7d2_755c_928f_d73095eb69fc["netty_epoll_linuxsocket.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 16f104fe_d7d2_755c_928f_d73095eb69fc 32a044df_d323_8dcb_1670_dd70dd888667["netty_unix_buffer.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 32a044df_d323_8dcb_1670_dd70dd888667 949145c3_d1a9_37e9_096c_695b337177e2["netty_unix_errors.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 949145c3_d1a9_37e9_096c_695b337177e2 847687d2_d2fb_80a8_2120_5511e3a8037e["netty_unix_filedescriptor.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 847687d2_d2fb_80a8_2120_5511e3a8037e 314d8256_2f6c_cf47_70a2_c16bcc86d337["netty_unix_jni.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 314d8256_2f6c_cf47_70a2_c16bcc86d337 d94f2313_89f0_8200_5dfb_f02c8334579a["netty_unix_limits.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> d94f2313_89f0_8200_5dfb_f02c8334579a e4a61958_950c_028c_96ac_5dcf4c8e4f44["netty_unix_socket.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> e4a61958_950c_028c_96ac_5dcf4c8e4f44 1f63ffb4_ac00_2788_67d4_ab362e1dfa05["netty_unix_util.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 1f63ffb4_ac00_2788_67d4_ab362e1dfa05 a2bec8f0_0c26_cf23_4d5c_662e6a0c911e["netty_unix.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> a2bec8f0_0c26_cf23_4d5c_662e6a0c911e 0c4a58dc_2fdd_e4ad_9234_08a5790f43e3["jni.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 0c4a58dc_2fdd_e4ad_9234_08a5790f43e3 617ed4cf_d595_a5c7_1593_810f21ce0712["stdint.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 617ed4cf_d595_a5c7_1593_810f21ce0712 d822c438_bcda_8ebc_05f9_1007c55018be["stdlib.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> d822c438_bcda_8ebc_05f9_1007c55018be 5cbcd069_b25c_7379_e9c5_47a7dd85985a["string.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 5cbcd069_b25c_7379_e9c5_47a7dd85985a 71c52c20_b4aa_1551_58db_42e42fa27aa6["errno.h"] 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 --> 71c52c20_b4aa_1551_58db_42e42fa27aa6 style 4ef9c8b7_a695_2edf_2d3f_eb57685b8d42 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*/
#define _GNU_SOURCE
#include <jni.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/epoll.h>
#include <sys/eventfd.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/timerfd.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/utsname.h>
#include <stddef.h>
#include <limits.h>
#include <inttypes.h>
#include <link.h>
#include <time.h>
// Needed to be able to use syscalls directly and so not depend on newer GLIBC versions
#include <linux/net.h>
#include <sys/syscall.h>
// Needed for UDP_SEGMENT
#include <netinet/udp.h>
#include "netty_epoll_linuxsocket.h"
#include "netty_unix_buffer.h"
#include "netty_unix_errors.h"
#include "netty_unix_filedescriptor.h"
#include "netty_unix_jni.h"
#include "netty_unix_limits.h"
#include "netty_unix_socket.h"
#include "netty_unix_util.h"
#include "netty_unix.h"
// Add define if NETTY_BUILD_STATIC is defined so it is picked up in netty_jni_util.c
#ifdef NETTY_BUILD_STATIC
#define NETTY_JNI_UTIL_BUILD_STATIC
#endif
// ... (963 more lines)
Domain
Dependencies
- epoll.h
- errno.h
- eventfd.h
- fcntl.h
- in.h
- inet.h
- inttypes.h
- jni.h
- limits.h
- link.h
- net.h
- netty_epoll_linuxsocket.h
- netty_unix.h
- netty_unix_buffer.h
- netty_unix_errors.h
- netty_unix_filedescriptor.h
- netty_unix_jni.h
- netty_unix_limits.h
- netty_unix_socket.h
- netty_unix_util.h
- socket.h
- stddef.h
- stdint.h
- stdlib.h
- string.h
- syscall.h
- tcp.h
- time.h
- timerfd.h
- types.h
- udp.h
- un.h
- unistd.h
- utsname.h
Source
Frequently Asked Questions
What does netty_epoll_native.c do?
netty_epoll_native.c is a source file in the netty codebase, written in c. It belongs to the NativeTransport domain.
What does netty_epoll_native.c depend on?
netty_epoll_native.c imports 34 module(s): epoll.h, errno.h, eventfd.h, fcntl.h, in.h, inet.h, inttypes.h, jni.h, and 26 more.
Where is netty_epoll_native.c in the architecture?
netty_epoll_native.c is located at transport-native-epoll/src/main/c/netty_epoll_native.c (domain: NativeTransport, directory: transport-native-epoll/src/main/c).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free