Searched refs:nsrcs (Results 1 – 3 of 3) sorted by relevance
/net/ipv4/ |
D | igmp.c | 858 static int igmp_xmarksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_xmarksources() argument 865 if (scount == nsrcs) in igmp_xmarksources() 867 for (i = 0; i < nsrcs; i++) { in igmp_xmarksources() 880 if (scount == nsrcs) /* all sources excluded */ in igmp_xmarksources() 885 static int igmp_marksources(struct ip_mc_list *pmc, int nsrcs, __be32 *srcs) in igmp_marksources() argument 891 return igmp_xmarksources(pmc, nsrcs, srcs); in igmp_marksources() 896 if (scount == nsrcs) in igmp_marksources() 898 for (i = 0; i < nsrcs; i++) in igmp_marksources() 994 if (ih3->nsrcs) { in igmp_heard_query() 996 + ntohs(ih3->nsrcs)*sizeof(__be32))) in igmp_heard_query() [all …]
|
/net/bridge/ |
D | br_multicast.c | 293 ihv3->nsrcs = 0; in br_ip4_multicast_alloc_query() 930 u16 nsrcs; in br_ip4_multicast_igmp3_report() local 944 nsrcs = ntohs(grec->grec_nsrcs); in br_ip4_multicast_igmp3_report() 946 len += nsrcs * 4; in br_ip4_multicast_igmp3_report() 967 nsrcs == 0) { in br_ip4_multicast_igmp3_report() 1005 u16 nsrcs; in br_ip6_multicast_mld2_report() local 1018 nsrcs = ntohs(*_nsrcs); in br_ip6_multicast_mld2_report() 1019 grec_len = struct_size(grec, grec_src, nsrcs); in br_ip6_multicast_mld2_report() 1044 nsrcs == 0) { in br_ip6_multicast_mld2_report() 1248 if (ih3->nsrcs) in br_ip4_multicast_query()
|
/net/ipv6/ |
D | mcast.c | 1106 static bool mld_xmarksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_xmarksources() argument 1114 if (scount == nsrcs) in mld_xmarksources() 1116 for (i = 0; i < nsrcs; i++) { in mld_xmarksources() 1129 if (scount == nsrcs) /* all sources excluded */ in mld_xmarksources() 1134 static bool mld_marksources(struct ifmcaddr6 *pmc, int nsrcs, in mld_marksources() argument 1141 return mld_xmarksources(pmc, nsrcs, srcs); in mld_marksources() 1147 if (scount == nsrcs) in mld_marksources() 1149 for (i = 0; i < nsrcs; i++) { in mld_marksources()
|