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

Function vxlan_socket_release

freebsd/net/if_vxlan.c:925–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

923}
924
925static void
926vxlan_socket_release(struct vxlan_socket *vso)
927{
928 int destroy;
929
930 VXLAN_LIST_LOCK();
931 destroy = VXLAN_SO_RELEASE(vso);
932 if (destroy != 0)
933 LIST_REMOVE(vso, vxlso_entry);
934 VXLAN_LIST_UNLOCK();
935
936 if (destroy != 0)
937 vxlan_socket_destroy(vso);
938}
939
940static struct vxlan_socket *
941vxlan_socket_lookup(union vxlan_sockaddr *vxlsa)

Callers 2

vxlan_setup_socketFunction · 0.85
vxlan_teardown_lockedFunction · 0.85

Calls 1

vxlan_socket_destroyFunction · 0.85

Tested by

no test coverage detected