Home
last modified time | relevance | path

Searched refs:ecn (Results 1 – 25 of 30) sorted by relevance

12

/freebsd-12-stable/sys/net/
Dif_gif.c293 uint8_t proto, ecn; in gif_transmit() local
326 ecn = 0; in gif_transmit()
339 ECN_NOCARE, &ecn, &ip->ip_tos); in gif_transmit()
355 ecn = (ntohl(t) >> 20) & 0xff; in gif_transmit()
380 error = in_gif_output(ifp, m, proto, ecn); in gif_transmit()
385 error = in6_gif_output(ifp, m, proto, ecn); in gif_transmit()
425 gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn) in gif_input() argument
456 ECN_NOCARE, &ecn, &ip->ip_tos) == 0) { in gif_input()
469 t = htonl((uint32_t)ecn << 20); in gif_input()
/freebsd-12-stable/sys/netinet/
Din_gif.c271 in_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in_gif_output() argument
304 ip->ip_tos = ecn; in in_gif_output()
315 uint8_t ecn; in in_gif_input() local
326 ecn = ip->ip_tos; in in_gif_input()
328 gif_input(m, gifp, proto, ecn); in in_gif_input()
Dsctp_kdtrace.c119 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
Dip_reass.c190 u_int8_t ecn, ecn0; in ip_reass() local
352 ecn = ip->ip_tos & IPTOS_ECN_MASK; in ip_reass()
354 if (ecn == IPTOS_ECN_CE) { in ip_reass()
360 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) in ip_reass()
Dsctp_kdtrace.h73 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
Dsctp_cc_functions.c1139 SDT_PROBE5(sctp, cwnd, net, ecn, in sctp_cwnd_update_after_ecn_echo_common()
/freebsd-12-stable/sys/netinet6/
Din6_gif.c289 in6_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in6_gif_output() argument
319 ip6->ip6_flow |= htonl((uint32_t)ecn << 20); in in6_gif_output()
336 uint8_t ecn; in in6_gif_input() local
347 ecn = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in6_gif_input()
349 gif_input(m, gifp, proto, ecn); in in6_gif_input()
Dfrag6.c380 uint8_t ecn, ecn0; in frag6_input() local
700 ecn = (ntohl(ip6->ip6_flow) >> 20) & IPTOS_ECN_MASK; in frag6_input()
702 if (ecn == IPTOS_ECN_CE) { in frag6_input()
710 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) { in frag6_input()
/freebsd-12-stable/sys/net/altq/
Daltq_codel.c129 cif->codel.params.ecn = opts->ecn; in codel_add_altq()
261 codel_alloc(int target, int interval, int ecn) in codel_alloc() argument
269 c->params.ecn = ecn; in codel_alloc()
Daltq_codel.h78 int ecn; member
/freebsd-12-stable/sys/dev/cxgbe/tom/
Dt4_tom.c1003 MPASS(cp->ecn == 0 || cp->ecn == 1); in calc_options2()
1004 opt2 |= V_CCTRL_ECN(cp->ecn); in calc_options2()
1217 if (tcpopt->ecn && /* XXX: review. */ in init_conn_params()
1218 (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn))) in init_conn_params()
1219 cp->ecn = 1; in init_conn_params()
1221 cp->ecn = 0; in init_conn_params()
1257 if (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn == 1)) in init_conn_params()
1258 cp->ecn = 1; in init_conn_params()
1260 cp->ecn = 0; in init_conn_params()
1551 .ecn = -1, in lookup_offload_policy()
Dt4_tom.h105 int8_t ecn; member
/freebsd-12-stable/share/examples/pf/
Dqueue18 queue deflt bandwidth 10% priority 0 cbq(default ecn)
Dqueue216 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
/freebsd-12-stable/sys/netpfil/pf/
Dpf_altq.h53 int ecn; member
/freebsd-12-stable/sys/geom/uzip/
Dg_uzip.c120 #define DPRINTF_BRNG(lvl, bcn, ecn, a) \ argument
121 KASSERT(bcn < ecn, ("DPRINTF_BRNG: invalid range (%ju, %ju)", \
122 (uintmax_t)bcn, (uintmax_t)ecn)); \
125 (intmax_t)ecn - (intmax_t)bcn)) { \
/freebsd-12-stable/sbin/pfctl/
Dpfctl_altq.c1010 if (opts->target || opts->interval || opts->ecn) {
1016 if (opts->ecn)
1387 pa->pq_u.codel_opts.ecn = opts->data.codel_opts.ecn;
/freebsd-12-stable/contrib/sendmail/cf/cf/
Ducbvax.mc56 UUCPSMTP(pur-ee, ecn.purdue.edu)
/freebsd-12-stable/sys/dev/cxgbe/
Dt4_ioctl.h384 int8_t ecn; member
/freebsd-12-stable/sys/netipsec/
Dipsec.c198 SYSCTL_INT(_net_inet_ipsec, IPSECCTL_ECN, ecn,
278 SYSCTL_INT(_net_inet6_ipsec6, IPSECCTL_ECN, ecn,
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
Decore_rdma_api.h278 u8 ecn; member
/freebsd-12-stable/sys/dev/cxgb/common/
Dcxgb_t3_cpl.h207 __u8 ecn:1; member
213 __u8 ecn:1; member
/freebsd-12-stable/usr.sbin/cxgbetool/
Dcxgbetool.c3079 os->ecn = (*pneg + 1) & 1; in parse_offload_settings_word()
3189 .ecn = -1, in parse_offload_settings()
/freebsd-12-stable/share/doc/IPv6/
DIMPLEMENTATION2001 draft-ietf-ipsec-ecn-02.txt.
2010 draft-ietf-ipsec-ecn-02.txt, chapter 3.3.
2013 net.inet.ipsec.ecn (or net.inet6.ipsec6.ecn) to some value:
2018 (draft-ietf-ipsec-ecn-02 wants per-SA configuration, but it looks too much
2046 draft-ietf-ipsec-ecn-02.txt
/freebsd-12-stable/sys/dev/cxgbe/common/
Dt4_msg.h360 __u8 ecn:1; member
366 __u8 ecn:1; member

12