Home
last modified time | relevance | path

Searched refs:th_sport (Results 1 – 25 of 55) sorted by relevance

123

/trueos/sys/netinet/libalias/
HDalias.c365 tc->th_dport, tc->th_sport, in IcmpAliasIn2()
547 tc->th_dport, tc->th_sport, in IcmpAliasOut2()
925 tc->th_sport, tc->th_dport, in TcpAliasIn()
947 .sport = &tc->th_sport, in TcpAliasIn()
994 accumulate += tc->th_sport; in TcpAliasIn()
995 tc->th_sport = proxy_port; in TcpAliasIn()
996 accumulate -= tc->th_sport; in TcpAliasIn()
1081 tc->th_sport, tc->th_dport, in TcpAliasOut()
1094 .sport = &tc->th_sport, in TcpAliasOut()
1121 accumulate = tc->th_sport; in TcpAliasOut()
[all …]
HDalias_skinny.c327 } else if (ntohs(tc->th_sport) == la->skinnyPort) { in AliasHandleSkinny()
/trueos/contrib/ipfilter/ipsend/
HDiptests.c958 t->th_sport = htons(1);
1131 t->th_sport = sin.sin_port;
1147 ntohs(t->th_sport), ntohs(t->th_dport));
1200 t->th_sport = 0;
1206 t->th_sport = htons(1);
1212 t->th_sport = htons(32767);
1218 t->th_sport = htons(32768);
1224 t->th_sport = htons(65535);
1231 t->th_sport = htons(1);
1272 t->th_sport = htons(25);
HDresend.c56 printf(",%d", t->th_sport);
/trueos/sys/netinet/
HDtcpip.h48 #define ti_sport ti_t.th_sport
HDtcp_subr.c500 th->th_sport = inp->inp_lport; in tcpip_fillheaders()
628 nth->th_sport = th->th_sport; in tcp_respond()
631 xchg(nth->th_dport, nth->th_sport, uint16_t); in tcp_respond()
1515 ip->ip_src, th->th_sport, INPLOOKUP_WLOCKPCB, NULL); in tcp_ctlinput()
1568 inc.inc_lport = th->th_sport; in tcp_ctlinput()
1591 u_int16_t th_sport; in tcp6_ctlinput() member
1638 th.th_sport, cmd, NULL, notify); in tcp6_ctlinput()
1642 inc.inc_lport = th.th_sport; in tcp6_ctlinput()
2439 sprintf(sp, "]:%i to [", ntohs(th->th_sport)); in tcp_log_addr()
2449 sprintf(sp, "]:%i to [", ntohs(th->th_sport)); in tcp_log_addr()
HDtcp.h51 u_short th_sport; /* source port */ member
HDtcp_input.c791 &ip6->ip6_src, th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
800 th->th_sport, &next_hop6->sin6_addr, in tcp_input()
807 th->th_sport, &ip6->ip6_dst, th->th_dport, in tcp_input()
824 inp = in_pcblookup_mbuf(&V_tcbinfo, ip->ip_src, th->th_sport, in tcp_input()
834 th->th_sport, next_hop->sin_addr, in tcp_input()
841 th->th_sport, ip->ip_dst, th->th_dport, in tcp_input()
1044 inc.inc_fport = th->th_sport; in tcp_input()
1277 if (th->th_dport == th->th_sport && in tcp_input()
1300 if (th->th_dport == th->th_sport && in tcp_input()
HDtcp_lro.c481 if (le->source_port != th->th_sport || in tcp_lro_rx()
602 le->source_port = th->th_sport; in tcp_lro_rx()
/trueos/contrib/tcpdump/
HDtcp.h43 u_int16_t th_sport; /* source port */ member
HDprint-tcp.c169 sport = EXTRACT_16BITS(&tp->th_sport); in tcp_print()
398 if (TTEST2(tp->th_sport, length)) { in tcp_print()
412 if (TTEST2(tp->th_sport, length)) { in tcp_print()
/trueos/contrib/ipfilter/lib/
HDprintpacket6.c49 (void)PRINTF(",%d", ntohs(tcp->th_sport));
HDprintpacket.c82 PRINTF(",%d", ntohs(tcp->th_sport));
HDipft_tx.c252 tcp->th_sport = htons(tx_portnum(last));
415 tcp->th_sport = htons(tx_portnum(last));
/trueos/cddl/lib/libdtrace/
HDtcp.d209 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport);
228 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport);
/trueos/sys/contrib/ipfilter/netinet/
HDip_raudio_pxy.c305 tcp2->th_sport = htons(sp);
328 tcp2->th_sport = htons(sp);
HDip_nat6.c720 ((tcphdr_t *)fin->fin_dp)->th_sport = port;
1511 fin->fin_data[1] = ntohs(tcp->th_sport);
1773 sum4 = ntohs(tcp->th_sport);
1777 tcp->th_sport = htons(sum1);
1783 sum4 = ntohs(tcp->th_sport);
1786 tcp->th_sport = htons(sum1);
2932 tcp->th_sport = nat->nat_nsport;
2939 tcp->th_sport = nat->nat_odport;
3358 tcp->th_sport = nat->nat_nsport;
3365 tcp->th_sport = nat->nat_odport;
HDip_rcmd_pxy.c91 aps->aps_sport = tcp->th_sport;
/trueos/contrib/ipfilter/ipsd/Celler/
HDip_compat.h134 __u16 th_sport; member
/trueos/contrib/ipfilter/ipsend/.OLD/
HDip_compat.h136 __u16 th_sport; member
/trueos/usr.sbin/ppp/
HDip.c372 sport = ntohs(th->th_sport); in FilterCheck()
818 if (!frag && ncp_IsUrgentTcpPort(&bundle->ncp, ntohs(th->th_sport), in PacketCheck()
825 "TCP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), ntohs(th->th_sport)); in PacketCheck()
/trueos/contrib/traceroute/
HDtraceroute.c1465 tcp->th_sport = htons(ident); in tcp_prep()
1467 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport; in tcp_prep()
1482 return (ntohs(tcp->th_sport) == ident in tcp_check()
1484 && tcp->th_seq == (tcp_seq)((tcp->th_sport << 16) | tcp->th_dport)); in tcp_check()
/trueos/contrib/ipfilter/
HDip_msnrpc_pxy.c305 tcp2->th_sport = mri->mri_rport;
/trueos/sys/netpfil/pf/
HDpf.c2317 th->th_sport = sport; in pf_send_tcp()
2764 sport = pd->hdr.tcp->th_sport; in pf_socket_lookup()
2975 MD5Update(&ctx, (char *)&pd->hdr.tcp->th_sport, sizeof(u_short)); in pf_tcp_iss()
3028 sport = th->th_sport; in pf_test_rule()
3093 pf_change_ap(saddr, &th->th_sport, pd->ip_sum, in pf_test_rule()
3096 pd->sport = &th->th_sport; in pf_test_rule()
3097 sport = th->th_sport; in pf_test_rule()
3354 pd->src, th->th_dport, th->th_sport, in pf_test_rule()
3627 th->th_sport, s->src.seqhi, ntohl(th->th_seq) + 1, in pf_create_state()
4041 th->th_sport, ntohl(th->th_ack), 0, in pf_tcp_track_full()
[all …]
/trueos/usr.sbin/trpt/
HDtrpt.c353 ntohs(th->th_sport)); in tcp_trace()

123