Home
last modified time | relevance | path

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

12

/xnu-12377.61.12/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-12377.61.12/bsd/netinet/
H A Dtcpip.h97 #define ti_flags ti_t.th_flags
H A Dtcp_log.h224 if ((th) != NULL && ((th)->th_flags & (TH_SYN|TH_FIN|TH_RST))) \
228 if ((th) != NULL && ((th->th_flags) & (TH_SYN|TH_FIN|TH_RST)) && \
H A Dtcp.h106 unsigned char th_flags; member
H A Dtcp_cc.c148 (th->th_flags & TH_PUSH) == 0 && in tcp_cc_delay_ack()
H A Dtcp_input.c781 uint8_t psh = q->tqe_th->th_flags & TH_PUSH; in tcp_reass()
785 flags = q->tqe_th->th_flags & TH_FIN; in tcp_reass()
1246 (TCP_ECN_ENABLED(tp) && (th->th_flags & TH_ECE))) { in tcp_detect_bad_rexmt()
2312 if (tcp_can_send_syncookie(so, otp, th->th_flags)) { in tcp_create_server_socket()
2337 if (tcp_can_send_syncookie(so, otp, th->th_flags)) { in tcp_create_server_socket()
2718 int ace_flags = ((tpi->th->th_x2 << 8) | tpi->th->th_flags) & TH_ACE; in tcp_setup_server_socket()
2954 (th->th_flags & TH_SYN) == 0) { in tcp_input()
2962 thflags = th->th_flags; in tcp_input()
3486 if (th->th_flags & TH_SYN) { in tcp_input()
3489 if (th->th_flags & TH_FIN) { in tcp_input()
[all …]
H A Dtcp_output.c3008 th->th_flags |= TH_URG; in tcp_output()
3032 || tp->t_state == TCPS_LAST_ACK || (th->th_flags & TH_RST))) { in tcp_output()
3292 if (th->th_flags == TH_ACK && in tcp_output()
3297 if (th->th_flags & TH_SYN) { in tcp_output()
3345 if ((th->th_flags & TH_SYN) != 0) { in tcp_output()
3351 if ((th->th_flags & TH_FIN) != 0) { in tcp_output()
3357 if ((th->th_flags & TH_RST) != 0) { in tcp_output()
3366 if (__improbable((th->th_flags & TH_RST) != 0 && inp->inp_sndinprog_cnt == 0 && in tcp_output()
3375 (len != 0 || (th->th_flags & TH_FIN) != 0)) { in tcp_output()
3601 if ((th->th_flags & (TH_SYN | TH_RST | TH_FIN)) != 0) { in tcp_set_rto_deadline()
H A Dmptcp_opt.c940 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpcapable_opt()
1009 if ((th->th_flags & (TH_SYN | TH_ACK)) != (TH_SYN | TH_ACK)) { in mptcp_do_mpjoin_opt()
1484 if (th->th_flags != TH_ACK) { in mptcp_do_fastclose_opt()
1542 if ((th->th_flags != TH_ACK) && (th->th_flags != TH_RST)) { in mptcp_do_mpfail_opt()
H A Dtcp_log.c694 thflags = th->th_flags; in tcp_log_pkt_addresses()
895 thflags = th->th_flags; in tcp_log_th_flags()
967 thflags = th->th_flags; in tcp_log_drop_pkt()
H A Dtcp_var.h166 return (uint16_t)((th->th_x2 << 8) | th->th_flags); in tcp_get_flags()
173 th->th_flags = flags & 0xff; in tcp_set_flags()
932 tcp_can_send_syncookie(const struct socket *head, const struct tcpcb *tp, const uint8_t th_flags) in tcp_can_send_syncookie() argument
938 can_send_syncookie &= ((th_flags & (TH_RST | TH_ACK | TH_SYN)) == TH_SYN); in tcp_can_send_syncookie()
H A Dtcp_syncookie.c291 int ace_flags = ((tpi->th->th_x2 << 8) | tpi->th->th_flags) & TH_ACE; in tcp_syncookie_syn()
H A Dip_compat.h547 __u8 th_flags;
H A Dtcp_subr.c351 if (tcp_rst_rlc_enable == 0 || (th->th_flags & TH_RST) == 0) { in tcp_rst_rlc_compress()
857 tcp_hdr->th_flags = 0; in tcp_fillheaders()
4944 th->th_flags = TH_ACK; in tcp_make_keepalive_frame()
5435 if (th->th_flags & TH_ECE) { in tcp_get_ace()
5438 if (th->th_flags & TH_CWR) { in tcp_get_ace()
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_agg.c147 .th_flags = ~TH_PUSH,
198 .th_flags = ~TH_PUSH,
1162 if ((stcp->th_flags & ~(TH_PUSH)) != (tcp->th_flags & ~(TH_PUSH))) { in can_agg_slowpath()
1164 DTRACE_SKYWALK2(aggr__fail10, uint8_t, stcp->th_flags, in can_agg_slowpath()
1165 uint8_t, tcp->th_flags); in can_agg_slowpath()
1402 (stcp->th_flags & TH_PUSH) == 0) { in flow_agg_merge_hdr()
1422 if ((stcp->th_flags & TH_PUSH) == 0 && in flow_agg_merge_hdr()
1423 (tcp->th_flags & TH_PUSH) != 0) { in flow_agg_merge_hdr()
1436 stcp->th_flags |= tcp->th_flags & TH_PUSH; in flow_agg_merge_hdr()
H A Dflow_track.c836 th->th_flags = TH_RST; in flow_track_abort_tcp()
842 th->th_flags = TH_RST | TH_ACK; in flow_track_abort_tcp()
849 th->th_flags = rst_pkt->pkt_flow_tcp_flags; in flow_track_abort_tcp()
855 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-12377.61.12/bsd/net/
H A Dpf.c2782 th->th_flags = flags; in pf_send_tcp()
5324 (r->flagset & th->th_flags) != r->flags) { in pf_test_rule()
5550 !(th->th_flags & TH_RST)) { in pf_test_rule()
5572 if (th->th_flags & TH_SYN) { in pf_test_rule()
5575 if (th->th_flags & TH_FIN) { in pf_test_rule()
5881 if ((th->th_flags & (TH_SYN | TH_ACK)) == in pf_test_rule()
5894 if (th->th_flags & TH_SYN) { in pf_test_rule()
5907 if (th->th_flags & TH_FIN) { in pf_test_rule()
6100 (th->th_flags & (TH_SYN | TH_ACK)) == TH_SYN && in pf_test_rule()
6260 dnflow.fwa_id.flags = pf_pd_get_hdr_tcp(pd)->th_flags; in pf_test_dummynet()
[all …]
H A Dpf_norm.c2669 flags = th->th_flags; in pf_normalize_tcp()
2699 if (flags != th->th_flags || th->th_x2 != 0) { in pf_normalize_tcp()
2705 th->th_flags = flags; in pf_normalize_tcp()
2791 if ((th->th_flags & TH_SYN) == 0) { in pf_normalize_tcp_init()
3131 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
3139 } else if (!got_ts && (th->th_flags & TH_RST) == 0 && in pf_normalize_tcp_stateful()
3141 || pd->p_len > 0 || (th->th_flags & TH_SYN)) && in pf_normalize_tcp_stateful()
3181 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
3211 pf_print_flags(th->th_flags); in pf_normalize_tcp_stateful()
H A Dpf_osfp.c127 if ((tcp->th_flags & (TH_SYN | TH_ACK)) != TH_SYN) { in pf_osfp_fingerprint_hdr()
H A Dif_ports_used.c1901 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf()
2040 pkt_control_flags = th.th_flags; in if_ports_used_match_mbuf()
2296 pkt_control_flags = tcp->th_flags; in if_ports_used_match_pkt()
/xnu-12377.61.12/bsd/dev/dtrace/scripts/
H A Dtcp.d136 tcp_flags = T->th_flags;
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif_gso.c379 state->tcp->th_flags &= ~(TH_FIN | TH_PUSH); in netif_gso_tcp_segment_mbuf()
386 state->tcp->th_flags &= ~TH_CWR; in netif_gso_tcp_segment_mbuf()
/xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/
H A Dfsw_dp.c3742 pkt->pkt_flow_tcp_flags = tcp->th_flags; in update_flow_info()
3888 tcp->th_flags &= ~(TH_FIN | TH_PUSH); in do_gso()
3891 tcp->th_flags &= ~TH_CWR; in do_gso()
3913 tcp->th_flags &= ~(TH_FIN | TH_PUSH); in do_gso()
3916 tcp->th_flags &= ~TH_CWR; in do_gso()
/xnu-12377.61.12/bsd/netinet6/
H A Desp_output.c920 inner_payload_len, th.th_flags); in esp_output()
/xnu-12377.61.12/tests/skywalk/
H A Dskt_xfer.c496 ip_tcp->tcp.th_flags, in ip_frame_dump()
558 ip_tcp->tcp.th_flags |= (connect ? TH_SYN : TH_RST); in tcp_frame_populate()

12