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

Function ngd_detach

freebsd/netgraph/ng_socket.c:400–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400static void
401ngd_detach(struct socket *so)
402{
403 struct ngpcb *const pcbp = sotongpcb(so);
404
405 KASSERT(pcbp != NULL, ("ngd_detach: pcbp == NULL"));
406 ng_detach_common(pcbp, NG_DATA);
407}
408
409static int
410ngd_send(struct socket *so, int flags, struct mbuf *m, struct sockaddr *addr,

Callers

nothing calls this directly

Calls 1

ng_detach_commonFunction · 0.85

Tested by

no test coverage detected