/net/ipv6/ |
D | fib6_rules.c | 28 u8 tclass; member 35 if (r->dst.plen || r->src.plen || r->tclass) in fib6_rule_matchall() 326 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match() 376 rule6->tclass = frh->tos; in fib6_rule_configure() 409 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare() 430 frh->tos = rule6->tclass; in fib6_rule_fill()
|
D | tcp_ipv6.c | 272 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in tcp_v6_connect() 531 u8 tclass; in tcp_v6_send_synack() local 548 tclass = READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_reflect_tos) ? in tcp_v6_send_synack() 550 (np->tclass & INET_ECN_MASK) : in tcp_v6_send_synack() 551 np->tclass; in tcp_v6_send_synack() 553 if (!INET_ECN_is_capable(tclass) && in tcp_v6_send_synack() 555 tclass |= INET_ECN_ECT_0; in tcp_v6_send_synack() 562 tclass, sk->sk_priority); in tcp_v6_send_synack() 894 u8 tclass, __be32 label, u32 priority) in tcp_v6_send_response() argument 1014 tclass & ~INET_ECN_MASK, priority); in tcp_v6_send_response() [all …]
|
D | datagram.c | 54 fl6->flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in ip6_datagram_flow_key_init() 627 int tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in ip6_datagram_recv_specific_ctl() local 628 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl() 1007 ipc6->tclass = tc; in ip6_datagram_send_ctl()
|
D | ipv6_sockglue.c | 602 np->tclass = val; in do_ipv6_setsockopt() 1177 int tclass = (int)ip6_tclass(np->rcv_flowinfo); in do_ipv6_getsockopt() local 1179 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt() 1280 val = np->tclass; in do_ipv6_getsockopt()
|
D | raw.c | 928 if (ipc6.tclass < 0) in rawv6_sendmsg() 929 ipc6.tclass = np->tclass; in rawv6_sendmsg() 931 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in rawv6_sendmsg()
|
D | inet6_connection_sock.c | 136 np->tclass, sk->sk_priority); in inet6_csk_xmit()
|
D | ip6_output.c | 252 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) in ip6_xmit() argument 302 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit() 1423 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork() 1905 ip6_flow_hdr(hdr, v6_cork->tclass, in __ip6_make_skb()
|
D | ping.c | 119 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
|
D | udp.c | 1552 if (ipc6.tclass < 0) in udpv6_sendmsg() 1553 ipc6.tclass = np->tclass; in udpv6_sendmsg() 1555 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in udpv6_sendmsg()
|
D | icmp.c | 599 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send() 800 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in icmpv6_echo_reply()
|
D | ndisc.c | 449 unsigned tclass; in ip6_nd_hdr() local 453 tclass = idev ? idev->cnf.ndisc_tclass : 0; in ip6_nd_hdr() 460 ip6_flow_hdr(hdr, tclass, 0); in ip6_nd_hdr()
|
/net/sctp/ |
D | ipv6.c | 228 __u8 tclass = np->tclass; in sctp_v6_xmit() local 235 tclass = t->dscp & SCTP_DSCP_VAL_MASK; in sctp_v6_xmit() 237 if (INET_ECN_is_capable(tclass)) in sctp_v6_xmit() 252 tclass, sk->sk_priority); in sctp_v6_xmit() 267 &fl6->daddr, tclass, ip6_dst_hoplimit(dst), in sctp_v6_xmit() 854 inet6_sk(sk)->tclass |= INET_ECN_ECT_0; in sctp_v6_ecn_capable()
|
/net/l2tp/ |
D | l2tp_ip6.c | 609 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg() 610 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg() 612 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg()
|
/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 204 const __u8 tclass = DEFAULT_TOS_VALUE; in nf_reject_ip6hdr_put() local 209 ip6_flow_hdr(ip6h, tclass, 0); in nf_reject_ip6hdr_put()
|
/net/bridge/netfilter/ |
D | ebt_ip6.c | 51 info->tclass != ipv6_get_dsfield(ih6))) in ebt_ip6_mt()
|
/net/ipv4/ |
D | tcp_minisocks.c | 285 tw->tw_tclass = np->tclass; in tcp_time_wait()
|
D | inet_diag.c | 144 inet6_sk(sk)->tclass) < 0) in inet_diag_msg_attrs_fill()
|
/net/ethtool/ |
D | ioctl.c | 3162 if (v6_m_spec->tclass) { in ethtool_rx_flow_rule_create() 3163 match->key.ip.tos = v6_spec->tclass; in ethtool_rx_flow_rule_create() 3164 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()
|
/net/dccp/ |
D | ipv6.c | 240 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response()
|
/net/core/ |
D | filter.c | 4883 np->tclass = val; in _bpf_setsockopt() 5066 *((int *)optval) = (int)np->tclass; in _bpf_getsockopt()
|