diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-01-14 04:42:05 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-01-19 04:13:53 +0200 |
commit | 62623efc5b700d58335fa994d2e2725863527575 (patch) | |
tree | f3140936cd979c7d609bbe91c539f681ddd8e552 /src/rx_check_header.cpp | |
parent | eee866f42bd0fc8472e6295b4f26bd0697e59f1f (diff) |
Adding option to pass NAT info in TCP ACK of first SYN
Diffstat (limited to 'src/rx_check_header.cpp')
-rwxr-xr-x | src/rx_check_header.cpp | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/rx_check_header.cpp b/src/rx_check_header.cpp index 5934ee15..fbf094e2 100755 --- a/src/rx_check_header.cpp +++ b/src/rx_check_header.cpp @@ -1,12 +1,10 @@ -#include "rx_check_header.h" -#include <common/basic_utils.h> /* Hanoh Haim Cisco Systems, Inc. */ /* -Copyright (c) 2015-2015 Cisco Systems, Inc. +Copyright (c) 2015-2016 Cisco Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -20,8 +18,8 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ - - +#include "os_time.h" +#include "rx_check_header.h" void CRx_check_header::dump(FILE *fd){ @@ -37,16 +35,3 @@ void CRx_check_header::dump(FILE *fd){ fprintf(fd," flow_id : %lx \n",m_flow_id); fprintf(fd," flags : %x \n",m_flags); } - - - -void CNatOption::dump(FILE *fd){ - - fprintf(fd," op : %x \n",get_option_type()); - fprintf(fd," ol : %x \n",get_option_len()); - fprintf(fd," thread_id : %x \n",get_thread_id()); - fprintf(fd," magic : %x \n",get_magic()); - fprintf(fd," fid : %x \n",get_fid()); - utl_DumpBuffer(stdout,(void *)&u.m_data[0],8,0); -} - |