home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume20 / etherlib / part01 / src / enetself.c < prev    next >
Encoding:
Text File  |  1989-10-24  |  601 b   |  36 lines

  1. /* $Id: enetself.c,v 2.0 89/10/20 19:02:05 dupuy Exp $ */
  2.  
  3. /*
  4.  * Most, but not all, VAX interfaces, loopback packets.     The enetfilter
  5.  * drivers for the ec (3com) interface loops back packets in software, except
  6.  * for multicast packets.  Since the enetfilter currently has no way to
  7.  * receive multicast packets, that makes little difference.
  8.  */
  9.  
  10. /* ARGSUSED */
  11.  
  12. int
  13. ether_send_self (fd)
  14. int fd;
  15. {
  16.     return (1);
  17. }
  18.  
  19. /* ARGSUSED */
  20.  
  21. int
  22. ether_mcast_self (fd)
  23. int fd;
  24. {
  25.     return (0);                /* can't receive multicast packets */
  26. }
  27.  
  28. /* ARGSUSED */
  29.  
  30. int
  31. ether_bcast_self (fd)
  32. int fd;
  33. {
  34.     return (1);
  35. }
  36.