/openbsd/regress/sbin/pfctl/ |
H A D | pf68.ok | 20 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 21 match in on lo0 proto tcp all scrub (max-mss 224) 22 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 24 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 26 match on lo0 proto tcp all scrub (max-mss 224) 30 match out log on lo1000000 inet proto tcp from any to 10.0.0.1 scrub (no-df max-mss 224) 44 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) 45 match in on lo0 proto tcp from any port = 81 to any scrub (no-df min-ttl 15 max-mss 224) 46 match in on lo0 proto tcp from any to any port = 80 scrub (max-mss 224) 47 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) [all …]
|
H A D | pf68.in | 14 match in on lo0 proto tcp from any to any scrub(max-mss 224 min-ttl 15 no-df) 15 match in on lo0 proto tcp from any to any scrub(max-mss 224) 16 match in on lo0 proto tcp from any to any scrub(min-ttl 15 no-df max-mss 224) 18 match in on lo0 proto tcp from any to any scrub(no-df max-mss 224 min-ttl 15) 20 match on lo0 proto tcp from any to any scrub(max-mss 224) 23 match out log on lo1000000 proto tcp from any to 10.0.0.1 scrub(no-df max-mss 224) 33 match in on lo0 proto tcp from any to any port 80 scrub (max-mss 224) 34 match in on lo0 proto tcp from any port 80 to any scrub (max-mss 224 min-ttl 15 no-df) 35 match in on lo0 proto tcp from any port 80 to any scrub(min-ttl 15 no-df max-mss 224) 39 match in on lo0 proto tcp from any to any port 83 scrub(no-df max-mss 224 min-ttl 15) [all …]
|
H A D | pf44.ok | 1 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 2 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 3 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 4 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 5 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 6 match in on lo0 all scrub (no-df min-ttl 15 reassemble tcp max-mss 224)
|
H A D | pf44.in | 3 match in on lo0 from any to any scrub(min-ttl 15, no-df, max-mss 224) 4 match in on lo0 from any to any scrub(no-df max-mss 224 min-ttl 15) 5 match in on lo0 from any to any scrub(max-mss 224, min-ttl 15 no-df) 6 match in on lo0 from any to any scrub(min-ttl 15 no-df, max-mss 224) 7 match in on lo0 from any to any scrub(no-df max-mss 224 min-ttl 15) 8 match in on lo0 from any to any scrub(max-mss 224 min-ttl 15 no-df reassemble tcp)
|
H A D | pf44.loaded | 1 @0 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 5 @1 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 9 @2 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 13 @3 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 17 @4 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 21 @5 match in on lo0 all scrub (no-df min-ttl 15 reassemble tcp max-mss 224)
|
H A D | pf68.optimized | 45 @11 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 49 @12 match in on lo0 proto tcp all scrub (max-mss 224) 53 @13 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 65 @16 match on lo0 proto tcp all scrub (max-mss 224) 69 @17 match out log on lo1000000 inet proto tcp from any to 10.0.0.1 scrub (no-df max-mss 224) 97 @24 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) 101 @25 match in on lo0 proto tcp from any port = 81 to any scrub (no-df min-ttl 15 max-mss 224) 105 @26 match in on lo0 proto tcp from any to any port = 80 scrub (max-mss 224) 109 @27 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) 113 @28 match in on lo0 proto tcp from any to any port = 80 scrub (no-df min-ttl 15 max-mss 224) [all …]
|
H A D | pf68.loaded | 77 @19 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 81 @20 match in on lo0 proto tcp all scrub (max-mss 224) 85 @21 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 93 @23 match in on lo0 proto tcp all scrub (no-df min-ttl 15 max-mss 224) 101 @25 match on lo0 proto tcp all scrub (max-mss 224) 117 @29 match out log on lo1000000 inet proto tcp from any to 10.0.0.1 scrub (no-df max-mss 224) 173 @43 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) 177 @44 match in on lo0 proto tcp from any port = 81 to any scrub (no-df min-ttl 15 max-mss 224) 181 @45 match in on lo0 proto tcp from any to any port = 80 scrub (max-mss 224) 185 @46 match in on lo0 proto tcp from any port = 80 to any scrub (no-df min-ttl 15 max-mss 224) [all …]
|
H A D | pfail25.in | 5 match in from localhost to localhost scrub(max-mss 512 max-mss 1280)
|
H A D | pf15.in | 5 match scrub(max-mss 224) 6 match scrub(no-df max-mss 224)
|
H A D | pf15.ok | 5 match all scrub (max-mss 224) 6 match all scrub (no-df max-mss 224)
|
H A D | pf44.optimized | 1 @0 match in on lo0 all scrub (no-df min-ttl 15 max-mss 224) 5 @1 match in on lo0 all scrub (no-df min-ttl 15 reassemble tcp max-mss 224)
|
H A D | pf15.loaded | 9 @2 match all scrub (max-mss 224) 13 @3 match all scrub (no-df max-mss 224)
|
H A D | pfail25.ok | 5 stdin:5: max-mss cannot be respecified
|
H A D | pf15.optimized | 9 @2 match all scrub (no-df max-mss 224)
|
/openbsd/sbin/iked/ |
H A D | eap.c | 277 struct eap_mschap_success *mss; in eap_mschap_challenge() local 294 if ((mss = ibuf_reserve(eapmsg, sizeof(*mss))) == NULL) in eap_mschap_challenge() 296 mss->mss_opcode = EAP_MSOPCODE_SUCCESS; in eap_mschap_challenge() 297 mss->mss_id = msr_id; in eap_mschap_challenge() 298 mss->mss_length = htobe16(sizeof(*mss) + in eap_mschap_challenge() 424 struct eap_mschap_success *mss; in eap_parse() local 525 if (len < sizeof(*mss)) in eap_parse() 527 mss = (struct eap_mschap_success *)ptr; in eap_parse() 528 ptr += sizeof(*mss); in eap_parse() 529 len -= sizeof(*mss); in eap_parse() [all …]
|
/openbsd/sys/net/ |
H A D | pf_syncookies.c | 202 uint16_t mss, mssdflt; in pf_syncookie_send() local 206 mss = max(pf_get_mss(pd, mssdflt), mssdflt); in pf_syncookie_send() 207 iss = pf_syncookie_generate(pd, mss); in pf_syncookie_send() 209 iss, ntohl(pd->hdr.tcp.th_seq) + 1, TH_SYN|TH_ACK, 0, mss, in pf_syncookie_send() 333 pf_syncookie_generate(struct pf_pdesc *pd, uint16_t mss) in pf_syncookie_generate() argument 343 pf_syncookie_msstab[i] > mss && i > 0; i--) in pf_syncookie_generate() 374 uint16_t mss; in pf_syncookie_recreate_syn() local 386 mss = pf_syncookie_msstab[cookie.flags.mss_idx]; in pf_syncookie_recreate_syn() 390 *pd->dport, seq, 0, TH_SYN, wscale, mss, pd->ttl, 0, in pf_syncookie_recreate_syn()
|
H A D | pf.c | 1265 d->mss = htons(s->mss); in pf_state_peer_hton() 1284 d->mss = ntohs(s->mss); in pf_state_peer_ntoh() 3283 if (mss) in pf_build_tcp() 3362 if (mss) { in pf_build_tcp() 3365 mss = htons(mss); in pf_build_tcp() 3945 mss = ntohs(mss); in pf_get_mss() 3991 mss = imax(mss, mssdflt); in pf_calc_mss() 3995 mss = imin(mss, offer); in pf_calc_mss() 4777 mss = pf_calc_mss(pd->src, pd->af, rtid, mss, mssdflt); in pf_create_state() 4778 mss = pf_calc_mss(pd->dst, pd->af, rtid, mss, mssdflt); in pf_create_state() [all …]
|
H A D | pf_norm.c | 1659 u_int16_t mss; in pf_normalize_mss() local 1661 memcpy(&mss, mssp, sizeof(mss)); in pf_normalize_mss() 1662 if (ntohs(mss) > maxmss) { in pf_normalize_mss() 1664 pf_patch_16_unaligned(pd, &mss, in pf_normalize_mss() 1667 sizeof(mss), &mss, M_NOWAIT); in pf_normalize_mss()
|
/openbsd/sys/netinet/ |
H A D | tcp_input.c | 2153 u_int16_t mss = 0; in tcp_dooptions() local 2185 memcpy(&mss, cp + 2, sizeof(mss)); in tcp_dooptions() 2186 mss = ntohs(mss); in tcp_dooptions() 2187 oi->maxseg = mss; in tcp_dooptions() 2797 * If none, use an mss that can be handled on the outgoing 2823 int mss, mssopt, mssdflt, iphlen, do_rfc3390; in tcp_mss() local 2826 mss = mssopt = mssdflt = atomic_load_int(&tcp_mssdflt); in tcp_mss() 2865 mss in tcp_mss() 3000 int mss; tcp_mss_update() local 3083 int iphlen, mss, mssdflt; tcp_mss_adv() local [all...] |
H A D | tcp_output.c | 524 u_int16_t mss; in tcp_output() local 528 mss = htons((u_int16_t) tcp_mss(tp, 0)); in tcp_output() 529 memcpy(opt + 2, &mss, sizeof(mss)); in tcp_output() 1203 u_int mss) in tcp_chopper() argument 1216 if (mss == 0) { in tcp_chopper() 1268 firstlen = MIN(tlen - hlen, mss); in tcp_chopper() 1276 for (off = hlen + firstlen; off < tlen; off += mss) { in tcp_chopper() 1281 len = MIN(tlen - off, mss); in tcp_chopper()
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | npppd_subr.c | 484 int opt, optlen, acc, ip_off, mss, maxmss; in adjust_tcp_mss() local 521 GETSHORT(mss, pktp); in adjust_tcp_mss() 523 if (mss > maxmss) { in adjust_tcp_mss() 526 acc = htons(mss); in adjust_tcp_mss()
|
/openbsd/usr.sbin/tcpdump/ |
H A D | pfctl_osfp.c | 92 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, in pfctl_file_fingerprints() local 163 &optcnt, &mss, &mss_mod, &wscale, &wscale_mod, &ts0)) in pfctl_file_fingerprints() 219 fp.fp_mss = mss; in pfctl_file_fingerprints() 878 pf_tcpopts_t *packed, int *optcnt, int *mss, int *mss_mod, int *wscale, in get_tcpopts() argument 887 *mss = 0; in get_tcpopts() 909 this = mss; in get_tcpopts()
|
/openbsd/sbin/pfctl/ |
H A D | pfctl_osfp.c | 92 int window, w_mod, ttl, df, psize, p_mod, mss, mss_mod, wscale, in pfctl_file_fingerprints() local 158 &optcnt, &mss, &mss_mod, &wscale, &wscale_mod, &ts0)) in pfctl_file_fingerprints() 214 fp.fp_mss = mss; in pfctl_file_fingerprints() 881 pf_tcpopts_t *packed, int *optcnt, int *mss, int *mss_mod, int *wscale, in get_tcpopts() argument 890 *mss = 0; in get_tcpopts() 912 this = mss; in get_tcpopts()
|
/openbsd/sbin/unwind/libunbound/services/ |
H A D | listen_dnsport.h | 284 int* reuseport, int transparent, int mss, int nodelay, int freebind,
|
/openbsd/usr.sbin/unbound/services/ |
H A D | listen_dnsport.h | 284 int* reuseport, int transparent, int mss, int nodelay, int freebind,
|