¡@

Home 

2014/10/16 ¤W¤È 08:19:54

android Programming Glossary: mytcp

iptables in android

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

long get_tcp_checksum struct iphdr myip struct tcphdr mytcp __u16 total_len ntohs myip tot_len int tcpopt_len mytcp doff.. mytcp __u16 total_len ntohs myip tot_len int tcpopt_len mytcp doff 4 20 int tcpdatalen total_len mytcp doff 4 myip ihl 4 pseudohead.src_addr.. int tcpopt_len mytcp doff 4 20 int tcpdatalen total_len mytcp doff 4 myip ihl 4 pseudohead.src_addr myip saddr pseudohead.dst_addr..

iptables in android

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

while sum 16 sum sum 0xffff sum 16 return ~sum tcp checksum long get_tcp_checksum struct iphdr myip struct tcphdr mytcp __u16 total_len ntohs myip tot_len int tcpopt_len mytcp doff 4 20 int tcpdatalen total_len mytcp doff 4 myip ihl 4 pseudohead.src_addr.. long get_tcp_checksum struct iphdr myip struct tcphdr mytcp __u16 total_len ntohs myip tot_len int tcpopt_len mytcp doff 4 20 int tcpdatalen total_len mytcp doff 4 myip ihl 4 pseudohead.src_addr myip saddr pseudohead.dst_addr myip daddr.. myip struct tcphdr mytcp __u16 total_len ntohs myip tot_len int tcpopt_len mytcp doff 4 20 int tcpdatalen total_len mytcp doff 4 myip ihl 4 pseudohead.src_addr myip saddr pseudohead.dst_addr myip daddr pseudohead.zero 0 pseudohead.proto IPPROTO_TCP..