Searched refs:opts (Results 1 – 4 of 4) sorted by relevance
1546 u8_t *opts, opt; in tcp_parseopt() local1551 opts = (u8_t *)tcphdr + TCP_HLEN; in tcp_parseopt()1557 opt = opts[c]; in tcp_parseopt()1570 if (opts[c + 1] != 0x04 || c + 0x04 > max_c) { in tcp_parseopt()1576 mss = (opts[c + 2] << 8) | opts[c + 3]; in tcp_parseopt()1585 if (opts[c + 1] != 0x0A || c + 0x0A > max_c) { in tcp_parseopt()1591 tsval = (opts[c+2]) | (opts[c+3] << 8) | in tcp_parseopt()1592 (opts[c+4] << 16) | (opts[c+5] << 24); in tcp_parseopt()1605 if (opts[c + 1] == 0) { in tcp_parseopt()1613 c += opts[c + 1]; in tcp_parseopt()
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 21 milliseconds