Patrick McHardy 9fa492cdc1 [NETFILTER]: x_tables: simplify compat API
Split the xt_compat_match/xt_compat_target into smaller type-safe functions
performing just one operation. Handle all alignment and size-related
conversions centrally in these function instead of requiring each module to
implement a full-blown conversion function. Replace ->compat callback by
->compat_from_user and ->compat_to_user callbacks, responsible for
converting just a single private structure.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-09-22 15:20:01 -07:00
..
2006-09-22 14:54:07 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 14:54:10 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 14:53:33 -07:00
2006-09-22 15:18:19 -07:00
2006-09-22 14:53:33 -07:00
2006-09-22 15:18:04 -07:00
2006-09-22 15:18:03 -07:00