| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
from a struct sockaddr_in, so there is no need to initialize sin_len
|
| |
|
|
|
|
|
| |
Minor cleanup of the includes used by the various source files,
including annotations of why certain headers are used.
|
|
|
|
|
| |
Submitted by: Christoph Mallon christoph.mallon@gmx.de
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
system checking. However, if the file system is not clean, perform a
full fsck.
Reviewed by: delphij
Obtained from: Juniper Networks
|
|
|
|
|
| |
#'s are not available and we have to hack around the mapchan routine
but it lets us see the calibration table w/o forcing the debug regdomain
|
|
|
|
|
|
| |
things, 1/2 and 1/4 width channels are hidden behind the full width
channel; this is needed because they are ordered such that they
appear after in the channel table
|
| |
|
|
|
|
|
| |
symbolically so it's easier to identify channels and why they
are added (or not)
|
|
|
|
|
|
|
|
|
|
|
|
| |
o only include 1/2 and 1/4 width channels when they are specified in the
regulatory database description; previously we treated them as if they
were part of the band and blindly added them for 11a/g
o check the channel list returned in the devcaps to identify whether a
device supports 1/2 or 1/4 width channels on a band; this might be
better brought out as a capability bit to avoid filling the channel
list w/ 1/2 and 1/4 width channels but then cards that only support
these channels in a range of frequencies could not be described (though
right now we don't check frequency range only band)
|
|
|
|
|
| |
Submitted by: ian dowse
MFC after: 2 days
|
|
|
|
|
|
|
| |
but missed the other, which breaks 64-bit builds.
Reported by: bf <bf2006a at yahoo dot com>
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fragments in the file system by fragment (block) number. This new
mode does the necessary arithmetic to generate absolute fragment
numbers rather than than the cg-relative numbers printed in the default
mode.
If -f is passed once, contiguous fragment ranges are collapsed into
an X-Y format as free block lists are currently printed in regular
dumpfs output, but if specified twice, all block numbers are printed
individually, allowing both compact and more script-friendly
representation.
This proves quite handy when attempting to recover deleted data, as it
allows exclusion of non-deleted data from blocks searched.
MFC after: 1 week
Discussed with: jeff, Richard Clayton <richard dot clayton at cl.cam.ac.uk>
Sponsored by: Google, Inc.
|
|
|
|
|
|
| |
when passed as strings via nmount().
Submitted by: Jaakko Heinonen <jh saunalahti fi>
|
|
|
|
|
|
|
|
|
| |
o change ioctl's that pass channel lists in/out to handle variable-size
arrays instead of a fixed (compile-time) value; we do this in a way
that maintains binary compatibility
o change ifconfig so all channel list data structures are now allocated
to hold MAXCHAN entries (1536); this, for example, allows the kernel
to return > IEEE80211_CHAN_MAX entries for calls like IEEE80211_IOC_DEVCAPS
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Usual moving of code with no changes from ipfw2.c to the
newly created files, and addition of prototypes to ipfw2.h
I have added forward declarations for ipfw_insn_* in ipfw2.h
to avoid a global dependency on ip_fw.h
|
|
|
|
|
| |
To this purpose, add prototypes for global functions in ipfw2.h
and move there also the list of tokens used in various places in the code.
|
|
|
|
| |
we sort out all proper printf formats.
|
|
|
|
|
|
|
|
|
|
|
|
| |
In this episode:
- introduce a common header with a minimal set of common definitions;
- bring the main() function and options parser in main.c
- rename the main functions with an ipfw_ prefix
No code changes except for the introduction of a global variable,
resvd_set_number, which stores the RESVD_SET value from ip_fw.h
and is used to remove the dependency of main.c from ip_fw.h
(and the subtree of dependencies) for just a single constant.
|
|
|
|
|
| |
slightly reformat the help() text;
slightly correct the text for the 'extraneous filename' error message;
|
|
|
|
|
| |
This will allow us to easily restore the original values when processing
commands from a file (where each individual line can have its own options).
|
| |
|
|
|
|
|
| |
change PRINT_UINT from a macro to a function (renaming is
postponed to reduce clutter)
|
|
|
|
|
|
| |
failed.
Submitted by: obrien
|
|
|
|
|
|
| |
without having to check in each place.
Remove an wrong strdup from previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
program name, and ignore that entry. ipfw2.c code instead skips
this entry and starts with options at offset 0, relying on a more
tolerant implementation of the library.
This change fixes the issue by always passing a program name
in the first entry to getopt. The motivation for this change
is to remove a potential compatibility issue should we use
a different getopt() implementation in the future.
No functional changes.
Submitted by: Marta Carbone (parts)
MFC after: 4 weeks
|
|
|
|
|
|
| |
document why timeconv.h is needed
MFC after: 3 days
|
|
|
|
|
|
|
| |
Juniper 'C' (clean) flag.
Requested by: obrien
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are still several signed/unsigned warnings left, which
require a bit more study for a proper fix.
This file has grown beyond reasonable limits.
We really need to split it into separate components (ipv4, ipv6,
dummynet, nat, table, userland-kernel communication ...) so we can
make mainteinance easier.
MFC after: 1 weeks
|
|
|
|
|
| |
not all developers share luigi opinion about quality of sysutils/fusefs-ntfs
compared to our kernel NTFS module.
|
|
|
|
|
|
|
|
|
| |
very well maintained and point user to sysutils/fusefs-ntfs, which
at the time of this writing seems to be a better alternative.
Suggested by: luigi
MFC after: 2 weeks
|
|
|
|
|
|
| |
0.0.0.0/1 is not the same as 0.0.0.0/0.
MFC after: 1 month
|
|
|
|
| |
Submitted by: tobez
|
|
|
|
|
|
| |
o correct typo that caused random channel selection
o explicitly add 1/2 and 1/4 width channels because channel lookups match
flags that include IEEE80211_CHANNEL_HALF and IEEE80211_CHANNEL_QUARTER
|
|
|
|
| |
Noticed by: Chris Anderson
|
|
|
|
|
|
| |
Add entries for DELL and ASUS recovery partitions.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
replace the table of partition with a simpler and faster array of strings.
The change in the array is done mechanically, using vi commands.
Most entries in the table are probably 15+ years old and largely outdated,
so the next step is to remove stale entries with more current values.
Submitted by: Christoph Mallon, with small changes from me
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
pass a pointer instead of an index to print_part()
so it does not depend on a static variable.
Submitted by: Christoph Mallon
MFC after: 3 days
|
|
|
|
|
| |
Submitted by: Christoph Mallon
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Remove a dead field of a struct. It serves no purpose anymore.
+ Remove a \n at the end of the format string of err(); the err()
function already adds a \n ;
+ remove many unnecessary casts which obfuscate the code.
This file has a huge number of indentation bugs, but I'd rather fix
them when/if we happen to modify the relevant parts of the code.
Submitted by: Christoph Mallon
MFC after: 3 days
|
|
|
|
| |
Fix that. Also move the current buffer size into the 'cpa' structure.
|
|
|
|
|
|
| |
Also fix RCSid spamage.
Inspired by patch from: Christoph Mallon <christoph.mallon@gmx.de>
|
|
|
|
|
| |
Submitted by: Ben Kaduk <minimarmot gmail com>
MFC after: 3 days
|
|
|
|
|
| |
Reviewed by: trhodes, keramida
MFC after: 3 days
|
|
|
|
| |
Reviewed by: imp (earlier version of patch)
|