freebsd-skq/sys
jkim 14f08fd627 Implement flexible BPF timestamping framework.
- Allow setting format, resolution and accuracy of BPF time stamps per
listener.  Previously, we were only able to use microtime(9).  Now we can
set various resolutions and accuracies with ioctl(2) BIOCSTSTAMP command.
Similarly, we can get the current resolution and accuracy with BIOCGTSTAMP
command.  Document all supported options in bpf(4) and their uses.

- Introduce new time stamp 'struct bpf_ts' and header 'struct bpf_xhdr'.
The new time stamp has both 64-bit second and fractional parts.  bpf_xhdr
has this time stamp instead of 'struct timeval' for bh_tstamp.  The new
structures let us use bh_tstamp of same size on both 32-bit and 64-bit
platforms without adding additional shims for 32-bit binaries.  On 64-bit
platforms, size of BPF header does not change compared to bpf_hdr as its
members are already all 64-bit long.  On 32-bit platforms, the size may
increase by 8 bytes.  For backward compatibility, struct bpf_hdr with
struct timeval is still the default header unless new time stamp format is
explicitly requested.  However, the behaviour may change in the future and
all relevant code is wrapped around "#ifdef BURN_BRIDGES" for now.

- Add experimental support for tagging mbufs with time stamps from a lower
layer, e.g., device driver.  Currently, mbuf_tags(9) is used to tag mbufs.
The time stamps must be uptime in 'struct bintime' format as binuptime(9)
and getbinuptime(9) do.

Reviewed by:	net@
2010-06-15 19:28:44 +00:00
..
amd64 Restore the machine check register banks on resume. For banks being 2010-06-15 18:51:41 +00:00
arm Temporarily bring back the ARM bootinfo (and make tinderbox happy). 2010-06-14 16:05:21 +00:00
boot Pass the -N flag to linked via -Wl. 2010-06-14 17:02:19 +00:00
bsm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
cam For the target port groups structures, don't allocate the initial element. 2010-06-14 22:02:18 +00:00
cddl Fix arc_read_done may try to byteswap undefined data (sparc related) 2010-06-12 11:28:46 +00:00
compat ANSIfy prototypes in subr_usbd.c. 2010-06-12 12:19:08 +00:00
conf Convert Marvell ARM platforms to FDT convention. 2010-06-13 13:28:53 +00:00
contrib Provide kernel level headers for the libfdt code. 2010-06-02 17:24:41 +00:00
crypto Use the fpu_kern_enter() interface to properly separate usermode FPU 2010-06-05 16:00:53 +00:00
ddb MFp4 @178364: 2010-05-24 16:41:05 +00:00
dev When updating individual CPU's lowest Cx state to use, never set it to a 2010-06-15 19:14:39 +00:00
fs Add MODULE_DEPEND() macros to the experimental NFS client and 2010-06-15 00:25:04 +00:00
gdb Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
geom 'unit' can be negative, so use signed type for it. 2010-06-14 21:58:55 +00:00
gnu Move checking against RLIMIT_FSIZE into one place, vn_rlimit_fsize(). 2010-05-05 16:44:25 +00:00
i386 Restore the machine check register banks on resume. For banks being 2010-06-15 18:51:41 +00:00
ia64 The ptc.g operation for the Mckinley and Madison processors has the 2010-06-12 01:45:29 +00:00
isa Do not attempt to switch to the same VTs between suspend and resume. 2010-05-26 16:37:54 +00:00
kern Implement flexible BPF timestamping framework. 2010-06-15 19:28:44 +00:00
kgssapi Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
libkern Provide memchr() in the libkern. 2010-06-02 17:27:23 +00:00
mips Relax one of the new assertions in pmap_enter() a little. Specifically, 2010-06-11 15:49:39 +00:00
modules New netgraph node ng_patch(4). It performs data modification of packets 2010-06-09 12:25:57 +00:00
net Implement flexible BPF timestamping framework. 2010-06-15 19:28:44 +00:00
net80211 Remove GNU-style struct initialization. 2010-06-12 07:02:43 +00:00
netatalk Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netgraph * Include sys/systm.h for KASSERT() 2010-06-15 08:53:13 +00:00
netinet * Fix a bug where the length of the ASCONF-ACK was calculated wrong due 2010-06-14 21:25:07 +00:00
netinet6 Fix our version of IPv6 address representation. 2010-05-19 00:35:47 +00:00
netipsec MFp4 @178283: 2010-05-24 16:27:47 +00:00
netipx Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netnatm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
netncp Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
netsmb Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nfs Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
nfsclient In NFS clients, instead of inconsistently using #ifdef 2010-06-13 05:24:27 +00:00
nfsserver Patch the regular NFS server so that it returns ESTALE to the client 2010-03-26 01:19:29 +00:00
nlm Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
opencrypto Use the fpu_kern_enter() interface to properly separate usermode FPU 2010-06-05 16:00:53 +00:00
pc98 Introduce the x86 kernel interfaces to allow kernel code to use 2010-06-05 15:59:59 +00:00
pci Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powerpc Make SMP work on MPC7400-based Apple desktops like the PowerMac3,3. 2010-06-12 21:14:22 +00:00
rpc When the regular NFS server replied to a UDP client out of the replay 2010-03-23 23:03:30 +00:00
security Add a case to make sure that internal audit records get converted 2010-05-04 15:29:07 +00:00
sparc64 Update a branch missed in r207537. 2010-06-13 20:29:55 +00:00
sun4v Relax one of the new assertions in pmap_enter() a little. Specifically, 2010-06-11 15:49:39 +00:00
sys Implement flexible BPF timestamping framework. 2010-06-15 19:28:44 +00:00
teken Just use <stdint.h> instead of <inttypes.h>. We don't need it here. 2010-04-03 17:22:28 +00:00
tools Flattened Device Tree helper scripts. 2010-06-02 17:22:38 +00:00
ufs ffs_softdep: change K&R in function defintions to ANSI prototypes 2010-06-11 18:26:53 +00:00
vm Add a new column to the output of vmstat -z to indicate the number 2010-06-15 19:28:37 +00:00
x86 Restore the machine check register banks on resume. For banks being 2010-06-15 18:51:41 +00:00
xdr Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
xen Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
Makefile Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00