D | udp_io.c | 33 const struct sockaddr *to, in send_to_from() argument 39 return sendto(fd, buf, len, flags, to, tolen); in send_to_from() 57 return sendto(fd, buf, len, flags, to, tolen); in send_to_from() 68 msg.msg_name = (void *)(struct sockaddr *)to; /* or compiler will annoy us */ in send_to_from() 121 struct sockaddr *from, struct sockaddr *to, in recv_from_to() argument 125 (void)to; /* suppress "unused to" warning */ in recv_from_to() 155 # define to4 ((struct sockaddr_in*)to) in recv_from_to() 156 # define to6 ((struct sockaddr_in6*)to) in recv_from_to() 166 to->sa_family = AF_INET; in recv_from_to() 178 to->sa_family = AF_INET6; in recv_from_to()
|