| /freebsd/sys/net/ |
| H A D | if_gif.c | 438 uint8_t proto, ecn; in gif_transmit() local 468 ecn = 0; in gif_transmit() 481 ECN_NOCARE, &ecn, &ip->ip_tos); in gif_transmit() 497 ecn = (ntohl(t) >> 20) & 0xff; in gif_transmit() 524 error = in_gif_output(ifp, m, proto, ecn); in gif_transmit() 529 error = in6_gif_output(ifp, m, proto, ecn); in gif_transmit() 568 gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn) in gif_input() argument 601 ECN_NOCARE, &ecn, &ip->ip_tos) == 0) { in gif_input() 614 t = htonl((uint32_t)ecn << 20); in gif_input()
|
| H A D | if_geneve.c | 268 uint8_t ecn; member 2533 uint8_t tos, ecn, ttl; in geneve_encap4() local 2563 ecn = (tos & IPTOS_ECN_MASK); in geneve_encap4() 2564 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &ecn); in geneve_encap4() 2655 uint8_t tos, ecn, etos, ttl; in geneve_encap6() local 2692 ecn = (tos & IPTOS_ECN_MASK); in geneve_encap6() 2693 ip_ecn_ingress(ECN_ALLOWED, &etos, &ecn); in geneve_encap6() 2987 info.ecn = (iphdr->ip_tos & IPTOS_ECN_MASK); in geneve_udp_input() 2991 info.ecn = IPV6_ECN(ip6hdr); in geneve_udp_input() 3133 if (ip_ecn_egress(ECN_COMPLETE, &info->ecn, &iphdr->ip_tos) == 0) in geneve_input_inherit() [all …]
|
| /freebsd/sys/netinet6/ |
| H A D | in6_gif.c | 302 in6_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in6_gif_output() argument 318 ip6->ip6_flow |= htonl((uint32_t)ecn << 20); in in6_gif_output() 339 uint8_t ecn; in in6_gif_input() local 350 ecn = IPV6_TRAFFIC_CLASS(ip6); in in6_gif_input() 352 gif_input(m, gifp, proto, ecn); in in6_gif_input()
|
| H A D | frag6.c | 435 uint8_t ecn, ecn0; in frag6_input() local 734 ecn = IPV6_ECN(ip6); in frag6_input() 736 if (ecn == IPTOS_ECN_CE) { in frag6_input() 744 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) { in frag6_input()
|
| /freebsd/sys/netinet/ |
| H A D | in_gif.c | 282 in_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in_gif_output() argument 300 ip->ip_tos = ecn; in in_gif_output() 311 uint8_t ecn; in in_gif_input() local 322 ecn = ip->ip_tos; in in_gif_input() 324 gif_input(m, gifp, proto, ecn); in in_gif_input()
|
| H A D | sctp_kdtrace.c | 116 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
|
| H A D | sctp_kdtrace.h | 70 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
|
| H A D | ip_reass.c | 208 u_int8_t ecn, ecn0; in ip_reass() local 376 ecn = ip->ip_tos & IPTOS_ECN_MASK; in ip_reass() 378 if (ecn == IPTOS_ECN_CE) { in ip_reass() 384 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) in ip_reass()
|
| H A D | tcp_ecn.c | 101 static SYSCTL_NODE(_net_inet_tcp, OID_AUTO, ecn,
|
| /freebsd/sys/net/altq/ |
| H A D | altq_codel.c | 128 cif->codel.params.ecn = opts->ecn; in codel_add_altq() 259 codel_alloc(int target, int interval, int ecn) in codel_alloc() argument 267 c->params.ecn = ecn; in codel_alloc()
|
| H A D | altq_codel.h | 76 int ecn; member
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_tom.c | 1191 MPASS(cp->ecn == 0 || cp->ecn == 1); in calc_options2() 1192 opt2 |= V_CCTRL_ECN(cp->ecn); in calc_options2() 1379 if (tcpopt->ecn && /* XXX: review. */ in init_conn_params() 1380 (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn))) in init_conn_params() 1381 cp->ecn = 1; in init_conn_params() 1383 cp->ecn = 0; in init_conn_params() 1419 if (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn == 1)) in init_conn_params() 1420 cp->ecn = 1; in init_conn_params() 1422 cp->ecn = 0; in init_conn_params() 1703 .ecn = -1, in lookup_offload_policy()
|
| /freebsd/share/examples/pf/ |
| H A D | queue1 | 7 queue deflt bandwidth 10% priority 0 cbq(default ecn)
|
| H A D | queue2 | 15 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
|
| /freebsd/crypto/openssl/include/internal/ |
| H A D | quic_ackm.h | 164 unsigned int ecn : 2; member
|
| /freebsd/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 360 u_char type, code, ecn; in main() local 969 if (packet_ok(&rcvmhdr, cc, seq, &type, &code, &ecn)) { in main() 979 switch (ecn) { in main() 1332 u_char *ecn) in packet_ok() argument 1415 *ecn = ntohl(hip->ip6_flow & IPV6_ECN_MASK) >> 20; in packet_ok()
|
| /freebsd/sys/netpfil/pf/ |
| H A D | pf_altq.h | 52 int ecn; member
|
| /freebsd/sys/geom/uzip/ |
| H A D | g_uzip.c | 123 #define DPRINTF_BRNG(lvl, bcn, ecn, a) \ argument 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/sbin/pfctl/ |
| H A D | pfctl_altq.c | 1001 if (opts->target || opts->interval || opts->ecn) { in print_codel_opts() 1007 if (opts->ecn) in print_codel_opts() 1357 pa->pq_u.codel_opts.ecn = opts->data.codel_opts.ecn; in eval_queue_opts()
|
| /freebsd/contrib/sendmail/cf/cf/ |
| H A D | ucbvax.mc | 56 UUCPSMTP(pur-ee, ecn.purdue.edu)
|
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_ioctl.h | 406 int8_t ecn; 390 int8_t ecn; global() member
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_rdma.c | 1689 p_hwfn->p_rdma_info->glob_cfg.ecn); in ecore_rdma_modify_qp() 2610 in_params->ecn, in_params->ecn_en, in_params->vlan_pri, in ecore_rdma_set_glob_cfg() 2636 if (in_params->ecn > INET_ECN_ECT_0) { in ecore_rdma_set_glob_cfg() 2638 in_params->ecn); in ecore_rdma_set_glob_cfg() 2641 glob_cfg.ecn = in_params->ecn; in ecore_rdma_set_glob_cfg()
|
| /freebsd/contrib/unbound/util/ |
| H A D | netevent.c | 1225 doq_set_ecn(int fd, int family, uint32_t ecn) argument 1227 unsigned int val = ecn; 1341 uint32_t ecn) argument 1351 c->doq_socket->blocked_pkt_pi.ecn = ecn; 1362 doq_send_pkt(struct comm_point* c, struct doq_pkt_addr* paddr, uint32_t ecn) argument 1386 doq_set_ecn(c->fd, paddr->addr.sockaddr.in.sin_family, ecn); 1408 doq_store_blocked_pkt(c, paddr, ecn); 1554 uint8_t* ecn = (uint8_t*)CMSG_DATA(cmsg); local 1555 return *ecn; 1565 uint8_t* ecn = (uint8_t*)CMSG_DATA(cmsg); local [all …]
|
| H A D | netevent.h | 1134 uint32_t ecn);
|
| /freebsd/share/man/man9/ |
| H A D | Makefile | 148 ecn.9 \ 1119 MLINKS+=ecn.9 ip_ecn_ingress.9 \ 1120 ecn.9 ip_ecn_egress.9 \ 1121 ecn.9 ip6_ecn_ingress.9 \ 1122 ecn.9 ip6_ecn_egress.9
|