tftpd: allow IPv4/6-specific remapping rules
[tftp-hpa.git] / tftpd / recvfrom.h
blobe3c40551ed780fdd39df3ee852a725e679b6f616
1 /* ----------------------------------------------------------------------- *
3 * Copyright 2001-2006 H. Peter Anvin - All Rights Reserved
5 * This program is free software available under the same license
6 * as the "OpenBSD" operating system, distributed at
7 * http://www.openbsd.org/.
9 * ----------------------------------------------------------------------- */
12 * recvfrom.h
14 * Header for recvfrom substitute
18 #include "config.h"
20 int
21 myrecvfrom(int s, void *buf, int len, unsigned int flags,
22 struct sockaddr *from, socklen_t *fromlen,
23 union sock_addr *myaddr);