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

Function vxlan_socket_lookup_softc

freebsd/net/if_vxlan.c:1359–1370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357}
1358
1359static struct vxlan_softc *
1360vxlan_socket_lookup_softc(struct vxlan_socket *vso, uint32_t vni)
1361{
1362 struct rm_priotracker tracker;
1363 struct vxlan_softc *sc;
1364
1365 VXLAN_SO_RLOCK(vso, &tracker);
1366 sc = vxlan_socket_lookup_softc_locked(vso, vni);
1367 VXLAN_SO_RUNLOCK(vso, &tracker);
1368
1369 return (sc);
1370}
1371
1372static int
1373vxlan_socket_insert_softc(struct vxlan_socket *vso, struct vxlan_softc *sc)

Callers 1

vxlan_inputFunction · 0.85

Calls 1

Tested by

no test coverage detected