Home
last modified time | relevance | path

Searched refs:wscale (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/netbsd-tests/ipf/input/
H A Dni191 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,…
8 # 10.1.1.4.shell > 10.1.1.1.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
33 # 10.1.1.4.1023 > 10.1.1.1.1008: SYN win 5840 <mss 1460,sackOK,timestamp 3791140 0,nop,wscale 2>
40 # 192.168.113.3.1008 > 10.1.1.4.1023: SYN win 32768 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 3791…
H A Dni201 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,…
8 # 192.168.113.4.shell > 192.168.113.3.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2>
33 …68.113.4.1023 > 192.168.113.3.1008: SYN win 5840 <mss 1460,sackOK,timestamp 3791140 0,nop,wscale 2>
40 # 192.168.113.3.1008 > 10.1.1.4.1023: SYN win 32768 <mss 1460,nop,wscale 0,nop,nop,timestamp 0 3791…
/freebsd/sbin/pfctl/
H A Dpf_print_state.c316 if (src->wscale && dst->wscale) in print_state()
318 src->wscale & PF_WSCALE_MASK); in print_state()
321 if (src->wscale && dst->wscale) in print_state()
323 dst->wscale & PF_WSCALE_MASK); in print_state()
H A Dpfctl_osfp.c96 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, in pfctl_file_fingerprints() local
167 &optcnt, &mss, &mss_mod, &wscale, &wscale_mod, &ts0)) in pfctl_file_fingerprints()
213 fp.fp_wscale = wscale; in pfctl_file_fingerprints()
894 pf_tcpopts_t *packed, int *optcnt, int *mss, int *mss_mod, int *wscale, in get_tcpopts() argument
901 *wscale = 0; in get_tcpopts()
922 this = wscale; in get_tcpopts()
/freebsd/sys/netpfil/pf/
H A Dpf_syncookies.c462 uint8_t i, wscale; in pf_syncookie_generate() local
477 wscale = pf_get_wscale(pd); in pf_syncookie_generate()
479 pf_syncookie_wstab[i] > wscale && i > 0; i--) in pf_syncookie_generate()
502 uint8_t wscale; in pf_syncookie_recreate_syn() local
516 wscale = pf_syncookie_wstab[cookie.flags.wscale_idx]; in pf_syncookie_recreate_syn()
519 *pd->dport, seq, 0, TH_SYN, wscale, mss, pd->ttl, in pf_syncookie_recreate_syn()
H A Dpf.c2898 if (s->src.wscale && s->dst.wscale) in pf_print_state_parts()
2900 s->src.wscale & PF_WSCALE_MASK); in pf_print_state_parts()
2905 if (s->src.wscale && s->dst.wscale) in pf_print_state_parts()
2907 s->dst.wscale & PF_WSCALE_MASK); in pf_print_state_parts()
4382 u_int8_t wscale = 0; in pf_get_wscale() local
4399 wscale = opt[2]; in pf_get_wscale()
4400 if (wscale > TCP_MAX_WINSHIFT) in pf_get_wscale()
4401 wscale = TCP_MAX_WINSHIFT; in pf_get_wscale()
4402 wscale |= PF_WSCALE_FLAG; in pf_get_wscale()
4413 return (wscale); in pf_get_wscale()
[all …]
H A Dpf_nv.c923 nvlist_add_number(nvl, "wscale", peer->wscale); in pf_state_peer_to_nvstate_peer()
H A Dpf_nl.c109 nlattr_add_u8(nw, PF_STP_WSCALE, peer->wscale); in dump_state_peer()
/freebsd/contrib/tcpdump/
H A Dprint-pfsync.c365 if (src->wscale && dst->wscale) in print_src_dst()
367 src->wscale & PF_WSCALE_MASK); in print_src_dst()
370 if (src->wscale && dst->wscale) in print_src_dst()
372 dst->wscale & PF_WSCALE_MASK); in print_src_dst()
/freebsd/sys/netinet/
H A Dtcp_syncache.c1666 int wscale = 0; in syncache_add() local
1689 while (wscale < TCP_MAX_WINSHIFT && in syncache_add()
1690 (TCP_MAXWIN << wscale) < sb_max) in syncache_add()
1691 wscale++; in syncache_add()
1692 sc->sc_requested_r_scale = wscale; in syncache_add()
2202 u_int i, secbit, wscale; in syncookie_generate() local
2221 wscale = sc->sc_requested_s_scale; in syncookie_generate()
2223 tcp_sc_wstab[i] > wscale && i > 0; in syncookie_generate()
2262 int wnd, wscale = 0; in syncookie_lookup() local
2314 while (wscale < TCP_MAX_WINSHIFT && (TCP_MAXWIN << wscale) < sb_max) in syncookie_lookup()
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c1107 int wscale = 0; in select_rcv_wscale() local
1113 while (wscale < TCP_MAX_WINSHIFT && (TCP_MAXWIN << wscale) < space) in select_rcv_wscale()
1114 wscale++; in select_rcv_wscale()
1116 return (wscale); in select_rcv_wscale()
1126 MPASS(cp->wscale >= 0 && cp->wscale <= M_WND_SCALE); in calc_options0()
1127 opt0 |= V_WND_SCALE(cp->wscale); in calc_options0()
1179 if (cp->wscale > 0) in calc_options2()
1365 cp->wscale = select_rcv_wscale(); in init_conn_params()
1367 cp->wscale = 0; in init_conn_params()
1405 cp->wscale = select_rcv_wscale(); in init_conn_params()
[all …]
H A Dt4_tom.h111 int8_t wscale; member
H A Dt4_cpl_io.c338 toep->params.wscale = 0; in assign_rxopt()
343 toep->params.tstamp, toep->params.sack, toep->params.wscale); in assign_rxopt()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Diw_cxgbe.h888 int wscale = 0; in compute_wscale() local
890 while (wscale < 14 && (65535<<wscale) < win) in compute_wscale()
891 wscale++; in compute_wscale()
892 return wscale; in compute_wscale()
/freebsd/sys/net/
H A Dpfvar.h935 u_int8_t wscale; /* window scaling factor */ member
1012 uint8_t wscale; /* window scaling factor */ member
1136 u_int8_t wscale; /* window scaling factor */ member
1271 (d)->wscale = (s)->wscale; \
1288 (d)->wscale = (s)->wscale; \
/freebsd/lib/libpfctl/
H A Dlibpfctl.h322 uint8_t wscale; member
H A Dlibpfctl.c1862 { .type = PF_STP_WSCALE, .off = _OUT(wscale), .cb = snl_attr_get_uint8 },
/freebsd/sys/dev/irdma/
H A Dirdma_type.h912 bool wscale:1; member
H A Dirdma_cm.c3197 tcp_info->wscale = true; in irdma_init_tcp_ctx()
H A Dirdma_ctrl.c1067 FIELD_PREP(IRDMAQPC_WSCALE, tcp->wscale) | in irdma_sc_qp_setctx()