Home
last modified time | relevance | path

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

123

/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()
H A Dtest_tcpbpf_kern.c113 v = thdr->syn; in bpf_testcb()
H A Dfexit_bpf2bpf.c173 tcp->syn = 0; in new_test_pkt_write_access_subprog()
/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/rust/pin-init/internal/src/
H A Dinit.rs5 use syn::{
97 syn::parse_str(default_error).unwrap()
401 fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
428 .then(|| Ok::<_, syn::Error>((content.parse()?, content.parse()?)))
432 .then(|| Ok::<_, syn::Error>((input.parse()?, input.parse()?)))
441 Err(syn::Error::new_spanned(a, "unknown initializer attribute"))
458 fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
464 fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
474 fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
484 fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result<Self> {
/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 DMakefile106 syn-cfgs := \
115 syn-flags := \
119 $(call cfgs-to-flags,$(syn-cfgs))
127 --extern syn \
197 rustdoc-syn: private rustdoc_host = yes
198 rustdoc-syn: private rustc_target_flags = $(syn-flags)
199 rustdoc-syn: $(src)/syn/lib.rs rustdoc-clean rustdoc-quote FORCE
204 --extern proc_macro --extern proc_macro2 --extern quote --extern syn
206 rustdoc-quote rustdoc-syn FORCE
229 rustdoc-clean rustdoc-proc_macro2 rustdoc-quote rustdoc-syn FORCE
/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/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/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/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/drivers/infiniband/sw/rxe/
H A Drxe_hdr.h800 static inline void __aeth_set_syn(void *arg, u8 syn) in __aeth_set_syn() argument
805 aeth->smsn = cpu_to_be32((AETH_SYN_MASK & (syn << 24)) | in __aeth_set_syn()
831 static inline void aeth_set_syn(struct rxe_pkt_info *pkt, u8 syn) in aeth_set_syn() argument
834 rxe_opcode[pkt->opcode].offset[RXE_AETH], syn); in aeth_set_syn()

123