gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:htonl from t2ex/bsd_source/t2ex/network/net/src_bsd/netinet/tcp_input.c (0.01 seconds)
t2ex
bsd_source/t2ex/network/net/src_bsd/netinet/tcp_input.c - 167.0KB - 4,503 lines
1171:                         optp[TCPOLEN_TSTAMP_APPA] == TCPOPT_EOL)) &&
1172:                      *(u_int32_t *)optp == htonl(TCPOPT_TSTAMP_HDR) &&
1173:                      (th->th_flags & TH_SYN) == 0) {
2887: */ 2888: sav = KEY_ALLOCSA(&dst, IPPROTO_TCP, htonl(TCP_SIG_SPI)); 2889: #else
2892: (void *)&ip->ip_dst, IPPROTO_TCP, 2893: htonl(TCP_SIG_SPI), 0, 0); 2894: else
2896: (void *)&ip6->ip6_dst, IPPROTO_TCP, 2897: htonl(TCP_SIG_SPI), 0, 0); 2898: #endif
4315: 4316: th->th_seq = htonl(sc->sc_iss); 4317: th->th_ack = htonl(sc->sc_irs + 1); 4318: th->th_off = (sizeof(struct tcphdr) + optlen) >> 2;
4331: if (sc->sc_request_r_scale != 15) { 4332: *((u_int32_t *)optp) = htonl(TCPOPT_NOP << 24 | 4333: TCPOPT_WINDOW << 16 | TCPOLEN_WINDOW << 8 |
4340: /* Form timestamp option as shown in appendix A of RFC 1323. */ 4341: *lp++ = htonl(TCPOPT_TSTAMP_HDR); 4342: *lp++ = htonl(SYN_CACHE_TIMESTAMP(sc)); 4343: *lp = htonl(sc->sc_timestamp); 4344: optp += TCPOLEN_TSTAMP_APPA;
4399: case AF_INET6: 4400: ip6->ip6_flow |= htonl(IPTOS_ECN_ECT0 << 20); 4401: break;