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

/freebsd-11-stable/sys/netinet/
H A Dtcpip.h57 #define ti_urp ti_t.th_urp
H A Dtcp.h77 u_short th_urp; /* urgent pointer */ member in struct:tcphdr
H A Dtcp_debug.c189 printf("@%x, urp=%x", ack, th->th_urp);
H A Dtcp_var.h852 th->th_urp = ntohs(th->th_urp);
862 th->th_urp = htons(th->th_urp);
H A Dtcp_input.c1259 * The data pointed to by TH_URG and th_urp is ignored.
2294 if (th->th_urp > 1)
2295 th->th_urp--;
2339 if (th->th_urp > todrop)
2340 th->th_urp -= todrop;
2343 th->th_urp = 0;
2989 if ((thflags & TH_URG) && th->th_urp &&
2998 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) {
2999 th->th_urp = 0; /* XXX */
3018 if (SEQ_GT(th->th_seq+th->th_urp, t
[all...]
H A Dtcp_subr.c836 th->th_urp = 0;
1102 nth->th_urp = 0;
H A Dtcp_output.c1254 th->th_urp = htons((u_short)(tp->snd_up - tp->snd_nxt));
H A Dtcp_syncache.c1737 th->th_urp = 0;
/freebsd-11-stable/contrib/tcpdump/
H A Dtcp.h50 uint16_t th_urp; /* urgent pointer */ member in struct:tcphdr
H A Dprint-tcp.c230 urp = EXTRACT_16BITS(&tp->th_urp);
/freebsd-11-stable/usr.sbin/ppp/
H A Dslcompress.c289 deltaS = ntohs(th->th_urp);
292 } else if (th->th_urp != oth->th_urp) {
528 DECODEU(th->th_urp)
/freebsd-11-stable/sys/net/
H A Dslcompress.c277 deltaS = ntohs(th->th_urp);
280 } else if (th->th_urp != oth->th_urp)
545 DECODEU(th->th_urp)
/freebsd-11-stable/sys/netinet/tcp_stacks/
H A Dfastpath.c760 if (th->th_urp > 1)
761 th->th_urp--;
793 if (th->th_urp > todrop)
794 th->th_urp -= todrop;
797 th->th_urp = 0;
1380 if ((thflags & TH_URG) && th->th_urp &&
1389 if (th->th_urp + sbavail(&so->so_rcv) > sb_max) {
1390 th->th_urp = 0; /* XXX */
1409 if (SEQ_GT(th->th_seq+th->th_urp, tp->rcv_up)) {
1410 tp->rcv_up = th->th_seq + th->th_urp;
[all...]
/freebsd-11-stable/contrib/ipfilter/ipsend/
H A Diptests.c932 t->th_urp = 0;
1119 t->th_urp = htons(1);
1125 t->th_urp = htons(0x7fff);
1128 t->th_urp = htons(0x8000);
1131 t->th_urp = htons(0xffff);
1134 t->th_urp = 0;
/freebsd-11-stable/contrib/ipfilter/lib/
H A Dipft_tx.c289 tcp->th_urp = htons(1);
463 tcp->th_urp = htons(1);
/freebsd-11-stable/cddl/lib/libdtrace/
H A Dtcp.d246 tcp_urgent = p == NULL ? 0 : ntohs(p->th_urp);
265 tcp_urgent = p == NULL ? 0 : p->th_urp;
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf_norm.c1234 if (!(flags & TH_URG) && th->th_urp) {
1235 th->th_sum = pf_proto_cksum_fixup(m, th->th_sum, th->th_urp,
1237 th->th_urp = 0;
/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_fil_freebsd.c412 tcp2->th_urp = 0;
H A Dfil.c1366 if ((flags & TH_URG) != 0 && (tcp->th_urp == 0)) {
1368 DT3(ipf_fi_bad_th_urg, fr_info_t*, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp);
1370 } else if ((flags & TH_URG) == 0 && (tcp->th_urp != 0)) {
1376 DT3(ipf_fi_bad_th_urg0, fr_info_t *, fin, u_int, (flags & TH_URG), u_int, tcp->th_urp);
/freebsd-11-stable/contrib/ipfilter/iplang/
H A Diplang_y.y1049 tcp->th_urp = htons(strtol(*arg, NULL, 0));
/freebsd-11-stable/sys/dev/xen/netback/
H A Dnetback_unit_tests.c2331 tcp->th_urp = htons(0);

Completed in 206 milliseconds