Home
last modified time | relevance | path

Searched refs:ip_tcp_sync (Results 1 – 3 of 3) sorted by relevance

/dports/net/thcrut/thcrut-1.2.5/src/
H A Dpackets.c14 extern char ip_tcp_sync[];
41 0, ip_tcp_sync + LIBNET_IP_H); in scanner_gen_packets()
52 ip_tcp_sync); in scanner_gen_packets()
54 libnet_do_checksum(ip_tcp_sync, IPPROTO_TCP, LIBNET_TCP_H); in scanner_gen_packets()
55 ip_tcp_sync_chksum = *(unsigned short *)(ip_tcp_sync + 36); in scanner_gen_packets()
H A Ddiscover_main.c23 extern char ip_tcp_sync[];
357 struct ip *ip = (struct ip *)(ip_tcp_sync); in testme()
364 ret = net_send(rawsox, ip_tcp_sync, 40); in testme()
376 struct ip *ip = (struct ip *)(ip_tcp_sync); in testsend()
379 net_send(rawsox, ip_tcp_sync, 40); in testsend()
H A Ddiscover_dispatch.c76 char ip_tcp_sync[40]; variable
783 struct tcphdr *tcp = (struct tcphdr *)(ip_tcp_sync + 20); in dis_sendtcp()
784 struct ip *ip = (struct ip *)(ip_tcp_sync); in dis_sendtcp()
799 libnet_do_checksum(ip_tcp_sync, IPPROTO_TCP, LIBNET_TCP_H); in dis_sendtcp()
800 if (net_send(rawsox, ip_tcp_sync, 40) == 0) in dis_sendtcp()
801 FILLSBUF(state, ip_tcp_sync, 40); in dis_sendtcp()