| /xnu-10063.141.1/tests/ |
| H A D | icmp_fragmented_payload.c | 244 pcb->inner_tcp_hdr->th_flags = tcp_in->th_flags; in icmp4_pcb_set_payload() 350 .th_flags = TH_FLAGS,
|
| /xnu-10063.141.1/bsd/netinet/ |
| H A D | tcpip.h | 97 #define ti_flags ti_t.th_flags
|
| H A D | tcp_debug.c | 213 flags = th->th_flags; 217 if (th->th_flags & TH_##f) { \
|
| H A D | tcp_cc.c | 156 (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 D | tcp_log.h | 182 if ((th) != NULL && ((th)->th_flags & (TH_SYN|TH_FIN|TH_RST))) \ 186 if ((th) != NULL && ((th->th_flags) & (TH_SYN|TH_FIN|TH_RST)) && \
|
| H A D | tcp.h | 106 unsigned char th_flags; member
|
| H A D | tcp_input.c | 807 flags = q->tqe_th->th_flags & TH_FIN; in tcp_reass() 815 if (q->tqe_th->th_flags & TH_PUSH) { in tcp_reass() 1335 (TCP_ECN_ENABLED(tp) && (th->th_flags & TH_ECE))) { in tcp_detect_bad_rexmt() 2104 (th->th_flags & TH_SYN) == 0) { in tcp_input() 2111 thflags = th->th_flags; in tcp_input() 2776 if (th->th_flags & TH_SYN) { in tcp_input() 2779 if (th->th_flags & TH_FIN) { in tcp_input() 2782 if (th->th_flags & TH_RST) { in tcp_input() 3255 if (th->th_flags & TH_PUSH) { in tcp_input() 4395 if (th->th_flags & TH_SYN) { in tcp_input() [all …]
|
| H A D | tcp_output.c | 2640 th->th_flags = (flags & (TH_FLAGS_ALL)); in tcp_output() 2675 th->th_flags |= TH_URG; in tcp_output() 2699 || tp->t_state == TCPS_LAST_ACK || (th->th_flags & TH_RST))) { in tcp_output() 3009 if (th->th_flags == TH_ACK && in tcp_output() 3014 if (th->th_flags & TH_SYN) { in tcp_output() 3027 if ((th->th_flags & TH_SYN) && tp->t_syn_sent < UINT8_MAX) { in tcp_output() 3030 if ((th->th_flags & TH_FIN) && tp->t_fin_sent < UINT8_MAX) { in tcp_output() 3033 if ((th->th_flags & TH_RST) && tp->t_rst_sent < UINT8_MAX) { in tcp_output()
|
| H A D | tcp_log.c | 689 thflags = th->th_flags; in tcp_log_pkt_addresses() 880 thflags = th->th_flags; in tcp_log_th_flags() 952 thflags = th->th_flags; in tcp_log_drop_pkt()
|
| H A D | mptcp_opt.c | 960 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpcapable_opt() 1037 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpjoin_opt() 1476 if (th->th_flags != TH_ACK) { in mptcp_do_fastclose_opt() 1532 if ((th->th_flags != TH_ACK) && (th->th_flags != TH_RST)) { in mptcp_do_mpfail_opt()
|
| H A D | tcp_ledbat.c | 544 (th->th_flags & TH_PUSH) == 0 && (tp->t_unacksegs == 1)) { in tcp_ledbat_delay_ack()
|
| H A D | ip_compat.h | 547 __u8 th_flags;
|
| H A D | tcp_subr.c | 697 tcp_hdr->th_flags = 0; in tcp_fillheaders() 870 nth->th_flags = flags; in tcp_respond() 3970 th->th_flags = TH_ACK; in tcp_make_keepalive_frame() 4455 if (th->th_flags & TH_ECE) { in tcp_get_ace() 4458 if (th->th_flags & TH_CWR) { in tcp_get_ace()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_agg.c | 138 .th_flags = ~TH_PUSH, 189 .th_flags = ~TH_PUSH, 1127 if ((stcp->th_flags & ~(TH_PUSH)) != (tcp->th_flags & ~(TH_PUSH))) { in can_agg_slowpath() 1129 DTRACE_SKYWALK2(aggr__fail10, uint8_t, stcp->th_flags, in can_agg_slowpath() 1130 uint8_t, tcp->th_flags); in can_agg_slowpath() 1364 (stcp->th_flags & TH_PUSH) == 0) { in flow_agg_merge_hdr() 1384 if ((stcp->th_flags & TH_PUSH) == 0 && in flow_agg_merge_hdr() 1385 (tcp->th_flags & TH_PUSH) != 0) { in flow_agg_merge_hdr() 1389 stcp->th_flags |= tcp->th_flags & TH_PUSH; in flow_agg_merge_hdr()
|
| H A D | flow_track.c | 830 th->th_flags = TH_RST; in flow_track_abort_tcp() 836 th->th_flags = TH_RST | TH_ACK; in flow_track_abort_tcp() 843 th->th_flags = rst_pkt->pkt_flow_tcp_flags; in flow_track_abort_tcp() 849 th->th_flags = TH_RST; in flow_track_abort_tcp()
|
| H A D | flow_classifier.c | 151 (offsetof(struct tcphdr, th_flags) - in flow_pkt_classify()
|
| /xnu-10063.141.1/bsd/net/ |
| H A D | pf.c | 2798 th->th_flags = flags; in pf_send_tcp() 5340 (r->flagset & th->th_flags) != r->flags) { in pf_test_rule() 5567 !(th->th_flags & TH_RST)) { in pf_test_rule() 5589 if (th->th_flags & TH_SYN) { in pf_test_rule() 5592 if (th->th_flags & TH_FIN) { in pf_test_rule() 5898 if ((th->th_flags & (TH_SYN | TH_ACK)) == in pf_test_rule() 5911 if (th->th_flags & TH_SYN) { in pf_test_rule() 5924 if (th->th_flags & TH_FIN) { in pf_test_rule() 6117 (th->th_flags & (TH_SYN | TH_ACK)) == TH_SYN && in pf_test_rule() 6277 dnflow.fwa_id.flags = pd->hdr.tcp->th_flags; in pf_test_dummynet() [all …]
|
| H A D | pf_norm.c | 2667 flags = th->th_flags; in pf_normalize_tcp() 2697 if (flags != th->th_flags || th->th_x2 != 0) { in pf_normalize_tcp() 2701 th->th_flags = flags; in pf_normalize_tcp() 2788 if ((th->th_flags & TH_SYN) == 0) { in pf_normalize_tcp_init() 3129 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful() 3137 } else if (!got_ts && (th->th_flags & TH_RST) == 0 && in pf_normalize_tcp_stateful() 3139 || pd->p_len > 0 || (th->th_flags & TH_SYN)) && in pf_normalize_tcp_stateful() 3179 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful() 3209 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
|
| H A D | if_ports_used.c | 1487 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf() 1626 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf() 1886 pkt_control_flags = tcp->th_flags; in if_ports_used_match_pkt()
|
| H A D | pf_osfp.c | 124 if ((tcp->th_flags & (TH_SYN | TH_ACK)) != TH_SYN) { in pf_osfp_fingerprint_hdr()
|
| H A D | if_bridge.c | 9810 state->tcp->th_flags &= ~(TH_FIN | TH_PUSH); 9831 state->tcp->th_flags &= ~TH_CWR;
|
| /xnu-10063.141.1/bsd/dev/dtrace/scripts/ |
| H A D | tcp.d | 136 tcp_flags = T->th_flags;
|
| /xnu-10063.141.1/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 378 state->tcp->th_flags &= ~(TH_FIN | TH_PUSH); in netif_gso_tcp_segment_mbuf() 385 state->tcp->th_flags &= ~TH_CWR; in netif_gso_tcp_segment_mbuf()
|
| /xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_dp.c | 3508 pkt->pkt_flow_tcp_flags = tcp->th_flags; in update_flow_info() 3641 tcp->th_flags &= ~(TH_FIN | TH_PUSH); in do_gso() 3644 tcp->th_flags &= ~TH_CWR; in do_gso() 3665 tcp->th_flags &= ~(TH_FIN | TH_PUSH); in do_gso() 3668 tcp->th_flags &= ~TH_CWR; in do_gso()
|
| /xnu-10063.141.1/bsd/netinet6/ |
| H A D | esp_output.c | 920 inner_payload_len, th.th_flags); in esp_output()
|