Searched refs:opts (Results 1 – 4 of 4) sorted by relevance
1554 u8_t *opts, opt; local1559 opts = (u8_t *)tcphdr + TCP_HLEN;1565 opt = opts[c];1578 if (opts[c + 1] != 0x04 || c + 0x04 > max_c) {1584 mss = (opts[c + 2] << 8) | opts[c + 3];1593 if (opts[c + 1] != 0x0A || c + 0x0A > max_c) {1599 tsval = (opts[c+2]) | (opts[c+3] << 8) | 1600 (opts[c+4] << 16) | (opts[c+5] << 24);1613 if (opts[c + 1] == 0) {1621 c += opts[c + 1];
828 tcp_build_timestamp_option(struct tcp_pcb *pcb, u32_t *opts) in tcp_build_timestamp_option() argument831 opts[0] = PP_HTONL(0x0101080A); in tcp_build_timestamp_option()832 opts[1] = htonl(sys_now()); in tcp_build_timestamp_option()833 opts[2] = htonl(pcb->ts_recent); in tcp_build_timestamp_option()1053 u32_t *opts; in tcp_output_segment() local1069 opts = (u32_t *)(void *)(seg->tcphdr + 1); in tcp_output_segment()1077 *opts = TCP_BUILD_MSS_OPTION(mss); in tcp_output_segment()1078 opts += 1; in tcp_output_segment()1084 tcp_build_timestamp_option(pcb, opts); in tcp_output_segment()1085 opts += 3; in tcp_output_segment()
1258 …lient, char *server, char *secret, struct wordlist **addrs, struct wordlist **opts, char *filename)
5027 int opts, in ialloc() argument5059 if (opts & 0x1) { /* all-same-size */ in ialloc()5091 if (opts & 0x2) { /* optionally clear the elements */ in ialloc()
Completed in 23 milliseconds