summaryrefslogtreecommitdiff
path: root/dissector.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-08-13 02:11:10 +0300
committerTobias Klauser <tklauser@distanz.ch>2016-09-21 09:50:06 +0200
commite7dd63060e448bf6667c92a3b774cec0feeff452 (patch)
treec00b4dfe777d74b60cf6c4f6141a45c0a3176f48 /dissector.c
parent6197f02044e2fe6689b52dad0a0c75bdc0eb185b (diff)
trafgen: proto: Update field value at runtime
Add basic infrastructure for update proto field value at runtime by dynamic field function. Extended 'struct packet_dyn' with proto fields which has dynamically changing values at runtime. Added 'field_changed' callback for proto header which may be used for check if csum updating is needed. This callback is called after field was changed at runtime. Added 'packet_update' callback to let proto header know when to apply final proto header changes at runtime (e.g. - csum update). Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'dissector.c')
0 files changed, 0 insertions, 0 deletions
ref='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/soc?h=nds-private-remove'>nds-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/devicetree/bindings/soc')