| /xnu-11215.81.4/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_subr.c | 713 tcp_hdr->th_off = 5; in tcp_fillheaders() 886 nth->th_off = sizeof(struct tcphdr) >> 2; in tcp_respond()
|
| H A D | tcp_output.c | 2739 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_output()
|
| H A D | tcp_input.c | 2180 off = th->th_off << 2; in tcp_input()
|
| /xnu-11215.81.4/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 | 2691 if (th->th_off < (sizeof(struct tcphdr) >> 2)) { in pf_normalize_tcp() 2793 if (th->th_off > (sizeof(struct tcphdr) >> 2) && src->scrub && in pf_normalize_tcp_init() 2794 pf_pull_hdr(pbuf, off, hdr, sizeof(hdr), th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_init() 2796 int hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_init() 2892 if (th->th_off > (sizeof(struct tcphdr) >> 2) && in pf_normalize_tcp_stateful() 2895 pf_pull_hdr(pbuf, off, hdr, sizeof(hdr), th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_stateful() 2899 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_stateful() 2964 int optlen = (th->th_off << 2) - sizeof(*th); in pf_normalize_tcp_stateful() 3264 thoff = th->th_off << 2; in pf_normalize_tcpopt()
|
| H A D | if_ports_used.c | 1561 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 1564 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf() 1700 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 1703 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf()
|
| H A D | pf.c | 2595 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen; in pf_modulate_sack() 2778 th->th_off = tlen >> 2; in pf_send_tcp() 4235 pf_get_wscale(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_wscale() argument 4242 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_wscale() 4279 pf_get_mss(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_mss() argument 4286 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_mss() 5894 th->th_off, af); in pf_test_rule() 6118 mss = pf_get_mss(pbuf, off, th->th_off, af); in pf_test_rule() 6134 offx += th->th_off << 2; in pf_test_rule() 7225 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 | 4965 tcp_hlen = tcp->th_off << 2; 5217 - (tcp->th_off << 2) - if_bridge_tso_reduce_mss_tx; 10971 state->tcp_hlen = state->tcp->th_off << 2;
|
| H A D | bpf.c | 3757 trunc_len = (uint16_t)(tcphdr.th_off << 2); in get_tcp_trunc_len()
|
| /xnu-11215.81.4/bsd/dev/dtrace/scripts/ |
| H A D | tcp.d | 135 tcp_offset = T->th_off << 2;
|
| /xnu-11215.81.4/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 | 852 th->th_off = (tlen >> 2); in flow_track_abort_tcp()
|
| /xnu-11215.81.4/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-11215.81.4/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 608 state->tcp_hlen = (uint8_t)(state->tcp->th_off << 2); in netif_gso_ip_tcp_init_state()
|
| /xnu-11215.81.4/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 457 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()
|
| /xnu-11215.81.4/tests/skywalk/ |
| H A D | skt_xfer.c | 494 ip_tcp->tcp.th_off, in ip_frame_dump() 558 ip_tcp->tcp.th_off = (sizeof(struct tcphdr)) >> 2; in tcp_frame_populate()
|
| H A D | skywalk_test_utils.c | 2495 tcp->th_off = (sizeof(struct tcphdr)) >> 2; in sktu_create_tcp_frames()
|