blob: 2813cca9d119cdd60424247850a910b0a9bc4223 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
/* Netfilter Driver for IPSec VPN Client
*
* Copyright(c) 2012 Samsung Electronics
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/*
* platform_interceptor.h
*
* Linux interceptor specific defines for the Interceptor API.
*
*/
#ifndef SSH_PLATFORM_INTERCEPTOR_H
#define SSH_PLATFORM_INTERCEPTOR_H 1
#ifdef KERNEL
#ifndef KERNEL_INTERCEPTOR_USE_FUNCTIONS
#define ssh_interceptor_packet_len(pp) \
((size_t)((SshInterceptorInternalPacket)(pp))->skb->len)
#include "linux_params.h"
#include "linux_packet_internal.h"
#endif /* KERNEL_INTERCEPTOR_USE_FUNCTIONS */
#endif /* KERNEL */
#endif /* SSH_PLATFORM_INTERCEPTOR_H */
|