You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ipv6.c 573B

123456789101112131415161718192021222324
  1. #include <errno.h>
  2. #include <gpxe/pkbuff.h>
  3. #include <gpxe/netdevice.h>
  4. #include <gpxe/in.h>
  5. /**
  6. * Transmit IP6 packets
  7. *
  8. * Placeholder to allow linking. The function should be placed in net/ipv6.c
  9. */
  10. int ipv6_tx ( struct pk_buff *pkb __unused, uint16_t trans_proto __unused,
  11. struct in6_addr *dest __unused) {
  12. return -ENOSYS;
  13. }
  14. /**
  15. * Process incoming IP6 packets
  16. *
  17. * Placeholder function. Should rewrite in net/ipv6.c
  18. */
  19. void ipv6_rx ( struct pk_buff *pkb __unused,
  20. struct net_device *netdev __unused,
  21. const void *ll_source __unused ) {
  22. }