Home
last modified time | relevance | path

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

12

/freebsd/sys/net/
H A Dif_gif.c438 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 Dif_geneve.c268 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 Din6_gif.c302 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 Dfrag6.c435 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 Din_gif.c282 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 Dsctp_kdtrace.c116 SDT_PROBE_DEFINE5(sctp, cwnd, net, ecn,
H A Dsctp_kdtrace.h70 SDT_PROBE_DECLARE(sctp, cwnd, net, ecn);
H A Dip_reass.c208 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 Dtcp_ecn.c101 static SYSCTL_NODE(_net_inet_tcp, OID_AUTO, ecn,
/freebsd/sys/net/altq/
H A Daltq_codel.c128 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 Daltq_codel.h76 int ecn; member
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c1191 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 Dqueue17 queue deflt bandwidth 10% priority 0 cbq(default ecn)
H A Dqueue215 queue mail bandwidth 10% priority 0 cbq(borrow ecn)
/freebsd/crypto/openssl/include/internal/
H A Dquic_ackm.h164 unsigned int ecn : 2; member
/freebsd/usr.sbin/traceroute6/
H A Dtraceroute6.c360 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 Dpf_altq.h52 int ecn; member
/freebsd/sys/geom/uzip/
H A Dg_uzip.c123 #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 Dpfctl_altq.c1001 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 Ducbvax.mc56 UUCPSMTP(pur-ee, ecn.purdue.edu)
/freebsd/sys/dev/cxgbe/
H A Dt4_ioctl.h406 int8_t ecn;
390 int8_t ecn; global() member
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_rdma.c1689 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 Dnetevent.c1225 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 Dnetevent.h1134 uint32_t ecn);
/freebsd/share/man/man9/
H A DMakefile148 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

12