Lines Matching refs:from
130 from, to, port, data, len)
134 u_int32_t from;
153 ip.ip_src.s_addr = from;
192 ssize_t decode_hw_header (interface, buf, bufix, from)
196 struct hardware *from;
200 return decode_tr_header (interface, buf, bufix, from);
205 return decode_fddi_header (interface, buf, bufix, from);
208 return decode_ethernet_header (interface, buf, bufix, from);
213 ssize_t decode_udp_ip_header (interface, buf, bufix, from, buflen, rbuflen)
217 struct sockaddr_in *from;
280 memcpy (&from -> sin_addr, &ip.ip_src, 4);
335 memcpy (&from -> sin_port, &udp -> uh_sport, sizeof udp -> uh_sport);