/freebsd/sys/net/ |
H A D | if_gif.c | 292 uint8_t proto, ecn; in gif_transmit() local 325 ecn = 0; in gif_transmit() 338 ECN_NOCARE, &ecn, &ip->ip_tos); in gif_transmit() 354 ecn = (ntohl(t) >> 20) & 0xff; in gif_transmit() 379 error = in_gif_output(ifp, m, proto, ecn); in gif_transmit() 384 error = in6_gif_output(ifp, m, proto, ecn); in gif_transmit() 426 gif_input(struct mbuf *m, struct ifnet *ifp, int proto, uint8_t ecn) in gif_input() 459 ECN_NOCARE, &ecn, &ip->ip_tos) == 0) { in gif_input() 472 t = htonl((uint32_t)ecn << 20); in gif_input() 425 gif_input(struct mbuf * m,struct ifnet * ifp,int proto,uint8_t ecn) gif_input() argument
|
/freebsd/sys/netinet6/ |
H A D | in6_gif.c | 288 in6_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in6_gif_output() argument 303 ip6->ip6_flow |= htonl((uint32_t)ecn << 20); in in6_gif_output() 320 uint8_t ecn; in in6_gif_input() local 331 ecn = IPV6_TRAFFIC_CLASS(ip6); in in6_gif_input() 333 gif_input(m, gifp, proto, ecn); in in6_gif_input()
|
H A D | frag6.c | 436 uint8_t ecn, ecn0; in frag6_input() local 735 ecn = IPV6_ECN(ip6); in frag6_input() 737 if (ecn == IPTOS_ECN_CE) { in frag6_input() 745 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) { in frag6_input()
|
/freebsd/sys/netinet/ |
H A D | in_gif.c | 273 in_gif_output(struct ifnet *ifp, struct mbuf *m, int proto, uint8_t ecn) in in_gif_output() argument 291 ip->ip_tos = ecn; in in_gif_output() 302 uint8_t ecn; in in_gif_input() local 313 ecn = ip->ip_tos; in in_gif_input() 315 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 | 209 u_int8_t ecn, ecn0; in ip_reass() local 377 ecn = ip->ip_tos & IPTOS_ECN_MASK; in ip_reass() 379 if (ecn == IPTOS_ECN_CE) { in ip_reass() 385 if (ecn == IPTOS_ECN_NOTECT && ecn0 != IPTOS_ECN_NOTECT) in ip_reass()
|
H A D | tcp_ecn.c | 102 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 | 1182 MPASS(cp->ecn == 0 || cp->ecn == 1); in calc_options2() 1183 opt2 |= V_CCTRL_ECN(cp->ecn); in calc_options2() 1370 if (tcpopt->ecn && /* XXX: review. */ in init_conn_params() 1371 (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn))) in init_conn_params() 1372 cp->ecn = 1; in init_conn_params() 1374 cp->ecn = 0; in init_conn_params() 1410 if (s->ecn > 0 || (s->ecn < 0 && V_tcp_do_ecn == 1)) in init_conn_params() 1411 cp->ecn = 1; in init_conn_params() 1413 cp->ecn = 0; in init_conn_params() 1668 .ecn = -1, in lookup_offload_policy()
|
H A D | t4_tom.h | 112 int8_t ecn; member
|
/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/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 359 u_char type, code, ecn; in main() local 963 if (packet_ok(&rcvmhdr, cc, seq, &type, &code, &ecn)) { in main() 973 switch (ecn) { in main() 1322 u_char *ecn) in packet_ok() argument 1405 *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 | 390 int8_t ecn; 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 | 1182 doq_set_ecn(int fd, int family, uint32_t ecn) argument 1184 unsigned int val = ecn; 1298 uint32_t ecn) argument 1308 c->doq_socket->blocked_pkt_pi.ecn = ecn; 1319 doq_send_pkt(struct comm_point* c, struct doq_pkt_addr* paddr, uint32_t ecn) argument 1343 doq_set_ecn(c->fd, paddr->addr.sockaddr.in.sin_family, ecn); 1365 doq_store_blocked_pkt(c, paddr, ecn); 1511 uint8_t* ecn = (uint8_t*)CMSG_DATA(cmsg); local 1512 return *ecn; 1522 uint8_t* ecn = (uint8_t*)CMSG_DATA(cmsg); local [all …]
|
H A D | netevent.h | 1120 uint32_t ecn);
|
/freebsd/tests/sys/netpfil/common/ |
H A D | dummynet.sh | 187 …sched 1 config pipe 1 type fq_codel target 0ms interval 0ms quantum 1514 limit 10240 flows 1024 ecn
|
/freebsd/sys/netipsec/ |
H A D | ipsec.c | 202 SYSCTL_INT(_net_inet_ipsec, IPSECCTL_ECN, ecn, 279 SYSCTL_INT(_net_inet6_ipsec6, IPSECCTL_ECN, ecn,
|