| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Requested by: bde
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
same as it did before the IPv6 commit. Probably irrelevent to freebsd,
but I think it was useful on other OS's. Also makes a few minor style chgs.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
more sensible/understandable. 'from'->'from_host' 'host'->'local_host'
'fromb'->'frombuf' 'fromhost'->'origin_host' and a local-variable
named 'host'->'hostbuf'. This fixes some compile-time warnings about
local variables shadowing global variables.
Other than renaming variables, the only actual code changes are to call
strlcpy() instead of strncpy() when setting those (renamed) variables,
and that 'from_ip' is now a strdup()-created buffer instead of being a
static buffer compiled in as 1025 bytes.
Reviewed by: freebsd-print@bostonradio.org (an earlier version)
MFC after: 1 week
|
|
|
|
| |
the previous commit.
|
|
|
|
|
| |
PR: 25006
MFC after: 2 weeks
|
|
|
|
|
| |
PR: bin/4157
Submitted by: Denny Gentry <denny1@home.com>
|
|
|
|
| |
Submitted by: Niels Provos <provos@citi.umich.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use db_printf() instead of printf().
- Clean up decode_syscall() to use regular if-then-else rather than goto's.
- Use the same method of parsing PID's for per-process traces as the x86
code does: that is, if the address passed in is not a valid kernel
address, treat it is a decimal pid.
- If the pid of the current process is specified, fall back to using the
"default" parameters for the trace as curproc's pcb is not valid at this
point.
MFC after: 1 week
|
|
|
|
| |
I'd gone wrong before: we have to set csum_data to 0xffff, not 0.
|
|
|
|
|
|
|
| |
we want the checksums calculated on a per-packet basis using control bits
in the extsts field of the DMA descriptor structure. For TX, the chip
seems to want these bits set in the field of the first descriptor in
a fragment chain, not the last.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed the ambiguity in -s, -f, -p and -i flags handling.
Basically, there are four displays (except others):
1. PCB display.
2. Protocol statistics display. (-s)
3. Interface statistics display. (-i)
4. Per-interface protocol statistics display. (-i -s)
All of the above except 3) can be limited to a particular
protocol family (-f) or a single protocol (-p).
Some examples:
1. netstat -f inet -- show PCBs of all INET protocols
2. netstat -p udp -- show PCB of UDP protocol only (NEW!)
3. netstat -s -- show protocol statistics for all families
4. netstat -s -f inet -- show INET protocols statistics
5. netstat -s -p icmp -- show ICMP protocol statistics
This is a work in progress. Manpage has been fixed slightly,
but is still incomplete.
|
|
|
|
| |
Also add a few more tips while I am here.
|
| |
|
|
|
|
|
|
| |
collection.
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
warnings which come up for various routines that have a parameter which
is also called 'name'.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 1 week
|
|
|
|
|
| |
PR: 28154
Submitted by: Giorgos Keramidas <charon@labs.gr>
|
|
|
|
|
|
|
|
|
|
|
|
| |
possible when writing:
[EFBIG] An attempt was made to write a file that exceeds
the process's file size limit or the maximum file
size.
[EPERM] An append-only flag is set on the file, but the
caller is attempting to write before the current
end of file.
|
|
|
|
|
|
| |
preceeded with whitespace.
MFC after: 3 weeks
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
Submitted by: David Scheidt <dscheidt@tumbolia.com>
|
|
|
|
|
|
|
|
|
| |
announcement from JKH (back when he was still working for Lotus)
http://minnie.tuhs.org/cgi-bin/newsread?23150
This also means that if, as Microsoft say, Linux is a Cancer, FreeBSD is
a Scorpio.
|
|
|
|
| |
Issue raised by: scottl
|
|
|
|
|
| |
pointers to areas of the system that might not be apparent on first
inspection.
|
|
|
|
| |
from another host.
|
|
|
|
| |
linux_debug_map[] is referred to from elsewhere.
|
|
|
|
| |
not imply that you want, need or have kerberosIV headers.
|
|
|
|
| |
163: passing arg 4 of `resource_string_value' from incompatible pointer type
|
|
|
|
|
| |
585: warning: missing braces around initializer
605: warning: missing braces around initializer
|
|
|
|
|
| |
908: warning: long unsigned int format, unsigned int arg (arg 3)
887: warning: `timezero' defined but not used
|
|
|
|
|
| |
235: warning: unsigned int format, pointer arg (arg 3)
621: warning: cast discards qualifiers from pointer target type
|
|
|
|
| |
239: warning: no previous prototype for `linux_debug'
|
|
|
|
| |
413: warning: long unsigned int format, vm_offset_t arg (arg 2)
|
|
|
|
| |
1973: warning: int format, long int arg (arg 5)
|
|
|
|
| |
298: warning: assignment makes pointer from integer without a cast
|
|
|
|
|
|
| |
412: warning: long unsigned int format, unsigned int arg (arg 3)
418: warning: long unsigned int format, unsigned int arg (arg 3)
424: warning: long unsigned int format, unsigned int arg (arg 3)
|
| |
|
|
|
|
| |
475: warning: unsigned int format, long unsigned int arg (arg 3)
|
|
|
|
| |
294: warning: ethernet address is not type unsigned char *
|
| |
|
| |
|