summaryrefslogtreecommitdiff
path: root/sys/lib/libsa/dev_net.c
AgeCommit message (Collapse)Author
2019-03-31fix warnings, printf formats, etc.christos
2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg
sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
2010-08-08print the correct error code if nfs_mount() fails.chs
2009-01-17Remove __P().tsutsui
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2007-11-24style, indent, and ANSI-fy.isaki
2007-10-27Include "bootp.h" for a function declaration of bootp().tsutsui
2007-10-01Make a few debug outputs only happen when debugging.martin
2002-03-17Protect remaining references to 'debug' with NETIF_DEBUG.gmcgarry
1999-11-13Backout my libsa changes.thorpej
1999-11-11Update for the improvements to libsa, and don't reference libkern.h.thorpej
1999-05-07move intoa() from libsa:net.c to libkern, turn inet_ntoa() into a macro,drochner
nuke ip_convertaddr()
1999-03-26Changes to compile the next68k bootblocks withdbj
egcs -Wpointer-arith -Wstrict-prototypes This closes pr 6653
1998-06-29Be quiet if bootparamd gives us an empty gateway spec.gwr
(which is quite normal). Just make noise if it was missing, which explains the very long timeout... (Would be nice if sendrecv said "retrying...")
1998-06-16When the gateway bootparam is missing, be clear about thatgwr
in the error message instead of showing zero or nothing.
1997-12-10Oops - forgot to set netmask=smaskgwr
1997-12-10Request the "gateway" parameter and use its contentsgwr
to determine our gateway and subnet mask, consistent with what is done by nfs_mountroot.
1997-07-22Don't use "if_ether.h", it's not used.drochner
1997-06-26Avoid user space headers for standalone programs.drochner
Don't use sys/lib/libkern or sys/lib/libz if not standalone (ie, user space test programs).
1997-03-15New ARP system, supports IPv4 over any hardware link.is
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will only support Ethernet. Tcpdump itself should be ok, but libpcap needs lot of work. For the detailed change history, look at the commit log entries for the is-newarp branch.
1997-03-14Fix a warning.gwr
1997-03-14Sun RPC/bootparams always enabled (No -DSUN_BOOTPARAMS needed)gwr
Add SUPPORT_BOOTP (and global try_bootp) to allow MD code to determine whether BOOTP is used (compile-time and run-time). Thanks to Matthias Drochner for the SUPPORT_BOOTP ideas. Copyright asigned to The NetBSD Foundation.
1997-03-11Moved here (via repository copy) so they are more easily shared.gwr
I did not add them to the library, but rather compile them where the netboot program is built so I can add -DSUN_BOOTPARAMS, etc.
1996-01-29Clean-up open/close logic of "net" device. Fixes PR 1726gwr
1995-09-23Cleanup, and catch up with libsa changes.gwr
1995-08-08Add bcea[] here now that is is gone from arp.cgwr
1995-06-09Have netboot!gwr