diff options
author | Frank Pavlic <fpavlic@de.ibm.com> | 2005-11-10 07:51:25 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-11 08:26:22 -0500 |
commit | 6c951b9051f2094dd98bafcb46e7e6b3e8813231 (patch) | |
tree | 6625f15a30e4efc90a5ff24e8a7140fbb67732c9 /drivers/s390/net/qeth.h | |
parent | e08d88cccbe0dfcfbaffb704d24e19803407935d (diff) |
[PATCH] s390: introduce guestLan sniffer support in qeth
[patch 6/7] s390: introduce guestLan sniffer support in qeth
From: Peter Tiedemann <ptiedem@de.ibm.com>
- introduce guestLan sniffer support in qeth
feature allows a linux in a virtual machine
guest to become a network LAN sniffer,
monitoring and recording the networking traffic
within an entire guestLan.
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
diffstat:
qeth.h | 2 +
qeth_main.c | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
qeth_mpc.h | 11 ++++---
3 files changed, 102 insertions(+), 4 deletions(-)
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/s390/net/qeth.h')
-rw-r--r-- | drivers/s390/net/qeth.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/net/qeth.h b/drivers/s390/net/qeth.h index 44b9e14222a9..d238c7ed103b 100644 --- a/drivers/s390/net/qeth.h +++ b/drivers/s390/net/qeth.h | |||
@@ -750,6 +750,7 @@ struct qeth_card_info { | |||
750 | int unique_id; | 750 | int unique_id; |
751 | struct qeth_card_blkt blkt; | 751 | struct qeth_card_blkt blkt; |
752 | __u32 csum_mask; | 752 | __u32 csum_mask; |
753 | enum qeth_ipa_promisc_modes promisc_mode; | ||
753 | }; | 754 | }; |
754 | 755 | ||
755 | struct qeth_card_options { | 756 | struct qeth_card_options { |
@@ -776,6 +777,7 @@ struct qeth_card_options { | |||
776 | enum qeth_threads { | 777 | enum qeth_threads { |
777 | QETH_SET_IP_THREAD = 1, | 778 | QETH_SET_IP_THREAD = 1, |
778 | QETH_RECOVER_THREAD = 2, | 779 | QETH_RECOVER_THREAD = 2, |
780 | QETH_SET_PROMISC_MODE_THREAD = 4, | ||
779 | }; | 781 | }; |
780 | 782 | ||
781 | struct qeth_osn_info { | 783 | struct qeth_osn_info { |