Searched refs:msfr (Results 1 – 3 of 3) sorted by relevance
/freebsd/lib/libc/net/ |
H A D | sourcefilter.c | 279 struct __msfilterreq msfr; in setsourcefilter() local 317 memset(&msfr, 0, sizeof(msfr)); in setsourcefilter() 319 msfr.msfr_fmode = fmode; in setsourcefilter() 320 msfr.msfr_nsrcs = numsrc; in setsourcefilter() 324 return (_setsockopt(s, level, optname, &msfr, sizeof(msfr))); in setsourcefilter() 336 struct __msfilterreq msfr; in getsourcefilter() local 382 memset(&msfr, 0, optlen); in getsourcefilter() 384 msfr.msfr_fmode = 0; in getsourcefilter() 385 msfr.msfr_nsrcs = nsrcs; in getsourcefilter() 393 msfr.msfr_srcs = slist; in getsourcefilter() [all …]
|
/freebsd/sys/netinet6/ |
H A D | in6_mcast.c | 1661 struct __msfilterreq msfr; in in6p_get_source_filters() local 1723 msfr.msfr_fmode = imf->im6f_st[1]; in in6p_get_source_filters() 1735 if (msfr.msfr_srcs != NULL && msfr.msfr_nsrcs > 0) { in in6p_get_source_filters() 1748 nsrcs = msfr.msfr_nsrcs; in in6p_get_source_filters() 1771 error = copyout(tss, msfr.msfr_srcs, in in6p_get_source_filters() 1778 msfr.msfr_nsrcs = ncsrcs; in in6p_get_source_filters() 2490 struct __msfilterreq msfr; in in6p_set_source_filters() local 2545 imf->im6f_st[1] = msfr.msfr_fmode; in in6p_set_source_filters() 2553 if (msfr.msfr_nsrcs > 0) { in in6p_set_source_filters() 2565 error = copyin(msfr.msfr_srcs, kss, in in6p_set_source_filters() [all …]
|
/freebsd/sys/netinet/ |
H A D | in_mcast.c | 1618 struct __msfilterreq msfr; in inp_get_source_filters() local 1668 msfr.msfr_fmode = imf->imf_st[1]; in inp_get_source_filters() 1680 if (msfr.msfr_srcs != NULL && msfr.msfr_nsrcs > 0) { in inp_get_source_filters() 1693 nsrcs = msfr.msfr_nsrcs; in inp_get_source_filters() 1716 error = copyout(tss, msfr.msfr_srcs, in inp_get_source_filters() 1723 msfr.msfr_nsrcs = ncsrcs; in inp_get_source_filters() 2525 struct __msfilterreq msfr; in inp_set_source_filters() local 2580 imf->imf_st[1] = msfr.msfr_fmode; in inp_set_source_filters() 2588 if (msfr.msfr_nsrcs > 0) { in inp_set_source_filters() 2600 error = copyin(msfr.msfr_srcs, kss, in inp_set_source_filters() [all …]
|