Searched refs:ecn (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-current/sys/netinet/
H A Dsctp_kdtrace.c116 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
H A Dsctp_kdtrace.h70 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
H A Din_gif.c273 in_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) argument
291 ip->ip_tos = ecn;
302 uint8_t ecn; local
313 ecn = ip->ip_tos;
315 gif_input(m, gifp, proto, ecn);
H A Dip_reass.c209 u_int8_t ecn, ecn0; local
377 ecn = ip->ip_tos & IPTOS_ECN_MASK;
379 if (ecn == IPTOS_ECN_CE) {
385 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT)
H A Dtcp_ecn.c54 * https://tools.ietf.org/html/draft-ietf-tcpm-accurate-ecn-09
102 static SYSCTL_NODE(_net_inet_tcp, OID_AUTO, ecn,
324 * see table 3 in draft-ietf-tcpm-accurate-ecn
/freebsd-current/sys/net/altq/
H A Daltq_codel.h71 * <at> ecn: is Explicit Congestion Notification enabled
76 int ecn; member in struct:codel_params
H A Daltq_codel.c128 cif->codel.params.ecn = opts->ecn;
259 codel_alloc(int target, int interval, int ecn) argument
267 c->params.ecn = ecn;
/freebsd-current/sys/net/
H A Dif_gif.c292 uint8_t proto, ecn; local
325 ecn = 0;
338 ECN_NOCARE, &ecn, &ip->ip_tos);
354 ecn = (ntohl(t) >> 20) & 0xff;
379 error = in_gif_output(ifp, m, proto, ecn);
384 error = in6_gif_output(ifp, m, proto, ecn);
426 gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn) argument
459 ECN_NOCARE, &ecn, &ip->ip_tos) == 0) {
472 t = htonl((uint32_t)ecn << 20);
/freebsd-current/sys/netinet6/
H A Din6_gif.c288 in6_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) argument
303 ip6->ip6_flow |= htonl((uint32_t)ecn << 20);
320 uint8_t ecn; local
331 ecn = IPV6_TRAFFIC_CLASS(ip6);
333 gif_input(m, gifp, proto, ecn);
H A Dfrag6.c436 uint8_t ecn, ecn0; local
735 ecn = IPV6_ECN(ip6);
737 if (ecn == IPTOS_ECN_CE) {
745 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) {
/freebsd-current/sys/netpfil/pf/
H A Dpf_altq.h52 int ecn; member in struct:codel_opts
/freebsd-current/sys/dev/cxgbe/tom/
H A Dt4_tom.c1166 MPASS(cp->ecn == 0 || cp->ecn == 1);
1167 opt2 |= V_CCTRL_ECN(cp->ecn);
1354 if (tcpopt->ecn && /* XXX: review. */
1355 (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn)))
1356 cp->ecn = 1;
1358 cp->ecn = 0;
1394 if (s->ecn > 0 || (s->ecn <
[all...]
H A Dt4_tom.h111 int8_t ecn; member in struct:conn_params
/freebsd-current/sys/geom/uzip/
H A Dg_uzip.c123 #define DPRINTF_BRNG(lvl, bcn, ecn, a) \
124 KASSERT(bcn < ecn, ("DPRINTF_BRNG: invalid range (%ju, %ju)", \
125 (uintmax_t)bcn, (uintmax_t)ecn)); \
128 (intmax_t)ecn - (intmax_t)bcn)) { \
/freebsd-current/sys/dev/cxgbe/
H A Dt4_ioctl.h390 int8_t ecn; member in struct:offload_settings
/freebsd-current/usr.sbin/traceroute6/
H A Dtraceroute6.c359 u_char type, code, ecn; local
963 if (packet_ok(&rcvmhdr, cc, seq, &type, &code, &ecn)) {
973 switch (ecn) {
975 printf(" (ecn=passed)");
978 printf(" (ecn=bleached)");
981 printf(" (ecn=congested)");
984 printf(" (ecn=mangled)");
1322 u_char *ecn)
1405 *ecn = ntohl(hip->ip6_flow & IPV6_ECN_MASK) >> 20;
1321 packet_ok(struct msghdr *mhdr, int cc, int seq, u_char *type, u_char *code, u_char *ecn) argument
/freebsd-current/sbin/pfctl/
H A Dpfctl_altq.c647 printf(" ecn");
722 printf(" ecn");
969 printf(" ecn");
1001 if (opts->target || opts->interval || opts->ecn) {
1007 if (opts->ecn)
1008 printf("ecn");
1036 printf(" ecn");
1357 pa->pq_u.codel_opts.ecn = opts->data.codel_opts.ecn;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_rdma.c1689 p_hwfn->p_rdma_info->glob_cfg.ecn);
2608 "dscp %d dscp en %d ecn %d ecn en %d vlan pri %d vlan_pri_en %d\n",
2610 in_params->ecn, in_params->ecn_en, in_params->vlan_pri,
2636 if (in_params->ecn > INET_ECN_ECT_0) {
2637 DP_ERR(p_hwfn->p_dev, "invalid glob ecn %d\n",
2638 in_params->ecn);
2641 glob_cfg.ecn = in_params->ecn;
2646 DP_ERR(p_hwfn->p_dev, "invalid glob ecn e
[all...]
H A Decore_rdma_api.h276 u8 ecn; member in struct:ecore_rdma_glob_cfg
/freebsd-current/tests/sys/netpfil/common/
H A Ddummynet.sh187 jexec alcatraz dnctl sched 1 config pipe 1 type fq_codel target 0ms interval 0ms quantum 1514 limit 10240 flows 1024 ecn
/freebsd-current/sys/dev/cxgb/common/
H A Dcxgb_t3_cpl.h205 __u8 ecn:1; member in struct:tcp_options
211 __u8 ecn:1; member in struct:tcp_options
/freebsd-current/sys/netipsec/
H A Dipsec.c202 SYSCTL_INT(_net_inet_ipsec, IPSECCTL_ECN, ecn,
278 SYSCTL_INT(_net_inet6_ipsec6, IPSECCTL_ECN, ecn,
/freebsd-current/usr.sbin/traceroute/
H A Dtraceroute.c1062 u_char ecn = hip->ip_tos & IPTOS_ECN_MASK; local
1063 switch (ecn) {
1065 Printf(" (ecn=passed)");
1068 Printf(" (ecn=bleached)");
1071 Printf(" (ecn=congested)");
1074 Printf(" (ecn=mangled)");
/freebsd-current/sys/dev/cxgbe/common/
H A Dt4_msg.h358 __u8 ecn:1; member in struct:tcp_options
364 __u8 ecn:1; member in struct:tcp_options
/freebsd-current/usr.sbin/cxgbetool/
H A Dcxgbetool.c3064 } else if (!strcmp(s, "ecn")) {
3065 os->ecn = (*pneg + 1) & 1;
3178 .ecn = -1,

Completed in 279 milliseconds

12