Searched refs:opsize (Results 1 – 8 of 8) sorted by relevance
| /linux/net/mptcp/ |
| H A D | options.c | 24 const unsigned char *ptr, int opsize, in mptcp_parse_option() argument 71 if (opsize != expected_opsize && in mptcp_parse_option() 73 opsize != TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM)) in mptcp_parse_option() 78 if (opsize != TCPOLEN_MPTCP_MPC_SYN) { in mptcp_parse_option() 97 opsize < TCPOLEN_MPTCP_MPC_ACK_DATA) in mptcp_parse_option() 103 if (opsize >= TCPOLEN_MPTCP_MPC_SYNACK) { in mptcp_parse_option() 107 if (opsize >= TCPOLEN_MPTCP_MPC_ACK) { in mptcp_parse_option() 111 if (opsize >= TCPOLEN_MPTCP_MPC_ACK_DATA) { in mptcp_parse_option() 123 if (opsize == TCPOLEN_MPTCP_MPC_ACK_DATA_CSUM) { in mptcp_parse_option() 129 version, flags, opsize, in mptcp_parse_option() 441 int opsize; mptcp_get_options() local [all...] |
| /linux/arch/s390/kernel/ |
| H A D | dis.c | 510 int start, end, opsize, hops, i; in show_code() local 551 opsize = insn_length(code[start]); in show_code() 564 if (start + opsize >= end) in show_code() 566 for (i = 0; i < opsize; i++) in show_code() 568 ptr += sprintf(ptr, "%*s", 13 - 2 * opsize, " "); in show_code() 570 start += opsize; in show_code() 579 int opsize, i; in print_fn_code() local 583 opsize = insn_length(*code); in print_fn_code() 584 if (opsize > len) in print_fn_code() 587 for (i = 0; i < opsize; i++) in print_fn_code() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tcp_custom_syncookie.c | 222 __u8 *opcode, *opsize, *wscale; in tcp_parse_option() local 238 opsize = next(ctx, 1); in tcp_parse_option() 239 if (!opsize) in tcp_parse_option() 242 if (*opsize < 2) in tcp_parse_option() 248 if (*opsize == TCPOLEN_MSS && ctx->tcp->syn && mss) in tcp_parse_option() 253 if (*opsize == TCPOLEN_WINDOW && ctx->tcp->syn && wscale) { in tcp_parse_option() 261 if (*opsize == TCPOLEN_TIMESTAMP && tsval && tsecr) { in tcp_parse_option() 272 if (*opsize == TCPOLEN_SACK_PERM && ctx->tcp->syn) in tcp_parse_option() 277 ctx->off = off + *opsize; in tcp_parse_option()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_tcp.c | 355 int opsize; in tcp_options() local 366 opsize=*ptr++; in tcp_options() 367 if (opsize < 2) /* "silly options" */ in tcp_options() 369 if (opsize > length) in tcp_options() 373 && opsize == TCPOLEN_SACK_PERM) in tcp_options() 376 && opsize == TCPOLEN_WINDOW) { in tcp_options() 385 ptr += opsize - 2; in tcp_options() 386 length -= opsize; in tcp_options() 417 int opsize, i; in tcp_sack() local 428 opsize = *ptr++; in tcp_sack() [all …]
|
| /linux/net/sched/ |
| H A D | sch_cake.c | 1031 int opsize; in cake_get_tcpopt() 1041 opsize = *ptr++; in cake_get_tcpopt() 1042 if (opsize < 2 || opsize > length) in cake_get_tcpopt() 1046 *oplen = opsize; in cake_get_tcpopt() 1050 ptr += opsize - 2; in cake_get_tcpopt() 1051 length -= opsize; in cake_get_tcpopt() 1138 int opsize; in cake_tcph_get_tstamp() 1140 ptr = cake_get_tcpopt(tcph, TCPOPT_TIMESTAMP, &opsize); in cake_tcph_get_tstamp() 1142 if (ptr && opsize in cake_tcph_get_tstamp() 1028 int opsize; cake_get_tcpopt() local 1135 int opsize; cake_tcph_get_tstamp() local 1167 int opsize; cake_tcph_may_drop() local [all...] |
| /linux/net/ipv4/ |
| H A D | tcp_input.c | 4545 int opsize) in tcp_parse_mss_option() 4549 if (th->syn && !(opsize & 1) && in tcp_parse_mss_option() 4550 opsize >= TCPOLEN_EXP_SMC_BASE && in tcp_parse_mss_option() 4571 int opsize; in tcp_parse_options() 4582 opsize = *ptr++; in tcp_parse_options() 4583 if (opsize < 2) /* "silly options" */ in tcp_parse_options() 4585 if (opsize > length) in tcp_parse_options() 4587 if (opcode == TCPOPT_MSS && opsize == TCPOLEN_MSS) { in tcp_parse_options() local 4596 ptr += opsize - 2; in tcp_parse_options() 4597 length -= opsize; in tcp_parse_options() 4509 smc_parse_options(const struct tcphdr * th,struct tcp_options_received * opt_rx,const unsigned char * ptr,int opsize) smc_parse_options() argument 4535 int opsize; tcp_parse_mss_option() local [all...] |
| H A D | tcp.c | 5003 int opsize; in tcp_do_parse_auth_options() 5012 opsize = *ptr++; in tcp_do_parse_auth_options() 5013 if (opsize < 2 || opsize > length) in tcp_do_parse_auth_options() 5016 if (opsize != TCPOLEN_MD5SIG) in tcp_do_parse_auth_options() 5022 if (opsize <= sizeof(struct tcp_ao_hdr)) 5029 ptr += opsize - 2; in tcp_inbound_hash() 5030 length -= opsize; in tcp_inbound_hash() 4990 int opsize; tcp_do_parse_auth_options() local
|
| /linux/arch/m68k/ifpsp060/src/ |
| H A D | pfpsp.S | 3925 cmpi.b %d0,&0xc # is opsize ext or packed?
|