| /xnu-12377.61.12/bsd/netinet/ |
| H A D | tcp.h | 100 th_off:4; /* data offset */ member 103 unsigned int th_off:4, /* data offset */ member
|
| H A D | tcpip.h | 96 #define ti_off ti_t.th_off
|
| H A D | ip_compat.h | 542 __u8 th_off:4; 544 __u8 th_off:4;
|
| H A D | ip_icmp.c | 298 ((th->th_off << 2) > UINT16_MAX)) { in icmp_error() 301 tcphlen = (uint16_t)(th->th_off << 2); in icmp_error()
|
| H A D | tcp_output.c | 2971 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_output() 3594 if (pkt->m_pkthdr.len <= th_offset + (th->th_off << 2)) { in tcp_set_rto_deadline()
|
| H A D | tcp_subr.c | 856 tcp_hdr->th_off = 5; in tcp_fillheaders() 1075 nth->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_respond()
|
| H A D | tcp_input.c | 2917 off = th->th_off << 2; in tcp_input()
|
| /xnu-12377.61.12/bsd/net/ |
| H A D | pf_osfp.c | 96 (tcp->th_off << 2) < (int)sizeof(*tcp)) { in pf_osfp_fingerprint() 107 if (!pf_pull_hdr(pbuf, off, hdr, sizeof(hdr), tcp->th_off << 2, NULL, NULL, in pf_osfp_fingerprint() 124 int tcpopt_cnt = (tcp->th_off << 2) + sizeof(struct tcphdr); in pf_osfp_fingerprint_hdr()
|
| H A D | pf_norm.c | 2694 if (th->th_off < (sizeof(struct tcphdr) >> 2)) { in pf_normalize_tcp() 2796 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub && in pf_normalize_tcp_init() 2797 pf_pull_hdr(pbuf, off, hdr, sizeof(hdr), th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_init() 2799 int hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_init() 2895 if (th->th_off > (sizeof(struct tcphdr) >> 2) && in pf_normalize_tcp_stateful() 2898 pf_pull_hdr(pbuf, off, hdr, sizeof(hdr), th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_stateful() 2902 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_stateful() 2967 int optlen = (th->th_off << 2) - sizeof(*th); in pf_normalize_tcp_stateful() 3267 thoff = th->th_off << 2; in pf_normalize_tcpopt()
|
| H A D | if_ports_used.c | 1896 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 1899 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf() 2035 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 2038 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf()
|
| H A D | pf.c | 2598 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen; in pf_modulate_sack() 2781 th->th_off = tlen >> 2; in pf_send_tcp() 4238 pf_get_wscale(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_wscale() argument 4245 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_wscale() 4282 pf_get_mss(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_mss() argument 4289 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_mss() 5897 th->th_off, af); in pf_test_rule() 6121 mss = pf_get_mss(pbuf, off, th->th_off, af); in pf_test_rule() 6137 offx += th->th_off << 2; in pf_test_rule() 7228 th->th_off, pd->af); in pf_test_state_tcp() [all …]
|
| H A D | packet_mangler.c | 904 off = (tcp.th_off << 2); in pktmnglr_ipfilter_input()
|
| H A D | if_bridge.c | 5136 tcp_hlen = tcp->th_off << 2; 5315 hdr_len = info.ip_hlen + info.ip_opt_len + (tcp->th_off << 2); 10429 state->tcp_hlen = state->tcp->th_off << 2;
|
| H A D | bpf.c | 3784 trunc_len = (uint16_t)(tcphdr.th_off << 2); in get_tcp_trunc_len()
|
| /xnu-12377.61.12/bsd/dev/dtrace/scripts/ |
| H A D | tcp.d | 135 tcp_offset = T->th_off << 2;
|
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 340 l4hlen = (uint8_t)(tcph->th_off << 2); in flow_pkt_classify()
|
| H A D | flow_agg.c | 146 .th_off = 0xf, 197 .th_off = 0xf, 1152 uint16_t sl4hlen = (stcp->th_off << 2); in can_agg_slowpath() 1403 VERIFY(stcp->th_off << 2 == pkt->pkt_flow_tcp_hlen); in flow_agg_merge_hdr()
|
| H A D | flow_track.c | 857 th->th_off = (tlen >> 2); in flow_track_abort_tcp()
|
| /xnu-12377.61.12/bsd/netinet6/ |
| H A D | esp_output.c | 439 inner_payload_len = m->m_pkthdr.len - m->m_len - iphlen - (th.th_off << 2); in esp_output() 455 inner_payload_len = m->m_pkthdr.len - iphlen - (th.th_off << 2); in esp_output()
|
| H A D | esp_input.c | 199 proto_len = m->m_pkthdr.len - iphlen - (th.th_off << 2); in esp_input_log()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 607 state->tcp_hlen = (uint8_t)(state->tcp->th_off << 2); in netif_gso_ip_tcp_init_state()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule_inet.c | 275 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()
|
| /xnu-12377.61.12/tests/skywalk/ |
| H A D | skt_xfer.c | 495 ip_tcp->tcp.th_off, in ip_frame_dump() 559 ip_tcp->tcp.th_off = (sizeof(struct tcphdr)) >> 2; in tcp_frame_populate()
|
| H A D | skywalk_test_utils.c | 2474 tcp->th_off = (sizeof(struct tcphdr)) >> 2; in sktu_create_tcp_frames()
|