Home
last modified time | relevance | path

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

/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c577 if (th->th_urp > 1) in ctf_drop_checks()
578 th->th_urp--; in ctf_drop_checks()
622 if (th->th_urp > todrop) in ctf_drop_checks()
623 th->th_urp -= todrop; in ctf_drop_checks()
626 th->th_urp = 0; in ctf_drop_checks()
/freebsd/sys/net/
H A Dslcompress.c275 deltaS = ntohs(th->th_urp); in sl_compress_tcp()
278 } else if (th->th_urp != oth->th_urp) in sl_compress_tcp()
540 DECODEU(th->th_urp) in sl_uncompress_tcp_core()
/freebsd/usr.sbin/ppp/
H A Dslcompress.c287 deltaS = ntohs(th->th_urp); in sl_compress_tcp()
290 } else if (th->th_urp != oth->th_urp) { in sl_compress_tcp()
526 DECODEU(th->th_urp) in sl_uncompress_tcp()
/freebsd/sys/netinet/
H A Dtcpip.h56 #define ti_urp ti_t.th_urp
H A Dtcp_input.c2284 if (th->th_urp > 1) in tcp_do_segment()
2285 th->th_urp--; in tcp_do_segment()
2329 if (th->th_urp > todrop) in tcp_do_segment()
2330 th->th_urp -= todrop; in tcp_do_segment()
2333 th->th_urp = 0; in tcp_do_segment()
3160 if ((thflags & TH_URG) && th->th_urp && in tcp_do_segment()
3169 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) { in tcp_do_segment()
3170 th->th_urp = 0; /* XXX */ in tcp_do_segment()
3189 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
3190 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
[all …]
H A Dtcp_var.h1583 th->th_urp = ntohs(th->th_urp); in tcp_fields_to_host()
1593 th->th_urp = htons(th->th_urp); in tcp_fields_to_net()
H A Dtcp.h79 u_short th_urp; /* urgent pointer */ member
H A Dtcp_output.c1312 th->th_urp = htons((u_short)(tp->snd_up - tp->snd_nxt)); in tcp_default_output()
H A Dtcp_subr.c1699 th->th_urp = 0; in tcpip_fillheaders()
2046 nth->th_urp = 0; in tcp_respond()
H A Dtcp_syncache.c1906 th->th_urp = 0; in syncache_respond()
/freebsd/contrib/tcpdump/
H A Dtcp.h49 nd_uint16_t th_urp; /* urgent pointer */ member
H A Dprint-tcp.c239 urp = GET_BE_U_2(tp->th_urp); in tcp_print()
/freebsd/sbin/ipf/ipsend/
H A Diptests.c911 t->th_urp = 0; in ip_test5()
1098 t->th_urp = htons(1); in ip_test5()
1104 t->th_urp = htons(0x7fff); in ip_test5()
1107 t->th_urp = htons(0x8000); in ip_test5()
1110 t->th_urp = htons(0xffff); in ip_test5()
1113 t->th_urp = 0; in ip_test5()
/freebsd/sbin/ipf/libipf/
H A Dipft_tx.c277 tcp->th_urp = htons(1); in parseline()
448 tcp->th_urp = htons(1); in parseipv6()
/freebsd/cddl/lib/libdtrace/
H A Dtcp.d272 tcp_urgent = p == NULL ? 0 : ntohs(p->th_urp);
291 tcp_urgent = p == NULL ? 0 : p->th_urp;
/freebsd/sys/netpfil/pf/
H A Dpf_norm.c1393 if (!(flags & TH_URG) && th->th_urp) { in pf_normalize_tcp()
1394 th->th_sum = pf_proto_cksum_fixup(pd->m, th->th_sum, th->th_urp, in pf_normalize_tcp()
1396 th->th_urp = 0; in pf_normalize_tcp()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c373 tcp2->th_urp = 0; in ipf_send_reset()
H A Dfil.c1341 if ((flags & TH_URG) != 0 && (tcp->th_urp == 0)) { in ipf_pr_tcpcommon()
1343 DT3(ipf_fi_bad_th_urg, fr_info_t*, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp); in ipf_pr_tcpcommon()
1345 } else if ((flags & TH_URG) == 0 && (tcp->th_urp != 0)) { in ipf_pr_tcpcommon()
1351 DT3(ipf_fi_bad_th_urg0, fr_info_t *, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp); in ipf_pr_tcpcommon()
/freebsd/sbin/ipf/iplang/
H A Diplang_y.y1024 tcp->th_urp = htons(strtol(*arg, NULL, 0)); in set_tcpurp()
/freebsd/sys/dev/irdma/
H A Dirdma_cm.c421 tcph->th_urp = 0; in irdma_form_ah_cm_frame()
608 tcph->th_urp = 0; in irdma_form_uda_cm_frame()
/freebsd/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2320 tcp->th_urp = htons(0); in xnb_fill_tcp()