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

Function tunifinit

freebsd/net/if_tuntap.c:1210–1217  ·  view source on GitHub ↗

* Used only for l2 tunnel. */

Source from the content-addressed store, hash-verified

1208 * Used only for l2 tunnel.
1209 */
1210static void
1211tunifinit(void *xtp)
1212{
1213 struct tuntap_softc *tp;
1214
1215 tp = (struct tuntap_softc *)xtp;
1216 tuninit(tp->tun_ifp);
1217}
1218
1219/*
1220 * To be called under TUN_LOCK. Update ifp->if_hwassist according to the

Callers

nothing calls this directly

Calls 1

tuninitFunction · 0.85

Tested by

no test coverage detected