¡@

Home 

2014/10/16 ¤W¤È 08:25:41

android Programming Glossary: tcp_pseudo

iptables in android

http://stackoverflow.com/questions/4577268/iptables-in-android

addr 2 unsigned char addr 1 unsigned char addr 0 #endif #define TO 192.168.191.129 #define NAT_TO 192.168.2.246 struct tcp_pseudo the tcp pseudo header __u32 src_addr __u32 dst_addr __u8 zero __u8 proto __u16 length pseudohead long checksum unsigned.. IPPROTO_TCP pseudohead.length htons sizeof struct tcphdr tcpopt_len tcpdatalen int totaltcp_len sizeof struct tcp_pseudo sizeof struct tcphdr tcpopt_len tcpdatalen unsigned short tcp new unsigned short totaltcp_len unsigned short tcp malloc.. unsigned short totaltcp_len unsigned short tcp malloc totaltcp_len memcpy unsigned char tcp pseudohead sizeof struct tcp_pseudo memcpy unsigned char tcp sizeof struct tcp_pseudo unsigned char mytcp sizeof struct tcphdr memcpy unsigned char tcp sizeof..