| /trueos/sys/netinet/libalias/ |
| HD | alias.c | 365 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 …]
|
| HD | alias_skinny.c | 327 } else if (ntohs(tc->th_sport) == la->skinnyPort) { in AliasHandleSkinny()
|
| /trueos/contrib/ipfilter/ipsend/ |
| HD | iptests.c | 958 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);
|
| HD | resend.c | 56 printf(",%d", t->th_sport);
|
| /trueos/sys/netinet/ |
| HD | tcpip.h | 48 #define ti_sport ti_t.th_sport
|
| HD | tcp_subr.c | 500 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()
|
| HD | tcp.h | 51 u_short th_sport; /* source port */ member
|
| HD | tcp_input.c | 791 &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()
|
| HD | tcp_lro.c | 481 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/ |
| HD | tcp.h | 43 u_int16_t th_sport; /* source port */ member
|
| HD | print-tcp.c | 169 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/ |
| HD | printpacket6.c | 49 (void)PRINTF(",%d", ntohs(tcp->th_sport));
|
| HD | printpacket.c | 82 PRINTF(",%d", ntohs(tcp->th_sport));
|
| HD | ipft_tx.c | 252 tcp->th_sport = htons(tx_portnum(last)); 415 tcp->th_sport = htons(tx_portnum(last));
|
| /trueos/cddl/lib/libdtrace/ |
| HD | tcp.d | 209 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport); 228 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport);
|
| /trueos/sys/contrib/ipfilter/netinet/ |
| HD | ip_raudio_pxy.c | 305 tcp2->th_sport = htons(sp); 328 tcp2->th_sport = htons(sp);
|
| HD | ip_nat6.c | 720 ((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;
|
| HD | ip_rcmd_pxy.c | 91 aps->aps_sport = tcp->th_sport;
|
| /trueos/contrib/ipfilter/ipsd/Celler/ |
| HD | ip_compat.h | 134 __u16 th_sport; member
|
| /trueos/contrib/ipfilter/ipsend/.OLD/ |
| HD | ip_compat.h | 136 __u16 th_sport; member
|
| /trueos/usr.sbin/ppp/ |
| HD | ip.c | 372 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/ |
| HD | traceroute.c | 1465 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/ |
| HD | ip_msnrpc_pxy.c | 305 tcp2->th_sport = mri->mri_rport;
|
| /trueos/sys/netpfil/pf/ |
| HD | pf.c | 2317 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/ |
| HD | trpt.c | 353 ntohs(th->th_sport)); in tcp_trace()
|