/freebsd/sys/netinet/ |
H A D | tcp_ecn.c | 120 tcp_ecn_input_syn_sent(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_syn_sent() argument 204 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_syn_sent() 226 tcp_ecn_input_parallel_syn(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_parallel_syn() argument 270 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_parallel_syn() 294 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos) in tcp_ecn_input_segment() argument 298 switch (iptos & IPTOS_ECN_MASK) { in tcp_ecn_input_segment() 312 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment() 359 if ((iptos & IPTOS_ECN_MASK) == IPTOS_ECN_CE) in tcp_ecn_input_segment() 364 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 [all …]
|
H A D | tcp_lro_hpts.c | 71 uint32_t *ts_ptr, uint16_t iptos) in build_ack_entry() argument 92 ae->codepoint = iptos; in build_ack_entry() 271 uint16_t iptos; in do_bpf_strip_and_compress() local 397 iptos = l3.ip4->ip_tos; in do_bpf_strip_and_compress() 400 iptos = IPV6_TRAFFIC_CLASS(l3.ip6); in do_bpf_strip_and_compress() 403 iptos = 0; /* Keep compiler happy. */ in do_bpf_strip_and_compress() 447 build_ack_entry(&ack_ent[idx], th, m, ts_ptr, iptos); in do_bpf_strip_and_compress()
|
H A D | tcp_input.c | 521 cc_ecnpkt_handler_flags(struct tcpcb *tp, uint16_t flags, uint8_t iptos) in cc_ecnpkt_handler_flags() argument 526 switch (iptos & IPTOS_ECN_MASK) { in cc_ecnpkt_handler_flags() 554 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) in cc_ecnpkt_handler() argument 556 cc_ecnpkt_handler_flags(tp, tcp_get_flags(th), iptos); in cc_ecnpkt_handler() 632 uint8_t iptos; in tcp_input_with_port() local 691 iptos = IPV6_TRAFFIC_CLASS(ip6); in tcp_input_with_port() 718 iptos = ip->ip_tos; in tcp_input_with_port() 744 ip->ip_tos = iptos; in tcp_input_with_port() 1166 tlen, iptos); in tcp_input_with_port() 1356 iptos, port)) != NULL) in tcp_input_with_port() [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 | 1397 void cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos); 1398 void cc_ecnpkt_handler_flags(struct tcpcb *tp, uint16_t flags, uint8_t iptos);
|
H A D | tcp_syncache.c | 1361 void *todctx, uint8_t iptos, uint16_t port) in syncache_add() argument 1539 sc->sc_flags |= tcp_ecn_syncache_add(tcp_get_flags(th), iptos); in syncache_add() 1714 sc->sc_flags |= tcp_ecn_syncache_add(tcp_get_flags(th), iptos); in syncache_add()
|
/freebsd/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; in ctf_process_inbound_raw() local 394 iptos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in ctf_process_inbound_raw() 402 iptos = ip->ip_tos; in ctf_process_inbound_raw() 436 iptos = 0; in ctf_process_inbound_raw() 448 drop_hdrlen, tlen, iptos, nxt_pkt, &tv); in ctf_process_inbound_raw() 762 ctf_challenge_ack(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, uint8_t iptos, int32_t * ret… in ctf_challenge_ack() argument 775 tcp_ecn_input_syn_sent(tp, tcp_get_flags(th), iptos); in ctf_challenge_ack()
|
H A D | rack_bbr_common.h | 114 struct tcpcb *tp, uint8_t iptos, int32_t * ret_val);
|
H A D | bbr.c | 8561 uint32_t tiwin, int32_t nxt_pkt, uint8_t iptos) in bbr_fastack() argument 8740 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) in bbr_do_syn_sent() argument 8951 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) in bbr_do_syn_recv() argument 9172 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) in bbr_do_established() argument 9208 tiwin, nxt_pkt, iptos)) { in bbr_do_established() 9228 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_established() 9308 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) in bbr_do_close_wait() argument 9325 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_close_wait() 9429 uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos) in bbr_do_fin_wait_1() argument 9447 ctf_challenge_ack(m, th, tp, iptos, &ret_val); in bbr_do_fin_wait_1() [all …]
|
H A D | rack.c | 474 int32_t drop_hdrlen, int32_t tlen, uint8_t iptos); 547 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 552 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 556 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 560 int32_t tlen, uint32_t tiwin, int32_t nxt_pkt, uint8_t iptos); 564 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 568 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 572 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 576 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); 580 int32_t tlen, uint32_t tiwin, int32_t thflags, int32_t nxt_pkt, uint8_t iptos); [all …]
|
/freebsd/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/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 1170 struct in_conninfo *inc, struct tcphdr *th, uint8_t *iptos) in pass_accept_req_to_protohdrs() argument 1188 if (iptos) { in pass_accept_req_to_protohdrs() 1191 *iptos = ip->ip_tos; in pass_accept_req_to_protohdrs() 1197 *iptos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in pass_accept_req_to_protohdrs() 1354 uint8_t iptos; in do_pass_accept_req() local 1429 pass_accept_req_to_protohdrs(sc, m, &inc, &th, &iptos); in do_pass_accept_req() 1516 toe_syncache_add(&inc, &to, &th, inp, tod, synqe, iptos); in do_pass_accept_req() 1591 uint8_t iptos; in synqe_to_protohdrs() local 1594 pass_accept_req_to_protohdrs(sc, synqe->syn, inc, th, &iptos); in synqe_to_protohdrs()
|
/freebsd/crypto/openssh/ |
H A D | misc.c | 1915 iptos2str(int iptos) in iptos2str() argument 1921 if (ipqos[i].value == iptos) in iptos2str() 1924 snprintf(iptos_str, sizeof iptos_str, "0x%02x", iptos); in iptos2str()
|