xref: /openbsd-src/sys/net/if_etherip.h (revision d99031112fd1e05bfa8c2a47c3a4ea6da2416489)
192ef449aSgoda /*
292ef449aSgoda  * Copyright (c) 2015 Kazuya GODA <goda@openbsd.org>
392ef449aSgoda  *
492ef449aSgoda  * Permission to use, copy, modify, and distribute this software for any
592ef449aSgoda  * purpose with or without fee is hereby granted, provided that the above
692ef449aSgoda  * copyright notice and this permission notice appear in all copies.
792ef449aSgoda  *
892ef449aSgoda  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
992ef449aSgoda  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1092ef449aSgoda  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1192ef449aSgoda  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1292ef449aSgoda  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1392ef449aSgoda  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1492ef449aSgoda  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1592ef449aSgoda  */
1692ef449aSgoda 
1792ef449aSgoda #ifndef _NET_IF_ETHERIP_H_
1892ef449aSgoda #define _NET_IF_ETHERIP_H_
1992ef449aSgoda 
20*ff2b3331Sjca int etherip_sysctl(int *, uint, void *, size_t *, void *, size_t);
2192ef449aSgoda int ip_etherip_output(struct ifnet *, struct mbuf *);
22459fa0feSbluhm int ip_etherip_input(struct mbuf **, int *, int, int);
2392ef449aSgoda 
2492ef449aSgoda #ifdef INET6
2592ef449aSgoda int ip6_etherip_output(struct ifnet *, struct mbuf *);
26459fa0feSbluhm int ip6_etherip_input(struct mbuf **, int *, int, int);
2792ef449aSgoda #endif /* INET6 */
2892ef449aSgoda 
2992ef449aSgoda #endif /* _NET_IF_ETHERIP_H_ */
30