Home / File/ netty_epoll_vmsocket.h — netty Source File

netty_epoll_vmsocket.h — netty Source File

Architecture documentation for netty_epoll_vmsocket.h, a c file in the netty codebase. 1 imports, 1 dependents.

File c NativeTransport 1 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  00f19555_3236_a460_7b8b_725330d503e4["netty_epoll_vmsocket.h"]
  505c78e3_5429_a273_f5c4_148e73de1d1f["socket.h"]
  00f19555_3236_a460_7b8b_725330d503e4 --> 505c78e3_5429_a273_f5c4_148e73de1d1f
  ef029e55_576c_b697_62d9_3b9dde6309f3["netty_epoll_linuxsocket.c"]
  ef029e55_576c_b697_62d9_3b9dde6309f3 --> 00f19555_3236_a460_7b8b_725330d503e4
  style 00f19555_3236_a460_7b8b_725330d503e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/*
 * Copyright 2023 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.
 */

#ifndef NETTY_EPOLL_VMSOCKET_H_
#define NETTY_EPOLL_VMSOCKET_H_

#include <sys/socket.h>

#ifndef AF_VSOCK
#define AF_VSOCK 40
#endif

struct sockaddr_vm {
    sa_family_t svm_family;
    unsigned short svm_reserved1;
    unsigned int svm_port;
    unsigned int svm_cid;
    unsigned char svm_zero[sizeof(struct sockaddr) -
                           sizeof(sa_family_t) -
                           sizeof(unsigned short) -
                           sizeof(unsigned int) -
                           sizeof(unsigned int)];
};

#endif /* NETTY_EPOLL_VMSOCKET_H_ */

Dependencies

  • socket.h

Frequently Asked Questions

What does netty_epoll_vmsocket.h do?
netty_epoll_vmsocket.h is a source file in the netty codebase, written in c. It belongs to the NativeTransport domain.
What does netty_epoll_vmsocket.h depend on?
netty_epoll_vmsocket.h imports 1 module(s): socket.h.
What files import netty_epoll_vmsocket.h?
netty_epoll_vmsocket.h is imported by 1 file(s): netty_epoll_linuxsocket.c.
Where is netty_epoll_vmsocket.h in the architecture?
netty_epoll_vmsocket.h is located at transport-native-epoll/src/main/c/netty_epoll_vmsocket.h (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