MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ng_socket

Function ng_socket

tools/libnetgraph/compat.c:148–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148int
149ng_socket(int domain, int type, int protocol)
150{
151 struct socket_args sa;
152 sa.domain = domain;
153 sa.type = type;
154 sa.protocol = protocol;
155
156 return ngctl(NGCTL_SOCKET, (void *)&sa, sizeof(sa));
157}
158
159int
160ng_bind(int sockfd, const struct sockaddr *addr,

Callers

nothing calls this directly

Calls 1

ngctlFunction · 0.85

Tested by

no test coverage detected