/freebsd/contrib/netbsd-tests/ipf/input/ |
H A D | ni19 | 1 # 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 D | ni20 | 1 # 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 D | pf_print_state.c | 316 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 D | pfctl_osfp.c | 96 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 D | pf_syncookies.c | 462 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 D | pf.c | 2898 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 D | pf_nv.c | 923 nvlist_add_number(nvl, "wscale", peer->wscale); in pf_state_peer_to_nvstate_peer()
|
H A D | pf_nl.c | 109 nlattr_add_u8(nw, PF_STP_WSCALE, peer->wscale); in dump_state_peer()
|
/freebsd/contrib/tcpdump/ |
H A D | print-pfsync.c | 365 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 D | tcp_syncache.c | 1666 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 D | t4_tom.c | 1107 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 D | t4_tom.h | 111 int8_t wscale; member
|
H A D | t4_cpl_io.c | 338 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 D | iw_cxgbe.h | 888 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 D | pfvar.h | 935 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 D | libpfctl.h | 322 uint8_t wscale; member
|
H A D | libpfctl.c | 1862 { .type = PF_STP_WSCALE, .off = _OUT(wscale), .cb = snl_attr_get_uint8 },
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_type.h | 912 bool wscale:1; member
|
H A D | irdma_cm.c | 3197 tcp_info->wscale = true; in irdma_init_tcp_ctx()
|
H A D | irdma_ctrl.c | 1067 FIELD_PREP(IRDMAQPC_WSCALE, tcp->wscale) | in irdma_sc_qp_setctx()
|