diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-06-26 15:33:46 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-06-26 15:33:46 +0000 |
commit | e517a4771b4ef95de6564084385dc6936da1f468 (patch) | |
tree | bd379bd65e7abd4d00033395ad4ca341152ff697 /src/net/ipv6.c | |
parent | e04ea505c965c22c83204c9bc526d4c535f8587d (diff) | |
download | ipxe-e517a4771b4ef95de6564084385dc6936da1f468.tar.gz |
Split ipv6 functions out from ipv4.c
Diffstat (limited to 'src/net/ipv6.c')
-rw-r--r-- | src/net/ipv6.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/net/ipv6.c b/src/net/ipv6.c new file mode 100644 index 000000000..e726bda77 --- /dev/null +++ b/src/net/ipv6.c @@ -0,0 +1,24 @@ +#include <errno.h> +#include <gpxe/pkbuff.h> +#include <gpxe/netdevice.h> +#include <gpxe/in.h> + +/** + * Transmit IP6 packets + * + * Placeholder to allow linking. The function should be placed in net/ipv6.c + */ +int ipv6_tx ( struct pk_buff *pkb __unused, uint16_t trans_proto __unused, + struct in6_addr *dest __unused) { + return -ENOSYS; +} + +/** + * Process incoming IP6 packets + * + * Placeholder function. Should rewrite in net/ipv6.c + */ +void ipv6_rx ( struct pk_buff *pkb __unused, + struct net_device *netdev __unused, + const void *ll_source __unused ) { +} |