| /freebsd-14.2/sys/netinet/ |
| H A D | tcp_ecn.c | 119 tcp_ecn_input_syn_sent(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_syn_sent() argument 199 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_syn_sent() 261 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_parallel_syn() 288 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_segment() 302 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment() 349 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment() 354 cc_ecnpkt_handler_flags(tp, thflags, iptos); in tcp_ecn_input_segment() 493 tcp_ecn_syncache_add(uint16_t thflags, int iptos) in tcp_ecn_syncache_add() argument 497 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_syncache_add() 521 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_syncache_add() [all …]
|
| H A D | tcp_lro_hpts.c | 68 uint32_t *ts_ptr, uint16_t iptos) in build_ack_entry() argument 89 ae->codepoint = iptos; in build_ack_entry() 262 uint16_t iptos; in do_bpf_strip_and_compress() local 388 iptos = l3.ip4->ip_tos; in do_bpf_strip_and_compress() 391 iptos = IPV6_TRAFFIC_CLASS(l3.ip6); in do_bpf_strip_and_compress() 394 iptos = 0; /* Keep compiler happy. */ in do_bpf_strip_and_compress() 438 build_ack_entry(&ack_ent[idx], th, m, ts_ptr, iptos); in do_bpf_strip_and_compress()
|
| H A D | tcp_input.c | 519 switch (iptos & IPTOS_ECN_MASK) { in cc_ecnpkt_handler_flags() 625 uint8_t iptos; in tcp_input_with_port() local 684 iptos = IPV6_TRAFFIC_CLASS(ip6); in tcp_input_with_port() 711 iptos = ip->ip_tos; in tcp_input_with_port() 737 ip->ip_tos = iptos; in tcp_input_with_port() 1158 tlen, iptos); in tcp_input_with_port() 1348 iptos, port)) != NULL) in tcp_input_with_port() 1521 int drop_hdrlen, int tlen, uint8_t iptos) in tcp_do_segment() argument 1606 iptos)) in tcp_do_segment() 2068 tcp_ecn_input_syn_sent(tp, thflags, iptos); in tcp_do_segment() [all …]
|
| H A D | toecore.c | 357 struct inpcb *inp, void *tod, void *todctx, uint8_t iptos) in toe_syncache_add() argument 363 todctx, iptos, htons(0)); in toe_syncache_add()
|
| H A D | tcp_var.h | 1406 void cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos); 1407 void cc_ecnpkt_handler_flags(struct tcpcb *tp, uint16_t flags, uint8_t iptos);
|
| H A D | tcp_syncache.c | 1371 void *todctx, uint8_t iptos, uint16_t port) in syncache_add() argument 1549 sc->sc_flags |= tcp_ecn_syncache_add(tcp_get_flags(th), iptos); in syncache_add() 1724 sc->sc_flags |= tcp_ecn_syncache_add(tcp_get_flags(th), iptos); in syncache_add()
|
| /freebsd-14.2/sys/netinet/tcp_stacks/ |
| H A D | rack_bbr_common.c | 144 uint8_t iptos; in ctf_get_enet_type() local 213 iptos = ip->ip_tos; in ctf_get_enet_type() 236 ip->ip_tos = iptos; in ctf_get_enet_type() 364 uint8_t iptos, no_vn=0; in ctf_process_inbound_raw() local 405 iptos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in ctf_process_inbound_raw() 413 iptos = ip->ip_tos; in ctf_process_inbound_raw() 447 iptos = 0; in ctf_process_inbound_raw() 459 drop_hdrlen, tlen, iptos, nxt_pkt, &tv); in ctf_process_inbound_raw() 819 ctf_challenge_ack(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, uint8_t iptos, int32_t * ret… in ctf_challenge_ack() argument 832 tcp_ecn_input_syn_sent(tp, tcp_get_flags(th), iptos); in ctf_challenge_ack()
|
| H A D | rack_bbr_common.h | 119 struct tcpcb *tp, uint8_t iptos, int32_t * ret_val);
|
| H A D | bbr.c | 8569 uint32_t tiwin, int32_t nxt_pkt, uint8_t iptos) in bbr_fastack() argument 9216 tiwin, nxt_pkt, iptos)) { in bbr_do_established() 9236 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_established() 9333 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_close_wait() 9455 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_fin_wait_1() 9580 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_closing() 9682 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_lastack() 9786 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_fin_wait_2() 11457 tlen, iptos); in bbr_do_segment_nounlock() 11535 tlen, tiwin, thflags, nxt_pkt, iptos); in bbr_do_segment_nounlock() [all …]
|
| H A D | rack.c | 13322 tcp_ecn_input_syn_sent(tp, thflags, iptos); in rack_do_syn_sent() 13691 tiwin, nxt_pkt, iptos)) { in rack_do_established() 13709 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_established() 13809 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_close_wait() 13939 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_fin_wait_1() 14066 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_closing() 14172 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_lastack() 14279 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in rack_do_fin_wait_2() 16987 iptos)) in rack_do_segment_nounlock() 17078 tlen, iptos); in rack_do_segment_nounlock() [all …]
|
| /freebsd-14.2/contrib/libpcap/testprogs/ |
| H A D | findalldevstest.c | 24 static char *iptos(bpf_u_int32 in); 179 printf("Preferred device is on network: %s/%s\n",iptos(net), iptos(mask)); in main() 322 static char *iptos(bpf_u_int32 in) in iptos() function
|
| /freebsd-14.2/sys/dev/cxgbe/tom/ |
| H A D | t4_listen.c | 1138 struct in_conninfo *inc, struct tcphdr *th, uint8_t *iptos) in pass_accept_req_to_protohdrs() argument 1156 if (iptos) { in pass_accept_req_to_protohdrs() 1159 *iptos = ip->ip_tos; in pass_accept_req_to_protohdrs() 1165 *iptos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in pass_accept_req_to_protohdrs() 1322 uint8_t iptos; in do_pass_accept_req() local 1397 pass_accept_req_to_protohdrs(sc, m, &inc, &th, &iptos); in do_pass_accept_req() 1484 toe_syncache_add(&inc, &to, &th, inp, tod, synqe, iptos); in do_pass_accept_req() 1559 uint8_t iptos; in synqe_to_protohdrs() local 1562 pass_accept_req_to_protohdrs(sc, synqe->syn, inc, th, &iptos); in synqe_to_protohdrs()
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | misc.c | 1880 iptos2str(int iptos) in iptos2str() argument 1886 if (ipqos[i].value == iptos) in iptos2str() 1889 snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); in iptos2str()
|