/freebsd/sbin/ipf/libipf/ |
H A D | printpacket6.c | 21 tcphdr_t *tcp; in printpacket6() 25 tcp = (tcphdr_t *)(buf + 40); in printpacket6()
|
H A D | printpacket.c | 20 tcphdr_t *tcp; in printpacket()
|
H A D | ipft_tx.c | 158 tcphdr_t th, *tcp = &th; in parseline() 334 tcphdr_t th, *tcp = &th; in parseipv6()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_rcmd_pxy.c | 68 tcphdr_t *tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_rcmd_new() 137 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_rcmd_portmsg() 154 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_rcmd_portmsg()
|
H A D | ip_raudio_pxy.c | 80 tcphdr_t *tcp; in ipf_p_raudio_out() 95 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_raudio_out() 178 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_raudio_in() 204 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_raudio_in()
|
H A D | ip_state.c | 145 i6addr_t *, tcphdr_t *, u_32_t); 160 fr_info_t *, tcphdr_t *, ipstate_t *); 162 tcphdr_t *, tcpdata_t *); 163 static ipstate_t *ipf_state_clone(fr_info_t *, tcphdr_t *, ipstate_t *); 172 struct tcpdata *, tcphdr_t *, int); 1335 tcphdr_t *tcp; in ipf_state_add() 1566 (TCP_OFF(tcp) > (sizeof(tcphdr_t) >> 2))) { in ipf_state_add() 1848 ipf_tcpoptions(ipf_state_softc_t *softs, fr_info_t *fin, tcphdr_t *tcp, in ipf_tcpoptions() 1953 fr_info_t *fin, tcphdr_t *tcp, ipstate_t *is) in ipf_state_tcp() 2018 if ((TCP_OFF(tcp) > (sizeof(tcphdr_t) >> 2))) { in ipf_state_tcp() [all …]
|
H A D | ip_ftp_pxy.c | 284 tcphdr_t *tcp; in ipf_p_ftp_port() 291 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_ftp_port() 432 tcphdr_t tcph, *tcp2 = &tcph; in ipf_p_ftp_addport() 811 tcphdr_t *tcp, tcph, *tcp2; in ipf_p_ftp_pasvreply() 831 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_ftp_pasvreply() 1224 tcphdr_t *tcp; in ipf_p_ftp_process() 1230 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_ftp_process() 1239 DT3(process_debug, tcphdr_t *, tcp, int, off, int, mlen); in ipf_p_ftp_process() 1662 tcphdr_t *tcp; in ipf_p_ftp_eprt4() 1667 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_ftp_eprt4() [all …]
|
H A D | ip_pptp_pxy.c | 281 tcphdr_t *tcp; in ipf_p_pptp_nextmessage() 507 tcphdr_t *tcp; in ipf_p_pptp_inout() 517 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_pptp_inout()
|
H A D | ip_state.h | 297 struct tcpdata *, tcphdr_t *, int); 305 extern ipstate_t *ipf_state_lookup(fr_info_t *, tcphdr_t *, ipftq_t **);
|
H A D | ip_irc_pxy.c | 249 tcphdr_t *tcp, tcph, *tcp2 = &tcph; in ipf_p_irc_send() 268 tcp = (tcphdr_t *)fin->fin_dp; in ipf_p_irc_send()
|
H A D | ip_proxy.c | 656 ipf_proxy_ok(fr_info_t *fin, tcphdr_t *tcp, ipnat_t *np) in ipf_proxy_ok() 874 tcphdr_t *tcp = NULL; in ipf_proxy_check() 929 tcp = (tcphdr_t *)fin->fin_dp; in ipf_proxy_check() 1123 tcphdr_t *tcp; in ipf_proxy_fixseqack() 1126 tcp = (tcphdr_t *)fin->fin_dp; in ipf_proxy_fixseqack()
|
H A D | ip_nat6.c | 695 ((tcphdr_t *)fin->fin_dp)->th_sport = port; in ipf_nat6_newmap() 897 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; in ipf_nat6_newrdr() 1361 tcphdr_t *tcp = NULL; in ipf_nat6_icmperrorlookup() 1470 tcp = (tcphdr_t *)(oip6 + 1); in ipf_nat6_icmperrorlookup() 1558 tcphdr_t *tcp; in ipf_nat6_icmperror() 1585 tcp = (tcphdr_t *)dp; in ipf_nat6_icmperror() 1592 tcp = (tcphdr_t *)dp; in ipf_nat6_icmperror() 2571 tcphdr_t *tcp = NULL; in ipf_nat6_checkout() 2768 tcphdr_t *tcp; in ipf_nat6_out() 2968 tcphdr_t *tcp; in ipf_nat6_checkin() [all …]
|
H A D | ip_rpcb_pxy.c | 1105 tcphdr_t tcp; in ipf_p_rpcb_getnat() 1128 TCP_OFF_A(&tcp, sizeof(tcphdr_t) >> 2); in ipf_p_rpcb_getnat() 1129 fi.fin_dlen = sizeof(tcphdr_t); in ipf_p_rpcb_getnat()
|
H A D | ip_proxy.h | 449 extern int ipf_proxy_ok(fr_info_t *, tcphdr_t *, struct ipnat *);
|
H A D | ip_nat.c | 233 static void ipf_nat_mssclamp(tcphdr_t *, u_32_t, fr_info_t *, 2791 ((tcphdr_t *)fin->fin_dp)->th_sport = port; in ipf_nat_newmap() 2992 ((tcphdr_t *)fin->fin_dp)->th_dport = nport; in ipf_nat_newrdr() 3544 tcphdr_t *tcp = NULL; in ipf_nat_icmperrorlookup() 3654 tcp = (tcphdr_t *)((char *)oip + (IP_HL(oip) << 2)); in ipf_nat_icmperrorlookup() 3701 tcphdr_t *tcp; in ipf_nat_icmperror() 3728 tcp = (tcphdr_t *)dp; in ipf_nat_icmperror() 3735 tcp = (tcphdr_t *)dp; in ipf_nat_icmperror() 4760 tcphdr_t *tcp = NULL; in ipf_nat_checkout() 4980 tcphdr_t *tcp; in ipf_nat_out() [all …]
|
H A D | ip_scan.c | 511 tcphdr_t *tcp; in ipf_scan_packet()
|
/freebsd/sbin/ipf/ipsend/ |
H A D | ipsend.c | 167 tcphdr_t *tcp; in main() 179 tcp = (tcphdr_t *)(ip + 1); in main() 239 ip->ip_len += sizeof(tcphdr_t); in main() 357 tcp = (tcphdr_t *)(p + hlen); in main()
|
H A D | ip.c | 238 tcphdr_t *t, *t2; in send_tcp() 245 t = (tcphdr_t *)((char *)ip + hlen); in send_tcp() 247 t2 = (tcphdr_t *)((char *)ip2 + hlen); in send_tcp() 250 thlen = sizeof(tcphdr_t); in send_tcp()
|
H A D | resend.c | 34 tcphdr_t *t; in dumppacket() 37 t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2)); in dumppacket()
|
H A D | iptests.c | 902 tcphdr_t *t; in ip_test5() 905 t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2)); in ip_test5() 914 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t); in ip_test5() 1101 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t) + 1; in ip_test5() 1113 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t); in ip_test5() 1130 ip->ip_len = sizeof(ip_t) + sizeof(tcphdr_t); in ip_test5()
|
/freebsd/sbin/ipf/iplang/ |
H A D | iplang.h | 34 tcphdr_t *ahu_tcp;
|
H A D | iplang_y.y | 67 tcphdr_t *tcp = NULL; 649 sz = sizeof(tcphdr_t); in new_header() 950 tcp = (tcphdr_t *)new_header(IPPROTO_TCP); in new_tcpheader()
|
/freebsd/sbin/ipf/ipmon/ |
H A D | ipmon_y.y | 436 tcphdr_t *tcp; in check_action() 446 tcp = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2)); in check_action()
|
H A D | ipmon.c | 1029 tcphdr_t *tp; in print_ipflog() 1185 tp = (tcphdr_t *)((char *)ip + hl); in print_ipflog() 1252 tp = (tcphdr_t *)((char *)ipc + hl); in print_ipflog()
|
/freebsd/sbin/ipf/ipftest/ |
H A D | ipftest.c | 678 csump += offsetof(tcphdr_t, th_sum); in fixv4sums()
|