Lines Matching refs:gf
45 struct group_filter *gf;
50 gf = (struct group_filter *)malloc(mallocsize);
51 if (gf == NULL) {
56 gf->gf_interface = interface;
57 gf->gf_numsrc = orig_numsrc = *numsrc;
64 (void) memcpy((void *)&gf->gf_group, (void *)group,
72 (void) memcpy((void *)&gf->gf_group, (void *)group,
80 rtnerr = ioctl(s, SIOCGMSFILTER, (void *)gf);
86 *fmode = gf->gf_fmode;
87 *numsrc = gf->gf_numsrc;
89 (void) memcpy((void *)slist, (void *)gf->gf_slist, cpsize);
92 free(gf);
105 struct group_filter *gf;
110 gf = (struct group_filter *)malloc(mallocsize);
111 if (gf == NULL) {
122 (void) memcpy((void *)&gf->gf_group, (void *)group,
130 (void) memcpy((void *)&gf->gf_group, (void *)group,
137 gf->gf_interface = interface;
138 gf->gf_fmode = fmode;
139 gf->gf_numsrc = numsrc;
140 (void) memcpy((void *)gf->gf_slist, (void *)slist,
143 rtnerr = ioctl(s, SIOCSMSFILTER, (void *)gf);
149 free(gf);