Home
last modified time | relevance | path

Searched refs:th_off (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/dports/net/libusipp/libusipp-libusipp-2.25s/src/
H A Dtcp.cc50 tcph.th_off = 5; in TCP()
126 return tcph.th_off; in get_off()
208 return tcph.th_off = o; in set_off()
286 T::d_pseudo.len = htons((tcph.th_off<<2) + paylen); in sendpack()
288 T::d_pseudo.len = htonl((tcph.th_off<<2) + paylen); in sendpack()
309 if ((tcph.th_off<<2) > (int)sizeof(tcph)) in sendpack()
313 memcpy(tmp + sizeof(T::d_pseudo) + (tcph.th_off<<2), buf, paylen); in sendpack()
385 unsigned int tcplen = tcph.th_off<<2; in sniffpack()
431 if (tcph.th_off<<2 <= (int)sizeof(tcph)) { in get_options()
435 op = string(tcpOptions, (tcph.th_off<<2) - sizeof(tcpOptions)); in get_options()
[all …]
/dports/net/xprobe/xprobe2-0.3/libs-external/USI++/src/
H A Dtcp.cc36 tcph.th_off = 5; in TCP()
100 return tcph.th_off; in get_off()
170 tcph.th_off = o; in set_off()
222 tcph.th_off = ((opt_offset+sizeof(tcph))>>2); in sendpack()
224 unsigned int len = paylen + (tcph.th_off<<2) + sizeof(pseudo); in sendpack()
234 pseudo.len = htons((tcph.th_off<<2) + paylen); in sendpack()
241 if ((tcph.th_off<<2) > (int)sizeof(tcph)) in sendpack()
245 memcpy(tmp + sizeof(pseudo) + (tcph.th_off<<2), buf, paylen); in sendpack()
291 unsigned int tcplen = tcph.th_off<<2; in sniffpack()
393 return tcph.th_off<<2; in get_tcpopt()
[all …]
/dports/net/ipsumdump/ipsumdump-1.86/src/
H A Dipsumdump_tcp.cc59 d.v = d.tcph->th_off << 2; in tcp_extract()
71 …if (!d.tcph || transport_length < 13 || (d.tcph->th_off > 5 && transport_length < (int)(d.tcph->th… in tcp_extract()
73 if (d.tcph->th_off <= 5) in tcp_extract()
85 else if (d.tcph->th_off <= 5 in tcp_extract()
125 if ((int) d.v > (int) (tcph->th_off << 2)) { in tcp_inject()
126 int more = d.v - (tcph->th_off << 2); in tcp_inject()
132 tcph->th_off = d.v >> 2; in tcp_inject()
148 if (d.p->transport_length() < th_off) { in tcp_inject()
153 if (th_off > (int) (tcph->th_off << 2)) in tcp_inject()
154 tcph->th_off = th_off >> 2; in tcp_inject()
[all …]
/dports/net/ndisc6/ndisc6-1.0.5/src/
H A Dtrace-tcp.c63 packet->th.th_off = sizeof (packet->th) / 4; in send_syn_probe()
83 || (pth->th_off < (sizeof (*pth) / 4))) in parse_syn_resp()
141 packet->th.th_off = sizeof (packet->th) / 4; in send_ack_probe()
162 || (pth->th_off < (sizeof (*pth) / 4))) in parse_ack_resp()
/dports/security/john/john-1.9.0-jumbo-1/src/
H A Dtcphdr.h18 uint8_t th_off:4; member
20 uint8_t th_off:4; member
/dports/security/openvas/openvas-scanner-21.4.3/nasl/
H A Dnasl_packet_forgery_v6.c680 ret = tcp->th_off; in get_tcp_v6_element()
832 if (tcp->th_off <= 5) in get_tcp_v6_option()
938 data = (char *) ((char *) tcp + tcp->th_off * 4); in set_tcp_v6_elements()
941 npkt = g_malloc0 (40 + tcp->th_off * 4 + data_len); in set_tcp_v6_elements()
956 tcp->th_off = get_int_var_by_name (lexic, "th_off", tcp->th_off); in set_tcp_v6_elements()
994 retc->size = 40 + (tcp->th_off * 4) + data_len; in set_tcp_v6_elements()
1215 tcp->th_off = tcp->th_off + (opt_size_allocated / 4); in insert_tcp_v6_options()
1219 ip6->ip6_plen = FIX (tcp->th_off * 4 + data_len); in insert_tcp_v6_options()
1253 retc->size = 40 + (tcp->th_off * 4) + data_len; in insert_tcp_v6_options()
1290 printf ("\tth_off : %d\n", tcp->th_off); in dump_tcp_v6_packet()
[all …]
H A Dnasl_packet_forgery.c623 tcp->th_off = get_int_var_by_name (lexic, "th_off", 5); in forge_tcp_packet()
718 ret = tcp->th_off; in get_tcp_element()
863 if (tcp->th_off <= 5) in get_tcp_option()
980 data = (char *) ((char *) tcp + tcp->th_off * 4); in set_tcp_elements()
998 tcp->th_off = get_int_var_by_name (lexic, "th_off", tcp->th_off); in set_tcp_elements()
1004 bcopy (data, (char *) tcp + tcp->th_off * 4, data_len); in set_tcp_elements()
1254 data = (char *) ((char *) tcp + tcp->th_off * 4); in insert_tcp_options()
1267 tcp->th_off = tcp->th_off + (opt_size_allocated / 4); in insert_tcp_options()
1343 printf ("\tth_off : %d\n", tcp->th_off); in dump_tcp_packet()
1394 if (tcp->th_off > 5) // Options present in dump_tcp_packet()
[all …]
/dports/security/nmap/nmap-7.91/libdnet-stripped/include/dnet/
H A Dtcp.h35 uint8_t th_off:4, /* data offset */ member
39 th_off:4; member
154 tcp_pack_p->th_x2 = 0; tcp_pack_p->th_off = 5; \
/dports/security/snort/snort-2.9.18/src/win32/WIN32-Includes/libdnet/dnet/
H A Dtcp.h33 uint8_t th_off:4, /* data offset */ member
37 th_off:4; member
152 tcp_pack_p->th_x2 = 0; tcp_pack_p->th_off = 5; \
/dports/net/py-libdnet/libdnet-1.13/include/dnet/
H A Dtcp.h35 uint8_t th_off:4, /* data offset */ member
39 th_off:4; member
154 tcp_pack_p->th_x2 = 0; tcp_pack_p->th_off = 5; \
/dports/net/libdnet/libdnet-1.13/include/dnet/
H A Dtcp.h35 uint8_t th_off:4, /* data offset */ member
39 th_off:4; member
154 tcp_pack_p->th_x2 = 0; tcp_pack_p->th_off = 5; \
/dports/net-mgmt/argus3-clients/argus-clients-3.0.8.3/include/cygwin-include/netinet/
H A Dtcp.h30 th_off:4; /* data offset */ member
33 u_char th_off:4, /* data offset */ member
/dports/net-mgmt/bpft/bpft/linux-include/netinet/
H A Dtcp.h24 th_off:4; /* data offset */ member
27 u_char th_off:4, /* data offset */ member
/dports/net-mgmt/clog/clog/linux-include/
H A Dtcp.h24 th_off:4; /* data offset */ member
27 u_char th_off:4, /* data offset */ member
/dports/security/snort/snort-2.9.18/src/win32/WIN32-Includes/NETINET/
H A DTCP.H48 th_off:4; /* data offset */ member
51 u_char th_off:4, /* data offset */ member
/dports/net/lft/lft-3.91/include/netinet/
H A Dtcp.h48 th_off:4; /* data offset */ member
51 u_char th_off:4, /* data offset */ member
/dports/net/ipsumdump/ipsumdump-1.86/libclick-2.1/include/clicknet/
H A Dtcp.h31 unsigned th_off : 4; /* data offset in words */ member
33 unsigned th_off : 4; /* 12 data offset in words */ member
/dports/misc/rump/buildrump.sh-b914579/src/sys/net/
H A Dslcompress.c243 hlen += th->th_off; in sl_compress_tcp()
275 hlen += th->th_off; in sl_compress_tcp()
283 th->th_off != oth->th_off || in sl_compress_tcp()
286 (th->th_off > 5 && in sl_compress_tcp()
287 memcmp(th + 1, oth + 1, (th->th_off - 5) << 2))) in sl_compress_tcp()
504 hlen += ((struct tcphdr *)&((char *)ip)[hlen])->th_off << 2; in sl_uncompress_tcp_core()
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp3/lwip/lwip-1.3.1/src/netif/ppp/
H A Dvjbsdhdr.h61 th_off:4; /* data offset */ member
64 unsigned th_off:4, /* data offset */ member
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/lwip/lwip-1.3.1/src/netif/ppp/
H A Dvjbsdhdr.h61 th_off:4; /* data offset */ member
64 unsigned th_off:4, /* data offset */ member
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/StdLib/Include/netinet/
H A Dtcp.h74 th_off:4; /* data offset */ member
78 u_int8_t th_off:4, /* data offset */ member
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/include/netinet/
H A Dtcp.h57 th_off:4; /* data offset */ member
60 u_int th_off:4, /* data offset */ member
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/include/netinet/
H A Dtcp.h57 th_off:4; /* data offset */ member
60 u_int th_off:4, /* data offset */ member
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/include/netinet/
H A Dtcp.h57 th_off:4; /* data offset */ member
60 u_int th_off:4, /* data offset */ member
/dports/net-mgmt/tcptrack/tcptrack-1.4.2/src/
H A Dheaders.h108 u_int th_off:4, /* data offset */ member
112 th_off:4; /* data offset */ member

12345678910>>...12