Lines Matching refs:ifp
102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp);
103 …nt sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp);
626 struct interface *ifp = &interfaces[i]; in advertise() local
631 if ((sin->sin_addr.s_addr & ifp->netmask.s_addr) == in advertise()
632 (ifp->address.s_addr & ifp->netmask.s_addr)) { in advertise()
637 ifp->name, in advertise()
638 pr_name(ifp->address)); in advertise()
1013 sendbcastif(int s, char *packet, int packetlen, struct interface *ifp) in sendbcastif() argument
1020 baddr.sin_addr = ifp->bcastaddr; in sendbcastif()
1056 struct interface *ifp) in sendmcastif() argument
1062 mreq.imr_ifindex = ifp->ifindex; in sendmcastif()
1063 mreq.imr_address = ifp->localaddr; in sendmcastif()
1066 ifp->name, in sendmcastif()
1073 ifp->name, in sendmcastif()
1082 ifp->name, pr_name(mreq.imr_address)); in sendmcastif()