Home
last modified time | relevance | path

Searched refs:th_flags (Results 1 – 25 of 25) sorted by relevance

/xnu-8792.61.2/tests/
H A Dicmp_fragmented_payload.c244 pcb->inner_tcp_hdr->th_flags = tcp_in->th_flags; in icmp4_pcb_set_payload()
350 .th_flags = TH_FLAGS,
/xnu-8792.61.2/bsd/netinet/
H A Dtcpip.h97 #define ti_flags ti_t.th_flags
H A Dtcp_debug.c213 flags = th->th_flags;
217 if (th->th_flags & TH_##f) { \
H A Dtcp_cc.c156 (th->th_flags & TH_PUSH) == 0 && in tcp_cc_delay_ack()
164 (th->th_flags & TH_PUSH) == 0 && in tcp_cc_delay_ack()
H A Dtcp_log.h180 if ((th) != NULL && ((th)->th_flags & (TH_SYN|TH_FIN|TH_RST))) \
184 if ((th) != NULL && ((th->th_flags) & (TH_SYN|TH_FIN|TH_RST)) && \
H A Dtcp.h106 unsigned char th_flags; member
H A Dtcp_input.c798 flags = q->tqe_th->th_flags & TH_FIN; in tcp_reass()
806 if (q->tqe_th->th_flags & TH_PUSH) { in tcp_reass()
1384 (TCP_ECN_ENABLED(tp) && (th->th_flags & TH_ECE))) { in tcp_detect_bad_rexmt()
2072 (th->th_flags & TH_SYN) == 0) { in tcp_input()
2079 thflags = th->th_flags; in tcp_input()
2741 if (th->th_flags & TH_SYN) { in tcp_input()
2744 if (th->th_flags & TH_FIN) { in tcp_input()
2747 if (th->th_flags & TH_RST) { in tcp_input()
3199 if (th->th_flags & TH_PUSH) { in tcp_input()
4419 if (th->th_flags & TH_SYN) { in tcp_input()
[all …]
H A Dtcp_output.c2538 th->th_flags = (flags & (TH_FLAGS_ALL)); in tcp_output()
2573 th->th_flags |= TH_URG; in tcp_output()
2597 || tp->t_state == TCPS_LAST_ACK || (th->th_flags & TH_RST))) { in tcp_output()
2907 if (th->th_flags == TH_ACK && in tcp_output()
2912 if (th->th_flags & TH_SYN) { in tcp_output()
2925 if ((th->th_flags & TH_SYN) && tp->t_syn_sent < UINT8_MAX) { in tcp_output()
2928 if ((th->th_flags & TH_FIN) && tp->t_fin_sent < UINT8_MAX) { in tcp_output()
2931 if ((th->th_flags & TH_RST) && tp->t_rst_sent < UINT8_MAX) { in tcp_output()
H A Dmptcp_opt.c953 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpcapable_opt()
1030 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpjoin_opt()
1469 if (th->th_flags != TH_ACK) { in mptcp_do_fastclose_opt()
1525 if ((th->th_flags != TH_ACK) && (th->th_flags != TH_RST)) { in mptcp_do_mpfail_opt()
H A Dtcp_log.c638 thflags = th->th_flags; in tcp_log_pkt_addresses()
821 thflags = th->th_flags; in tcp_log_th_flags()
893 thflags = th->th_flags; in tcp_log_drop_pkt()
H A Dtcp_ledbat.c544 (th->th_flags & TH_PUSH) == 0 && (tp->t_unacksegs == 1)) { in tcp_ledbat_delay_ack()
H A Dip_compat.h547 __u8 th_flags;
H A Dtcp_subr.c706 tcp_hdr->th_flags = 0; in tcp_fillheaders()
879 nth->th_flags = flags; in tcp_respond()
3955 th->th_flags = TH_ACK; in tcp_make_keepalive_frame()
4441 if (th->th_flags & TH_ECE) { in tcp_get_ace()
4444 if (th->th_flags & TH_CWR) { in tcp_get_ace()
H A Dmptcp_subr.c5613 if (th->th_flags & TH_FIN) { in mptcp_insert_rmap()
/xnu-8792.61.2/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c138 .th_flags = ~TH_PUSH,
189 .th_flags = ~TH_PUSH,
1130 if ((stcp->th_flags & ~(TH_PUSH)) != (tcp->th_flags & ~(TH_PUSH))) { in can_agg_slowpath()
1132 DTRACE_SKYWALK2(aggr__fail10, uint8_t, stcp->th_flags, in can_agg_slowpath()
1133 uint8_t, tcp->th_flags); in can_agg_slowpath()
1367 (stcp->th_flags & TH_PUSH) == 0) { in flow_agg_merge_hdr()
1387 if ((stcp->th_flags & TH_PUSH) == 0 && in flow_agg_merge_hdr()
1388 (tcp->th_flags & TH_PUSH) != 0) { in flow_agg_merge_hdr()
1392 stcp->th_flags |= tcp->th_flags & TH_PUSH; in flow_agg_merge_hdr()
H A Dflow_track.c816 th->th_flags = TH_RST; in flow_track_abort_tcp()
822 th->th_flags = TH_RST | TH_ACK; in flow_track_abort_tcp()
829 th->th_flags = rst_pkt->pkt_flow_tcp_flags; in flow_track_abort_tcp()
835 th->th_flags = TH_RST; in flow_track_abort_tcp()
H A Dflow_classifier.c151 (offsetof(struct tcphdr, th_flags) - in flow_pkt_classify()
/xnu-8792.61.2/bsd/net/
H A Dpf.c2741 th->th_flags = flags; in pf_send_tcp()
5284 (r->flagset & th->th_flags) != r->flags) { in pf_test_rule()
5511 !(th->th_flags & TH_RST)) { in pf_test_rule()
5533 if (th->th_flags & TH_SYN) { in pf_test_rule()
5536 if (th->th_flags & TH_FIN) { in pf_test_rule()
5842 if ((th->th_flags & (TH_SYN | TH_ACK)) == in pf_test_rule()
5855 if (th->th_flags & TH_SYN) { in pf_test_rule()
5868 if (th->th_flags & TH_FIN) { in pf_test_rule()
6061 (th->th_flags & (TH_SYN | TH_ACK)) == TH_SYN && in pf_test_rule()
6221 dnflow.fwa_id.flags = pd->hdr.tcp->th_flags; in pf_test_dummynet()
[all …]
H A Dpf_norm.c2668 flags = th->th_flags; in pf_normalize_tcp()
2698 if (flags != th->th_flags || th->th_x2 != 0) { in pf_normalize_tcp()
2702 th->th_flags = flags; in pf_normalize_tcp()
2789 if ((th->th_flags & TH_SYN) == 0) { in pf_normalize_tcp_init()
3130 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
3138 } else if (!got_ts && (th->th_flags & TH_RST) == 0 && in pf_normalize_tcp_stateful()
3140 || pd->p_len > 0 || (th->th_flags & TH_SYN)) && in pf_normalize_tcp_stateful()
3180 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
3210 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
H A Dif_ports_used.c1387 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf()
1526 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf()
1785 pkt_control_flags = tcp->th_flags; in if_ports_used_match_pkt()
H A Dpf_osfp.c124 if ((tcp->th_flags & (TH_SYN | TH_ACK)) != TH_SYN) { in pf_osfp_fingerprint_hdr()
H A Dif_bridge.c9585 state->tcp->th_flags &= ~(TH_FIN | TH_PUSH);
9606 state->tcp->th_flags &= ~TH_CWR;
/xnu-8792.61.2/bsd/dev/dtrace/scripts/
H A Dtcp.d136 tcp_flags = T->th_flags;
/xnu-8792.61.2/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c370 state->tcp->th_flags &= ~(TH_FIN | TH_PUSH); in netif_gso_tcp_segment_mbuf()
377 state->tcp->th_flags &= ~TH_CWR; in netif_gso_tcp_segment_mbuf()
/xnu-8792.61.2/bsd/netinet6/
H A Desp_output.c916 inner_payload_len, th.th_flags); in esp_output()