Searched refs:numsrc (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dsourcefilter.c42 socklen_t grouplen, uint32_t *fmode, uint_t *numsrc,
48 mallocsize = (*numsrc == 0) ?
49 sizeof (struct group_filter) : GROUP_FILTER_SIZE(*numsrc);
57 gf->gf_numsrc = orig_numsrc = *numsrc;
87 *numsrc = gf->gf_numsrc;
88 cpsize = MIN(orig_numsrc, *numsrc) * sizeof (struct sockaddr_storage);
102 socklen_t grouplen, uint32_t fmode, uint_t numsrc,
108 mallocsize = (numsrc == 0) ?
109 sizeof (struct group_filter) : GROUP_FILTER_SIZE(numsrc);
139 gf->gf_numsrc = numsrc;
41 getsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t *fmode, uint_t *numsrc, struct sockaddr_storage *slist) argument
101 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t fmode, uint_t numsrc, struct sockaddr_storage *slist) argument
158 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) argument
197 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t fmode, uint32_t numsrc, struct in_addr *slist) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Digmp.c625 uint_t i, next, mrd, qqi, timer, delay, numsrc; local
633 /* make sure numsrc matches packet size */
634 numsrc = ntohs(igmp3qa->igmp3qa_numsrc);
635 if (igmplen < IGMP_V3_QUERY_MINLEN + (numsrc * sizeof (ipaddr_t))) {
688 if ((numsrc == 0) && (igmp3qa->igmp3qa_group == INADDR_ANY)) {
713 if (numsrc == 0 || (ilm->ilm_timer < INFINITY &&
721 if (numsrc > MAX_FILTER_SIZE ||
734 pktl->sl_numsrc = numsrc;
735 for (i = 0; i < numsrc; i++)
2308 uint_t next, numsrc, local
[all...]
H A Dip_multi.c1837 int i, numsrc, fmode, outsrcs; local
1877 numsrc = 0;
1898 numsrc = fp->sl_numsrc;
1902 imsf->imsf_numsrc = numsrc;
1905 gf->gf_numsrc = numsrc;
2381 * In some cases (numsrc < 2), the second copyin is not needed as the
/illumos-gate/usr/src/uts/common/netinet/
H A Din.h1074 #define GROUP_FILTER_SIZE(numsrc) \
1076 + (numsrc) * sizeof (struct sockaddr_storage))
1089 #define IP_MSFILTER_SIZE(numsrc) \
1091 + (numsrc) * sizeof (struct in_addr))

Completed in 86 milliseconds