Home
last modified time | relevance | path

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

/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c558 if (th->th_urp > 1) in ctf_drop_checks()
559 th->th_urp--; in ctf_drop_checks()
603 if (th->th_urp > todrop) in ctf_drop_checks()
604 th->th_urp -= todrop; in ctf_drop_checks()
607 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.c2235 if (th->th_urp > 1) in tcp_do_segment()
2236 th->th_urp--; in tcp_do_segment()
2280 if (th->th_urp > todrop) in tcp_do_segment()
2281 th->th_urp -= todrop; in tcp_do_segment()
2284 th->th_urp = 0; in tcp_do_segment()
3074 if ((thflags & TH_URG) && th->th_urp && in tcp_do_segment()
3083 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) { in tcp_do_segment()
3084 th->th_urp = 0; /* XXX */ in tcp_do_segment()
3103 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) { in tcp_do_segment()
3104 tp->rcv_up = th->th_seq + th->th_urp; in tcp_do_segment()
[all …]
H A Dtcp_var.h1608 th->th_urp = ntohs(th->th_urp);
1618 th->th_urp = htons(th->th_urp);
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.c1959 th->th_urp = 0; in syncache_respond()
H A Dtcp_log_buf.c3044 db_printf(" urg %u", ntohs(th->th_urp)); in db_print_tcphdr()
/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.c909 t->th_urp = 0; in ip_test5()
1095 t->th_urp = htons(1); in ip_test5()
1101 t->th_urp = htons(0x7fff); in ip_test5()
1104 t->th_urp = htons(0x8000); in ip_test5()
1107 t->th_urp = htons(0xffff); in ip_test5()
1110 t->th_urp = 0; in ip_test5()
/freebsd/sbin/ipf/libipf/
H A Dipft_tx.c278 tcp->th_urp = htons(1); in parseline()
450 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.c1494 if (!(flags & TH_URG) && th->th_urp) { in pf_normalize_tcp()
1495 th->th_sum = pf_proto_cksum_fixup(pd->m, th->th_sum, th->th_urp, in pf_normalize_tcp()
1497 th->th_urp = 0; in pf_normalize_tcp()
/freebsd/sys/netpfil/ipfilter/netinet/
H A Dip_fil_freebsd.c390 tcp2->th_urp = 0; in ipf_send_reset()
H A Dfil.c1348 if ((flags & TH_URG) != 0 && (tcp->th_urp == 0)) { in ipf_pr_tcpcommon()
1350 DT3(ipf_fi_bad_th_urg, fr_info_t*, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp); in ipf_pr_tcpcommon()
1352 } else if ((flags & TH_URG) == 0 && (tcp->th_urp != 0)) { in ipf_pr_tcpcommon()
1358 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.c513 tcph->th_urp = 0; in irdma_form_ah_cm_frame()
700 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()