Searched refs:th_sport (Results 1 - 25 of 63) sorted by relevance

123

/freebsd-11-stable/sys/netinet/
H A Dtcpip.h48 #define ti_sport ti_t.th_sport
H A Dtcp.h51 u_short th_sport; /* source port */ member in struct:tcphdr
H A Dtcp_subr.c828 th->th_sport = inp->inp_lport;
969 xchg(nth->th_dport, nth->th_sport, uint16_t);
998 nth->th_sport = th->th_sport;
1001 xchg(nth->th_dport, nth->th_sport, uint16_t);
1976 th->th_sport, INPLOOKUP_WLOCKPCB, NULL);
2031 inc.inc_lport = th->th_sport;
2058 uint16_t th_sport; member in struct:tcp_ports
2120 &ip6->ip6_src, t_ports.th_sport, INPLOOKUP_WLOCKPCB, NULL);
2182 inc.inc_lport = t_ports.th_sport;
[all...]
H A Din_rss.c288 th->th_sport,
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintpacket6.c49 (void)PRINTF(",%d", ntohs(tcp->th_sport));
H A Dprintpacket.c82 PRINTF(",%d", ntohs(tcp->th_sport));
H A Dipft_tx.c252 tcp->th_sport = htons(tx_portnum(last));
415 tcp->th_sport = htons(tx_portnum(last));
/freebsd-11-stable/contrib/tcpdump/
H A Dtcp.h42 uint16_t th_sport; /* source port */ member in struct:tcphdr
H A Dprint-tcp.c190 sport = EXTRACT_16BITS(&tp->th_sport);
373 if (ND_TTEST2(tp->th_sport, length)) {
385 if (ND_TTEST2(tp->th_sport, length)) {
/freebsd-11-stable/sys/dev/ixgbe/
H A Dif_fdir.c114 common.port.dst ^= th->th_sport;
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias.c365 tc->th_dport, tc->th_sport,
555 tc->th_dport, tc->th_sport,
954 tc->th_sport, tc->th_dport,
976 .sport = &tc->th_sport,
1023 accumulate += tc->th_sport;
1024 tc->th_sport = proxy_port;
1025 accumulate -= tc->th_sport;
1114 tc->th_sport, tc->th_dport,
1127 .sport = &tc->th_sport,
1154 accumulate = tc->th_sport;
[all...]
H A Dalias_skinny.c327 } else if (ntohs(tc->th_sport) == la->skinnyPort) {
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c929 t->th_sport = htons(1);
1102 t->th_sport = sin.sin_port;
1118 ntohs(t->th_sport), ntohs(t->th_dport));
1171 t->th_sport = 0;
1177 t->th_sport = htons(1);
1183 t->th_sport = htons(32767);
1189 t->th_sport = htons(32768);
1195 t->th_sport = htons(65535);
1202 t->th_sport = htons(1);
1243 t->th_sport
[all...]
H A Dresend.c51 printf(",%d", t->th_sport);
/freebsd-11-stable/tools/tools/netmap/
H A Dpkt_hash.c166 ntohs(tcph->th_sport) + seed,
237 ntohs(tcph->th_sport) + seed,
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_raudio_pxy.c297 tcp2->th_sport = htons(sp);
320 tcp2->th_sport = htons(sp);
H A Dip_rcmd_pxy.c91 aps->aps_sport = tcp->th_sport;
H A Dip_irc_pxy.c409 tcp2->th_sport = sp;
/freebsd-11-stable/sys/netinet6/
H A Din6_rss.c310 th->th_sport,
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dtcp.d238 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport);
257 tcp_sport = p == NULL ? 0 : ntohs(p->th_sport);
/freebsd-11-stable/contrib/ipfilter/
H A Dip_msnrpc_pxy.c305 tcp2->th_sport = mri->mri_rport;
/freebsd-11-stable/sys/netpfil/ipfw/
H A Ddn_sched_fq_codel.c238 *((uint16_t *) &tuple[39]) = th->th_sport;
266 *((uint16_t *) &tuple[15]) = th->th_sport;
/freebsd-11-stable/usr.sbin/traceroute6/
H A Dtraceroute6.c1167 tcp->th_sport = htons(ident);
1169 tcp->th_seq = (tcp->th_sport << 16) | tcp->th_dport;
1410 if (tcp->th_sport == htons(ident) &&
1413 (tcp_seq)((tcp->th_sport << 16) | tcp->th_dport))
/freebsd-11-stable/usr.sbin/ppp/
H A Dip.c374 sport = ntohs(th->th_sport);
820 if (!frag && ncp_IsUrgentTcpPort(&bundle->ncp, ntohs(th->th_sport),
827 "TCP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), ntohs(th->th_sport));
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c2448 th->th_sport = sport;
2559 pd->src, th->th_dport, th->th_sport,
3009 sport = pd->hdr.tcp->th_sport;
3206 MD5Update(&ctx, (char *)&pd->hdr.tcp->th_sport, sizeof(u_short));
3259 sport = th->th_sport;
3324 pf_change_ap(m, saddr, &th->th_sport, pd->ip_sum,
3327 pd->sport = &th->th_sport;
3328 sport = th->th_sport;
3803 th->th_sport, s->src.seqhi, ntohl(th->th_seq) + 1,
4238 th->th_sport, ntoh
[all...]

Completed in 440 milliseconds

123