Home
last modified time | relevance | path

Searched refs:tcpopt_ptr (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.41.6/bsd/net/
H A Dpf_osfp.c123 uint8_t const *tcpopt_ptr = tcphdr + sizeof(struct tcphdr); in pf_osfp_fingerprint_hdr() local
159 for (; tcpopt_cnt > 0; tcpopt_cnt -= optlen, tcpopt_ptr += optlen) { in pf_osfp_fingerprint_hdr()
160 if (*tcpopt_ptr == TCPOPT_EOL) { in pf_osfp_fingerprint_hdr()
165 if (*tcpopt_ptr == TCPOPT_NOP) { in pf_osfp_fingerprint_hdr()
173 optlen = tcpopt_ptr[1]; in pf_osfp_fingerprint_hdr()
177 switch (*tcpopt_ptr) { in pf_osfp_fingerprint_hdr()
180 memcpy(&fp.fp_mss, &tcpopt_ptr[2], in pf_osfp_fingerprint_hdr()
191 memcpy(&fp.fp_wscale, &tcpopt_ptr[2], in pf_osfp_fingerprint_hdr()
205 memcpy(&ts, &tcpopt_ptr[2], sizeof(ts)); in pf_osfp_fingerprint_hdr()