Home
last modified time | relevance | path

Searched refs:tclass (Results 1 – 20 of 20) sorted by relevance

/net/ipv6/
Dfib6_rules.c28 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()
Dtcp_ipv6.c272 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 …]
Ddatagram.c54 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()
Dipv6_sockglue.c602 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()
Draw.c928 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()
Dinet6_connection_sock.c136 np->tclass, sk->sk_priority); in inet6_csk_xmit()
Dip6_output.c252 __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()
Dping.c119 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dudp.c1552 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()
Dicmp.c599 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()
Dndisc.c449 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/
Dipv6.c228 __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/
Dl2tp_ip6.c609 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/
Dnf_reject_ipv6.c204 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/
Debt_ip6.c51 info->tclass != ipv6_get_dsfield(ih6))) in ebt_ip6_mt()
/net/ipv4/
Dtcp_minisocks.c285 tw->tw_tclass = np->tclass; in tcp_time_wait()
Dinet_diag.c144 inet6_sk(sk)->tclass) < 0) in inet_diag_msg_attrs_fill()
/net/ethtool/
Dioctl.c3162 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/
Dipv6.c240 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response()
/net/core/
Dfilter.c4883 np->tclass = val; in _bpf_setsockopt()
5066 *((int *)optval) = (int)np->tclass; in _bpf_getsockopt()