[Bug 206186] [patch][netgraph] New netgraph node for calculate IP IP6 TCP UDP checksums
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 13 09:45:08 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206186
--- Comment #1 from Dmitry Vagin <daemon.hammer at ya.ru> ---
example use (with ng_patch):
ngctl msg patch-1: "setdlt 1"
ngctl msg checksum-1: "setdlt 1"
ngctl msg ${_NAME}-patch-1: "setconfig { count=4 csum_flags=1
relative_offset=1 ops=[ \
{ mode=7 value=0x03 length=1 offset=1 } \
{ mode=8 value=0x88 length=1 offset=1 } \
{ mode=1 value=30120 length=2 offset=22 } \
{ mode=1 value=0 length=2 offset=26 } \
] }"
= set checksum flag CSUM_IP, set DSCP, set UDP port 30120, set UPD checksum = 0
ngctl msg checksum-1: "setconfig { csum_flags=0 csum_offload=6 }"
= not sed additional checksum flags, set hardware can calculate
CSUM_IP_UDP|CSUM_IP_TCP.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list