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

Function mld_init

freebsd/netinet6/mld6.c:3287–3299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3285#endif
3286
3287static void
3288mld_init(void *unused __unused)
3289{
3290
3291 CTR1(KTR_MLD, "%s: initializing", __func__);
3292 MLD_LOCK_INIT();
3293
3294 ip6_initpktopts(&mld_po);
3295 mld_po.ip6po_hlim = 1;
3296 mld_po.ip6po_hbh = &mld_ra.hbh;
3297 mld_po.ip6po_prefer_tempaddr = IP6PO_TEMPADDR_NOTPREFER;
3298 mld_po.ip6po_flags = IP6PO_DONTFRAG;
3299}
3300SYSINIT(mld_init, SI_SUB_PROTO_MC, SI_ORDER_MIDDLE, mld_init, NULL);
3301
3302static void

Callers

nothing calls this directly

Calls 1

ip6_initpktoptsFunction · 0.85

Tested by

no test coverage detected