| /xnu-10002.1.13/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 | 295 ((th->th_off << 2) > UINT16_MAX)) { in icmp_error() 298 tcphlen = (uint16_t)(th->th_off << 2); in icmp_error()
|
| H A D | tcp_subr.c | 692 tcp_hdr->th_off = 5; in tcp_fillheaders() 865 nth->th_off = sizeof(struct tcphdr) >> 2; in tcp_respond()
|
| H A D | tcp_output.c | 2595 th->th_off = (sizeof(struct tcphdr) + optlen) >> 2; in tcp_output()
|
| H A D | tcp_input.c | 2120 off = th->th_off << 2; in tcp_input()
|
| /xnu-10002.1.13/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, tcp->th_off << 2, NULL, NULL, in pf_osfp_fingerprint() 157 cnt = (tcp->th_off << 2) - sizeof(*tcp); in pf_osfp_fingerprint_hdr()
|
| H A D | pf_norm.c | 2692 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, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_init() 2798 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_init() 2893 if (th->th_off > (sizeof(struct tcphdr) >> 2) && in pf_normalize_tcp_stateful() 2896 pf_pull_hdr(pbuf, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) { in pf_normalize_tcp_stateful() 2900 hlen = (th->th_off << 2) - sizeof(struct tcphdr); in pf_normalize_tcp_stateful() 2965 int optlen = (th->th_off << 2) - sizeof(*th); in pf_normalize_tcp_stateful() 3265 thoff = th->th_off << 2; in pf_normalize_tcpopt()
|
| H A D | if_ports_used.c | 1439 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 1442 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf() 1578 pkt_data_len < (th.th_off << 2)) { in if_ports_used_match_mbuf() 1581 pkt_data_len -= th.th_off << 2; in if_ports_used_match_mbuf()
|
| H A D | pf.c | 2614 int hlen = (th->th_off << 2) - sizeof(*th), thoptlen = hlen; in pf_modulate_sack() 2797 th->th_off = tlen >> 2; in pf_send_tcp() 4254 pf_get_wscale(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_wscale() argument 4261 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_wscale() 4298 pf_get_mss(pbuf_t *pbuf, int off, u_int16_t th_off, sa_family_t af) in pf_get_mss() argument 4305 hlen = th_off << 2; /* hlen <= sizeof (hdr) */ in pf_get_mss() 5914 th->th_off, af); in pf_test_rule() 6138 mss = pf_get_mss(pbuf, off, th->th_off, af); in pf_test_rule() 6154 offx += th->th_off << 2; in pf_test_rule() 7245 th->th_off, pd->af); in pf_test_state_tcp() [all …]
|
| H A D | packet_mangler.c | 902 off = (tcp.th_off << 2); in pktmnglr_ipfilter_input()
|
| H A D | if_bridge.c | 4860 tcp_hlen = tcp->th_off << 2; 5073 - (tcp->th_off << 2) - if_bridge_tso_reduce_mss_tx; 9695 state->tcp_hlen = state->tcp->th_off << 2;
|
| H A D | bpf.c | 3435 trunc_len = (uint16_t)(tcphdr.th_off << 2); in get_tcp_trunc_len()
|
| /xnu-10002.1.13/bsd/dev/dtrace/scripts/ |
| H A D | tcp.d | 135 tcp_offset = T->th_off << 2;
|
| /xnu-10002.1.13/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_classifier.c | 316 l4hlen = (uint8_t)(tcph->th_off << 2); in flow_pkt_classify()
|
| H A D | flow_agg.c | 137 .th_off = 0xf, 188 .th_off = 0xf, 1117 uint16_t sl4hlen = (stcp->th_off << 2); in can_agg_slowpath() 1365 VERIFY(stcp->th_off << 2 == pkt->pkt_flow_tcp_hlen); in flow_agg_merge_hdr()
|
| H A D | flow_track.c | 837 th->th_off = (tlen >> 2); in flow_track_abort_tcp()
|
| /xnu-10002.1.13/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-10002.1.13/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_gso.c | 592 state->tcp_hlen = (uint8_t)(state->tcp->th_off << 2); in netif_gso_ip_tcp_init_state()
|
| /xnu-10002.1.13/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 452 l4hlen = (uint8_t)(tcph->th_off << 2); in fill_inet_td()
|