Home
last modified time | relevance | path

Searched refs:syn (Results 1 – 25 of 79) sorted by relevance

1234

/linux/arch/mips/dec/
H A Decc-berr.c57 u16 syn = 0, sngl; in dec_ecc_be_backend() local
117 syn = chksyn; /* Low bank. */ in dec_ecc_be_backend()
119 syn = chksyn >> 16; /* High bank. */ in dec_ecc_be_backend()
121 if (!(syn & KN0X_ESR_VLDLO)) { in dec_ecc_be_backend()
127 sngl = syn & KN0X_ESR_SNGLO; in dec_ecc_be_backend()
128 syn &= KN0X_ESR_SYNLO; in dec_ecc_be_backend()
135 if (syn == data_mbit[i]) in dec_ecc_be_backend()
156 if (syn && syn == (syn & -syn)) { in dec_ecc_be_backend()
157 if (syn == 0x01) { in dec_ecc_be_backend()
167 i = syn >> 2; in dec_ecc_be_backend()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dcgroup_tcp_skb.c51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept()
65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept()
71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept()
87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect()
100 if (tcph->fin || !tcph->syn || !tcph->ack) in ingress_connect()
117 if (tcph->fin || tcph->syn || !tcph->ack) in egress_close_remote()
143 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_close_remote()
164 if (tcph->fin || tcph->syn || !tcph->ack) in egress_close_local()
182 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_close_local()
188 if (!tcph->fin || tcph->syn || !tcph->ack) in ingress_close_local()
H A Dtest_tcp_custom_syncookie.c248 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()
265 if (ctx->tcp->syn && ctx->attrs.rcv_tsecr) in tcp_parse_option()
272 if (*opsize == TCPOLEN_SACK_PERM && ctx->tcp->syn) in tcp_parse_option()
577 if (ctx.tcp->syn) { in tcp_custom_syncookie()
H A Dtest_migrate_reuseport.c90 if (!tcp->syn && tcp->ack) in drop_ack()
/linux/rust/syn/
H A DREADME.md1 # `syn`
3 These source files come from the Rust `syn` crate, version 2.0.106
4 (released 2025-08-16), hosted in the <https://github.com/dtolnay/syn>
11 https://github.com/dtolnay/syn/blob/2.0.106/README.md#license
12 https://github.com/dtolnay/syn/blob/2.0.106/LICENSE-APACHE
13 https://github.com/dtolnay/syn/blob/2.0.106/LICENSE-MIT
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dftrace-tcp.c39 int syn; member
60 int fin, int syn, int rst, int psh, int ack, in __trace_event_expect() argument
72 .syn = syn, in __trace_event_expect()
126 syn:1, member
168 if (p->syn >= 0 && p->syn != e->syn) in lookup_expected_event()
293 char fin, syn, rst, psh, ack; in tracer_scan_event() local
306 &fin, &syn, &rst, &psh, &ack); in tracer_scan_event()
320 &fin, &syn, &rst, &psh, &ack, in tracer_scan_event()
364 out->syn = (syn == 'S'); in tracer_scan_event()
370 (syn != 'S' && syn != ' ') || in tracer_scan_event()
[all …]
H A Daolib.h767 int fin, int syn, int rst, int psh, int ack,
773 int fin, int syn, int rst, int psh, int ack) in trace_hash_event_expect() argument
779 fin, syn, rst, psh, ack, in trace_hash_event_expect()
788 int fin, int syn, int rst, int psh, int ack, in trace_ao_event_expect() argument
795 fin, syn, rst, psh, ack, in trace_ao_event_expect()
/linux/lib/reed_solomon/
H A Ddecode_rs.c33 uint16_t *syn = rsc->buffers + RS_DECODE_SYN * (nroots + 1); variable
62 syn[i] = (((uint16_t) data[0]) ^ invmsk) & msk;
66 if (syn[i] == 0) {
67 syn[i] = (((uint16_t) data[j]) ^
70 syn[i] = ((((uint16_t) data[j]) ^
72 alpha_to[rs_modnn(rs, index_of[syn[i]] +
80 if (syn[i] == 0) {
81 syn[i] = ((uint16_t) par[j]) & msk;
83 syn[i] = (((uint16_t) par[j]) & msk) ^
84 alpha_to[rs_modnn(rs, index_of[syn[i]] +
[all …]
H A Dtest_rslib.c230 int len, uint16_t *syn) in compute_syndrome() argument
242 syn[i] = data[0]; in compute_syndrome()
244 if (syn[i] == 0) { in compute_syndrome()
245 syn[i] = data[j]; in compute_syndrome()
247 syn[i] = data[j] ^ in compute_syndrome()
248 alpha_to[rs_modnn(rs, index_of[syn[i]] in compute_syndrome()
256 syn[i] = rs->index_of[syn[i]]; in compute_syndrome()
/linux/rust/
H A DMakefile105 syn-cfgs := \
114 syn-flags := \
118 $(call cfgs-to-flags,$(syn-cfgs))
126 --extern syn \
201 rustdoc-syn: private rustdoc_host = yes
202 rustdoc-syn: private rustc_target_flags = $(syn-flags)
203 rustdoc-syn: $(src)/syn/lib.rs rustdoc-clean rustdoc-quote FORCE
208 --extern proc_macro --extern proc_macro2 --extern quote --extern syn
[all...]
/linux/lib/
H A Dbch.c371 unsigned int *syn) in compute_syndromes() argument
384 memset(syn, 0, 2*t*sizeof(*syn)); in compute_syndromes()
393 syn[j] ^= a_pow(bch, (j+1)*(i+s)); in compute_syndromes()
401 syn[2*j+1] = gf_sqr(bch, syn[j]); in compute_syndromes()
410 const unsigned int *syn) in compute_error_locator_polynomial() argument
414 unsigned int i, j, tmp, l, pd = 1, d = syn[0]; in compute_error_locator_polynomial()
452 d = syn[2*i+2]; in compute_error_locator_polynomial()
454 d ^= gf_mul(bch, elp->c[j], syn[2*i+2-j]); in compute_error_locator_polynomial()
941 unsigned int i, j, syn, syn0, count = 0; in chien_search() local
951 for (j = 1, syn = syn0; j <= p->deg; j++) { in chien_search()
[all …]
/linux/include/linux/
H A Dbch.h51 unsigned int *syn; member
68 const unsigned int *syn, unsigned int *errloc);
/linux/net/ipv4/
H A Dtcp_fastopen.c206 struct sk_buff *syn, in __tcp_fastopen_cookie_gen_cipher() argument
213 const struct iphdr *iph = ip_hdr(syn); in __tcp_fastopen_cookie_gen_cipher()
224 const struct ipv6hdr *ip6h = ipv6_hdr(syn); in __tcp_fastopen_cookie_gen_cipher()
242 struct sk_buff *syn, in tcp_fastopen_cookie_gen() argument
250 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[0], foc); in tcp_fastopen_cookie_gen()
300 struct sk_buff *syn, in tcp_fastopen_cookie_gen_check() argument
314 __tcp_fastopen_cookie_gen_cipher(req, syn, &ctx->key[i], foc); in tcp_fastopen_cookie_gen_check()
/linux/net/ipv4/netfilter/
H A Dipt_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg4()
51 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg4()
/linux/net/ipv6/netfilter/
H A Dip6t_SYNPROXY.c31 if (th->syn && !(th->ack || th->fin || th->rst)) { in synproxy_tg6()
52 } else if (th->ack && !(th->fin || th->rst || th->syn)) { in synproxy_tg6()
/linux/Documentation/core-api/
H A Dlibrs.rst125 uint16_t par[6], syn[6];
135 numerr = decode_rs8 (rs_decoder, data8, par, 512, syn, 0, NULL, 0, NULL);
147 uint16_t par[6], syn[6], corr[8];
157 numerr = decode_rs8 (rs_decoder, NULL, NULL, 512, syn, 0, errpos, 0, corr);
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_synproxy.sh66 meta iif veth0 tcp flags syn counter notrack
79 tcp flags syn counter drop
/linux/include/trace/events/
H A Dtcp.h539 __field(bool, syn)
564 __entry->syn = th->syn;
577 __entry->syn ? 'S' : ' ',
636 __field(bool, syn)
665 __entry->syn = th->syn;
682 __entry->syn ? 'S' : ' ',
/linux/tools/testing/selftests/net/netfilter/packetdrill/
H A Dconntrack_synack_old.pkt1 // Check conntrack copes with syn/ack reply for a previous, old incarnation.
29 // syn retransmitted
H A Dcommon.sh33 $xtables -A INPUT -m conntrack --ctstate NEW -p tcp --syn
/linux/tools/include/uapi/linux/
H A Dtcp.h34 syn:1, member
50 syn:1, member
/linux/drivers/edac/
H A Docteon_edac-l2c.c73 err_tdtx.s.type, err_tdtx.s.syn, err_tdtx.s.wayidx); in _octeon_l2c_poll_oct2()
108 err_ttgx.s.type, err_ttgx.s.syn, err_ttgx.s.wayidx); in _octeon_l2c_poll_oct2()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-l2c-defs.h82 __BITFIELD_FIELD(uint64_t syn:10,
98 __BITFIELD_FIELD(uint64_t syn:6,
H A Dcvmx-pow-defs.h325 uint64_t syn:5; member
335 uint64_t syn:5;
352 uint64_t syn:5; member
362 uint64_t syn:5;
/linux/net/netfilter/
H A Dnf_synproxy_core.c679 if (!th->syn || th->ack || in ipv4_synproxy_hook()
695 if (!th->syn && th->ack && in ipv4_synproxy_hook()
718 if (!th->syn || !th->ack) in ipv4_synproxy_hook()
1102 if (!th->syn || th->ack || in ipv6_synproxy_hook()
1118 if (!th->syn && th->ack && in ipv6_synproxy_hook()
1141 if (!th->syn || !th->ack) in ipv6_synproxy_hook()

1234