Michal Sekletar
27cd545247
filter: introduce SKF_AD_VLAN_TPID BPF extension
...
If vlan offloading takes place then vlan header is removed from frame
and its contents, both vlan_tci and vlan_proto, is available to user
space via TPACKET interface. However, only vlan_tci can be used in BPF
filters.
This commit introduces a new BPF extension. It makes possible to load
the value of vlan_proto (vlan TPID) to register A. Support for classic
BPF and eBPF is being added, analogous to skb->protocol.
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Michal Sekletar <msekleta@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@plumgrid.com>
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-24 15:25:15 -04:00
..
2015-02-10 10:23:15 +00:00
2015-03-05 14:11:43 +02:00
2015-03-22 23:50:11 +01:00
2015-02-19 13:31:40 +03:00
2015-02-03 11:06:11 -08:00
2015-01-15 17:23:22 +01:00
2014-12-14 14:57:16 -08:00
2015-01-29 18:49:57 +00:00
2015-02-01 11:50:35 -08:00
2015-03-08 05:34:35 +00:00
2015-02-18 09:05:48 -08:00
2015-03-18 14:55:19 -04:00
2014-12-15 18:19:03 -08:00
2015-02-11 10:56:48 -08:00
2015-02-18 08:01:44 -08:00
2015-02-11 10:28:45 -08:00
2015-03-05 10:08:14 +01:00
2015-02-21 12:59:04 -08:00
2015-01-21 20:52:07 +01:00
2015-02-08 11:16:27 +08:00
2015-02-16 17:56:05 -08:00
2015-03-18 17:50:25 +01:00
2015-01-29 10:49:28 +02:00
2015-02-18 07:28:37 -08:00
2015-03-09 23:38:02 -04:00
2015-02-05 15:09:26 +01:00
2015-01-28 18:45:23 -05:00
2015-01-28 18:45:23 -05:00
2014-12-25 15:27:16 -05:00
2015-02-17 15:27:47 -08:00
2015-02-17 16:12:34 -08:00
2015-02-17 21:33:27 +01:00
2014-12-13 12:42:51 -08:00
2015-02-05 09:30:43 -07:00
2015-02-13 21:21:39 -08:00
2014-12-22 16:43:06 +00:00
2015-01-08 08:59:01 -07:00
2015-02-12 14:13:23 -08:00
2015-02-11 11:24:14 -07:00
2015-03-15 22:02:28 -04:00
2015-03-09 23:57:54 -04:00
2015-01-20 14:02:58 -07:00
2015-01-06 12:02:46 -05:00
2015-01-06 12:02:46 -05:00
2015-02-18 09:40:07 -08:00
2015-03-11 15:56:59 -07:00
2014-12-30 18:29:25 -05:00
2014-12-18 19:08:10 -08:00
2015-02-11 17:06:04 -08:00
2015-01-27 09:37:53 +00:00
2015-02-13 21:21:42 -08:00
2015-02-13 21:21:42 -08:00
2015-02-13 21:21:40 -08:00
2015-02-21 10:27:33 -08:00
2015-02-04 10:42:55 -08:00
2014-12-17 09:00:04 -04:00
2015-01-23 23:06:44 +01:00
2015-03-05 23:13:19 +01:00
2015-02-13 21:21:39 -08:00
2014-12-05 17:19:27 -06:00
2015-01-20 14:44:19 +11:00
2015-02-12 18:54:15 -08:00
2015-02-22 11:38:38 -05:00
2015-03-23 16:52:26 -04:00
2015-02-17 12:21:51 -05:00
2015-01-30 17:56:40 +09:00
2014-12-19 22:55:06 +01:00
2015-02-27 14:53:16 -05:00
2015-01-26 15:57:59 -08:00
2014-12-01 16:50:45 +00:00
2015-02-02 16:55:43 -08:00
2015-01-21 19:21:30 +01:00
2015-02-11 18:03:54 -08:00
2015-01-09 15:44:19 +01:00
2015-03-02 16:43:41 -05:00
2014-12-08 21:07:10 -05:00
2015-02-05 14:35:17 +01:00
2015-02-11 17:04:48 -08:00
2014-12-13 12:42:52 -08:00
2015-01-15 13:33:41 +02:00
2014-12-31 13:06:50 -05:00
2014-12-10 17:41:10 -08:00
2015-03-24 15:25:15 -04:00
2015-01-25 23:17:28 -05:00
2015-02-18 10:21:47 -08:00
2014-12-13 12:42:53 -08:00
2015-02-10 14:30:28 -08:00
2015-02-12 08:37:41 -08:00
2014-12-15 10:17:38 -05:00
2015-01-16 17:04:25 -05:00
2015-02-11 17:06:04 -08:00
2014-12-10 15:17:46 -05:00
2015-01-27 10:19:12 -02:00
2015-02-17 13:34:44 +01:00
2014-12-17 09:13:13 +01:00
2015-01-27 10:09:14 +01:00
2015-01-23 12:13:20 +01:00
2015-02-12 18:54:08 -08:00
2014-12-10 17:41:04 -08:00
2015-02-11 17:06:01 -08:00
2014-12-26 08:33:34 +11:00
2015-01-25 09:18:00 -08:00
2015-02-21 12:41:50 -08:00
2015-01-27 11:09:13 +01:00
2015-03-14 17:11:30 +01:00
2015-03-05 14:52:23 -05:00
2015-03-02 00:17:31 -05:00
2015-02-05 14:33:28 -08:00
2015-03-18 22:05:09 -04:00
2015-03-10 13:45:28 -04:00
2015-02-13 21:21:41 -08:00
2015-03-04 21:42:19 +01:00
2014-12-16 14:53:01 -08:00
2015-01-19 16:11:59 +00:00
2015-01-19 14:55:22 +01:00
2014-12-16 15:53:03 -08:00
2014-12-11 15:04:11 -06:00
2014-12-11 15:04:06 -06:00
2015-03-23 22:12:08 -04:00
2014-12-10 09:01:01 -08:00
2015-03-04 21:42:19 +01:00
2015-01-15 10:34:54 +01:00
2015-01-15 10:34:54 +01:00
2015-03-12 18:46:08 -07:00
2015-02-19 12:39:02 -06:00
2014-12-10 17:41:11 -08:00
2014-12-13 13:33:07 +01:00
2015-02-12 18:54:13 -08:00
2015-02-13 21:21:36 -08:00
2015-02-17 14:34:51 -08:00
2014-12-13 12:42:47 -08:00
2015-01-13 16:10:16 +00:00
2015-01-24 10:11:12 +01:00
2015-02-13 09:55:09 -08:00
2014-12-18 09:39:51 +01:00
2015-01-26 14:59:08 -08:00
2015-01-26 14:59:08 -08:00
2015-02-11 16:47:46 +10:30
2015-02-12 14:30:53 -08:00
2015-02-12 18:54:10 -08:00
2015-01-04 23:11:43 -05:00
2015-02-04 11:25:51 +01:00
2015-01-25 23:16:29 -05:00
2014-11-27 12:50:59 +05:30
2014-11-30 16:40:11 +00:00
2015-01-12 05:04:10 -08:00
2015-02-12 18:54:09 -08:00
2015-02-12 18:54:08 -08:00
2015-02-11 17:06:04 -08:00
2015-02-16 17:56:03 -08:00
2014-12-15 15:52:01 -08:00
2015-02-11 17:06:02 -08:00
2015-02-17 17:41:19 -08:00
2015-03-18 10:46:39 -07:00
2015-03-12 18:46:08 -07:00
2015-02-14 11:32:59 -08:00
2014-12-10 21:32:13 -05:00
2015-03-02 13:06:31 -05:00
2015-02-01 23:16:33 -08:00
2015-03-24 12:43:45 -04:00
2015-03-22 19:45:55 +01:00
2014-12-27 03:07:50 -05:00
2015-02-12 10:39:41 -08:00
2015-02-03 11:06:34 -08:00
2015-03-03 13:02:29 -05:00
2015-02-03 11:06:52 -08:00
2015-02-03 11:06:45 -08:00
2015-02-18 13:11:09 -08:00
2015-02-13 21:21:39 -08:00
2014-12-10 21:30:20 -05:00
2015-02-19 16:15:37 -07:00
2015-01-15 17:23:17 +01:00
2014-12-05 14:35:52 +00:00
2015-03-11 17:56:28 -04:00
2015-03-09 23:50:20 -04:00
2015-03-13 09:45:24 -05:00
2014-12-11 13:06:58 -08:00
2014-11-27 12:51:04 +05:30
2015-02-11 17:06:03 -08:00
2015-01-14 15:07:32 +01:00
2015-02-11 17:06:02 -08:00
2015-02-11 17:06:07 -08:00
2014-12-13 12:42:48 -08:00
2015-01-28 14:03:09 +00:00
2014-12-29 12:45:45 -08:00
2014-12-14 14:57:16 -08:00
2015-02-10 15:09:41 -08:00
2014-12-13 12:42:53 -08:00
2015-01-06 10:26:10 -05:00
2015-02-16 14:58:12 -08:00
2015-01-09 11:12:28 +01:00
2014-12-16 15:02:23 -05:00
2015-01-27 00:16:51 -08:00
2015-01-25 23:17:28 -05:00
2015-02-03 22:56:53 +01:00
2014-11-29 23:53:20 +01:00
2014-12-04 00:46:58 +01:00
2014-12-12 15:26:48 -08:00
2015-02-03 22:59:25 +01:00
2015-02-02 10:11:25 -08:00
2015-02-12 18:54:15 -08:00
2014-12-10 21:30:20 -05:00
2015-01-16 16:01:10 -08:00
2015-01-16 16:01:10 -08:00
2014-12-10 17:41:10 -08:00
2014-12-22 20:17:23 +00:00
2015-01-30 12:51:21 +01:00
2015-01-30 12:50:32 +01:00
2014-12-13 12:42:52 -08:00
2015-02-17 14:34:52 -08:00
2015-01-06 11:01:13 -08:00
2015-01-15 23:34:34 -08:00
2015-01-15 23:34:34 -08:00
2015-01-15 23:34:34 -08:00
2015-01-27 13:13:04 +00:00
2015-02-05 15:09:25 +01:00
2015-03-23 22:16:07 -04:00
2015-02-16 17:56:03 -08:00
2015-01-23 17:21:57 -08:00
2014-12-09 13:36:57 -05:00
2015-02-21 10:40:02 -08:00
2015-03-20 21:36:53 -04:00
2015-02-13 21:21:39 -08:00
2015-02-13 21:21:39 -08:00
2015-02-02 10:11:27 -08:00
2015-03-07 03:39:55 +01:00
2015-01-09 14:25:39 -08:00
2015-02-12 18:54:09 -08:00
2015-03-20 18:51:09 -04:00
2015-02-12 18:54:09 -08:00
2015-02-13 21:21:41 -08:00
2015-02-13 21:21:41 -08:00
2015-01-22 15:10:56 +01:00
2015-03-11 21:55:28 -04:00
2015-03-23 16:41:36 -04:00
2015-01-03 14:32:57 -05:00
2015-01-03 14:32:57 -05:00
2015-01-03 14:32:57 -05:00
2014-11-26 19:33:57 -08:00
2015-01-06 11:04:27 -08:00
2014-12-13 12:42:48 -08:00
2015-02-12 18:54:13 -08:00
2015-02-13 21:21:35 -08:00
2015-02-13 23:49:36 +01:00
2014-12-10 17:41:09 -08:00
2015-02-11 17:06:00 -08:00
2015-02-12 18:54:08 -08:00
2015-01-27 09:38:00 +00:00
2015-03-17 22:01:56 -04:00
2015-02-24 14:40:42 -04:00
2015-02-03 15:48:51 -08:00
2015-02-15 19:40:09 +01:00
2015-01-22 12:28:02 +01:00
2015-01-02 16:47:35 -05:00
2015-01-23 17:21:55 -08:00
2015-02-07 19:34:25 -05:00
2015-02-02 10:11:28 -08:00
2015-02-12 18:54:13 -08:00
2015-03-18 22:00:34 -04:00
2015-02-17 22:21:11 -05:00
2015-01-25 20:54:17 +08:00
2014-12-17 12:31:40 -08:00
2014-12-04 14:31:00 -05:00
2014-11-28 16:08:16 +01:00
2015-02-10 12:37:47 -07:00
2014-12-09 12:05:24 +02:00
2014-12-14 18:21:31 +02:00
2015-01-23 14:57:10 +10:30
2014-12-17 10:37:56 -08:00
2014-12-13 12:42:48 -08:00
2015-03-12 18:46:08 -07:00
2015-02-04 01:34:14 -05:00
2014-12-15 23:49:28 +02:00
2015-02-02 10:09:54 -08:00
2015-02-12 14:30:53 -08:00
2015-03-05 08:04:13 -05:00
2015-01-08 15:10:51 -08:00
2015-02-12 18:54:12 -08:00
2015-02-12 18:54:12 -08:00