Lines Matching defs:buf
42 struct ibuf *buf;
50 if ((buf = ibuf_open(iface->mtu - sizeof(struct ip))) == NULL)
76 ibuf_add(buf, &igmp_hdr, sizeof(igmp_hdr));
83 ret = send_packet(iface, buf, &dst);
84 ibuf_free(buf);
89 recv_igmp_query(struct iface *iface, struct in_addr src, char *buf,
103 memcpy(&igmp_hdr, buf, sizeof(igmp_hdr));
136 recv_igmp_report(struct iface *iface, struct in_addr src, char *buf,
150 memcpy(&igmp_hdr, buf, sizeof(igmp_hdr));
188 recv_igmp_leave(struct iface *iface, struct in_addr src, char *buf,
205 memcpy(&igmp_hdr, buf, sizeof(igmp_hdr));