Home
last modified time | relevance | path

Searched refs:th_urp (Results 1 – 16 of 16) sorted by relevance

/f-stack/tools/compat/include/netinet/
H A Dtcpip.h59 #define ti_urp ti_t.th_urp
H A Dtcp_var.h1082 th->th_urp = ntohs(th->th_urp); in tcp_fields_to_host()
1092 th->th_urp = htons(th->th_urp); in tcp_fields_to_net()
H A Dtcp.h80 u_short th_urp; /* urgent pointer */ member
/f-stack/freebsd/netinet/
H A Dtcpip.h59 #define ti_urp ti_t.th_urp
H A Dtcp_debug.c191 printf("@%x, urp=%x", ack, th->th_urp); in tcp_trace()
H A Dtcp_var.h1082 th->th_urp = ntohs(th->th_urp); in tcp_fields_to_host()
1092 th->th_urp = htons(th->th_urp); in tcp_fields_to_net()
H A Dtcp_input.c2267 if (th->th_urp > 1) in tcp_do_segment()
2268 th->th_urp--; in tcp_do_segment()
2312 if (th->th_urp > todrop) in tcp_do_segment()
2313 th->th_urp -= todrop; in tcp_do_segment()
2316 th->th_urp = 0; in tcp_do_segment()
3031 if ((thflags & TH_URG) && th->th_urp && in tcp_do_segment()
3041 th->th_urp = 0; /* XXX */ in tcp_do_segment()
3060 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
3061 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
3076 if (th->th_urp <= (uint32_t)tlen && in tcp_do_segment()
[all …]
H A Dtcp.h80 u_short th_urp; /* urgent pointer */ member
H A Dtcp_subr.c1360 th->th_urp = 0; in tcpip_fillheaders()
1627 nth->th_urp = 0; in tcp_respond()
H A Dtcp_output.c1296 th->th_urp = htons((u_short)(tp->snd_up - tp->snd_nxt)); in tcp_output()
H A Dtcp_syncache.c1963 th->th_urp = 0; in syncache_respond()
/f-stack/freebsd/net/
H A Dslcompress.c278 deltaS = ntohs(th->th_urp); in sl_compress_tcp()
281 } else if (th->th_urp != oth->th_urp) in sl_compress_tcp()
543 DECODEU(th->th_urp) in sl_uncompress_tcp_core()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack_bbr_common.c525 if (th->th_urp > 1) in ctf_drop_checks()
526 th->th_urp--; in ctf_drop_checks()
569 if (th->th_urp > todrop) in ctf_drop_checks()
570 th->th_urp -= todrop; in ctf_drop_checks()
573 th->th_urp = 0; in ctf_drop_checks()
/f-stack/freebsd/netpfil/pf/
H A Dpf_norm.c1414 if (!(flags & TH_URG) && th->th_urp) { in pf_normalize_tcp()
1415 th->th_sum = pf_proto_cksum_fixup(m, th->th_sum, th->th_urp, in pf_normalize_tcp()
1417 th->th_urp = 0; in pf_normalize_tcp()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c415 tcp2->th_urp = 0;
H A Dfil.c1368 if ((flags & TH_URG) != 0 && (tcp->th_urp == 0)) {
1370 DT3(ipf_fi_bad_th_urg, fr_info_t*, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp);
1372 } else if ((flags & TH_URG) == 0 && (tcp->th_urp != 0)) {
1378 DT3(ipf_fi_bad_th_urg0, fr_info_t *, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp);