/netbsd-src/sys/netipsec/ |
H A D | xform_ipip.c | 175 otos = (ntohl(mtod(m, struct ip6_hdr *)->ip6_flow) >> 20) & 0xff; in _ipip_input() 243 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in _ipip_input() 245 ip6->ip6_flow &= ~htonl(0xff << 20); in _ipip_input() 246 ip6->ip6_flow |= htonl((uint32_t)itos << 20); in _ipip_input() 401 offsetof(struct ip6_hdr, ip6_flow), in ipip_output() 453 ip6o->ip6_flow = 0; in ipip_output() 481 offsetof(struct ip6_hdr, ip6_flow), in ipip_output() 492 ip6o->ip6_flow |= htonl((uint32_t)otos << 20); in ipip_output()
|
H A D | ipsecif.c | 261 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in ipsecif4_flowinfo() 566 itos = (ntohl(xip6->ip6_flow) >> 20) & 0xff; in ipsecif6_output() 583 ip6->ip6_flow = 0; in ipsecif6_output() 613 ip6->ip6_flow &= ~ntohl(0xff00000); in ipsecif6_output() 614 ip6->ip6_flow |= htonl((u_int32_t)otos << 20); in ipsecif6_output() 776 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in ipsecif4_input() 783 ip6->ip6_flow &= ~htonl(0xff << 20); in ipsecif4_input() 784 ip6->ip6_flow |= htonl((u_int32_t)itos << 20); in ipsecif4_input() 861 otos = ip6->ip6_flow; in ipsecif6_input() 902 ip6_ecn_egress(ECN_ALLOWED, &otos, &xip6->ip6_flow); in ipsecif6_input() [all …]
|
/netbsd-src/sys/netinet6/ |
H A D | in6_gif.c | 138 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in6_gif_output() 159 ip6->ip6_flow = 0; in in6_gif_output() 179 ip6->ip6_flow &= ~ntohl(0xff00000); in in6_gif_output() 180 ip6->ip6_flow |= htonl((u_int32_t)otos << 20); in in6_gif_output() 301 otos = ip6->ip6_flow; in in6_gif_input() 337 ip6_ecn_egress(ECN_ALLOWED, &otos, &ip6x->ip6_flow); in in6_gif_input() 339 ip6_ecn_egress(ECN_NOCARE, &otos, &ip6x->ip6_flow); in in6_gif_input()
|
H A D | ip6_flow.c | 155 hash = ip6->ip6_flow; in ip6flow_hash() 179 && ip6f->ip6f_flow == ip6->ip6_flow) { in ip6flow_lookup() 616 ip6f->ip6f_flow = ip6->ip6_flow; in ip6flow_create()
|
H A D | files.netinet6 | 18 file netinet6/ip6_flow.c inet6 & gateway
|
H A D | frag6.c | 378 ip6af->ip6af_head = ip6->ip6_flow; in frag6_input()
|
H A D | nd6_nbr.c | 456 ip6->ip6_flow = 0; in nd6_ns_output() 955 ip6->ip6_flow = 0; in nd6_na_output()
|
H A D | icmp6.c | 1090 (eip6->ip6_flow & IPV6_FLOWLABEL_MASK); in icmp6_notify_error() 2184 ip6->ip6_flow = 0; in icmp6_reflect() 2565 ip6->ip6_flow = 0; in icmp6_redirect_output()
|
H A D | ip6_output.c | 473 if ((ip6->ip6_flow & htonl(0xfc << 20)) == 0) in ip6_output() 475 if ((ip6->ip6_flow & htonl(0x03 << 20)) == 0) in ip6_output() 478 ip6->ip6_flow |= htonl((opt->ip6po_tclass & mask) << 20); in ip6_output()
|
H A D | mld6.c | 666 ip6->ip6_flow = 0; in mld_allocbuf()
|
H A D | raw_ip6.c | 461 ip6->ip6_flow = in6p_flowinfo(inp) & IPV6_FLOWINFO_MASK; in rip6_output()
|
/netbsd-src/sys/netinet/ |
H A D | in_gif.c | 135 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in_gif_output() 273 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in_gif_input() 278 ip6->ip6_flow &= ~htonl(0xff << 20); in in_gif_input() 279 ip6->ip6_flow |= htonl((u_int32_t)itos << 20); in in_gif_input()
|
H A D | in_pcb.h | 149 #define in6p_flowinfo(inpcb) (((struct in6pcb *)(inpcb))->in6p_ip6.ip6_flow) 150 #define const_in6p_flowinfo(inpcb) (((const struct in6pcb *)(inpcb))->in6p_ip6.ip6_flow)
|
H A D | ip6.h | 92 #define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow macro
|
H A D | tcp_subr.c | 553 ip6->ip6_flow = in6p_flowinfo(inp) & IPV6_FLOWINFO_MASK; in tcp_template() 555 ip6->ip6_flow &= ~IPV6_FLOWLABEL_MASK; in tcp_template() 556 ip6->ip6_flow |= in tcp_template() 812 ip6->ip6_flow &= ~IPV6_FLOWINFO_MASK; in tcp_respond() 814 ip6->ip6_flow |= in tcp_respond()
|
/netbsd-src/sys/net/ |
H A D | if_stf.c | 397 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in stf_output() 638 itos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in_stf_input() 643 ip6->ip6_flow &= ~htonl(0xff << 20); in in_stf_input() 644 ip6->ip6_flow |= htonl((uint32_t)itos << 20); in in_stf_input()
|
/netbsd-src/sys/rump/net/lib/libnetinet6/ |
H A D | Makefile.inc | 10 in6_offload.c in6_pcb.c in6_proto.c in6_src.c ip6_flow.c \
|
/netbsd-src/external/bsd/tcpdump/dist/ |
H A D | ip6.h | 88 #define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow macro
|
/netbsd-src/sys/altq/ |
H A D | altq_subr.c | 672 flowlabel = ntohl(ip6->ip6_flow); in read_dsfield() 732 flowlabel = ntohl(ip6->ip6_flow); in write_dsfield() 736 ip6->ip6_flow = htonl(flowlabel); in write_dsfield() 841 fin6->fi6_tclass = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in altq_extractflow() 843 fin6->fi6_flowlabel = ip6->ip6_flow & htonl(0x000fffff); in altq_extractflow()
|
H A D | altq_blue.c | 578 flowlabel = ntohl(ip6->ip6_flow); in mark_ecn() 591 ip6->ip6_flow = htonl(flowlabel); in mark_ecn()
|
H A D | altq_cdnr.c | 154 flowlabel = ((struct ip6_hdr *)ip)->ip6_flow; in altq_cdnr_input() 187 flowlabel = ntohl(ip6->ip6_flow); in altq_cdnr_input() 190 ip6->ip6_flow = htonl(flowlabel); in altq_cdnr_input()
|
H A D | altq_red.c | 597 flowlabel = ntohl(ip6->ip6_flow); in mark_ecn() 610 ip6->ip6_flow = htonl(flowlabel); in mark_ecn()
|
/netbsd-src/sys/net/agr/ |
H A D | if_agrether_hash.c | 140 flowlabel = ip6->ip6_flow & IPV6_FLOWLABEL_MASK; in agrether_hashmbuf()
|
/netbsd-src/sys/external/bsd/ipf/netinet/ |
H A D | ip_fil_netbsd.c | 809 ip6->ip6_flow = ((ip6_t *)fin->fin_ip)->ip6_flow; in ipf_send_reset() 1059 ip6->ip6_flow = ((ip6_t *)fin->fin_ip)->ip6_flow; in ipf_send_icmp_err()
|
/netbsd-src/sys/kern/ |
H A D | uipc_mbufdebug.c | 677 flow = ntohl(ip6.ip6_flow); in m_examine_ip6()
|