Home
last modified time | relevance | path

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

/net/ipv6/
Dfib6_rules.c27 u8 tclass; member
34 if (r->dst.plen || r->src.plen || r->tclass) in fib6_rule_matchall()
318 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
368 rule6->tclass = frh->tos; in fib6_rule_configure()
401 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare()
422 frh->tos = rule6->tclass; in fib6_rule_fill()
Dipv6_sockglue.c340 np->tclass = val; in do_ipv6_setsockopt()
1092 int tclass = (int)ip6_tclass(np->rcv_flowinfo); in do_ipv6_getsockopt() local
1094 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt()
1195 val = np->tclass; in do_ipv6_getsockopt()
Ddatagram.c611 int tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in ip6_datagram_recv_specific_ctl() local
612 put_cmsg(msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in ip6_datagram_recv_specific_ctl()
991 ipc6->tclass = tc; in ip6_datagram_send_ctl()
Draw.c923 if (ipc6.tclass < 0) in rawv6_sendmsg()
924 ipc6.tclass = np->tclass; in rawv6_sendmsg()
926 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.c196 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) in ip6_xmit() argument
250 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
1284 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork()
1762 ip6_flow_hdr(hdr, v6_cork->tclass, in __ip6_make_skb()
Dtcp_ipv6.c516 err = ip6_xmit(sk, skb, fl6, sk->sk_mark, opt, np->tclass, in tcp_v6_send_synack()
808 u8 tclass, __be32 label, u32 priority) in tcp_v6_send_response() argument
912 ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, tclass, in tcp_v6_send_response()
1019 struct tcp_md5sig_key *key, u8 tclass, in tcp_v6_send_ack() argument
1023 tclass, label, priority); in tcp_v6_send_ack()
Dudp.c1441 if (ipc6.tclass < 0) in udpv6_sendmsg()
1442 ipc6.tclass = np->tclass; in udpv6_sendmsg()
1444 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in udpv6_sendmsg()
Dping.c117 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dicmp.c555 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
750 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in icmpv6_echo_reply()
Dndisc.c445 unsigned tclass; in ip6_nd_hdr() local
449 tclass = idev ? idev->cnf.ndisc_tclass : 0; in ip6_nd_hdr()
456 ip6_flow_hdr(hdr, tclass, 0); in ip6_nd_hdr()
/net/l2tp/
Dl2tp_ip6.c613 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg()
614 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg()
616 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in l2tp_ip6_sendmsg()
/net/sctp/
Dipv6.c199 __u8 tclass = np->tclass; in sctp_v6_xmit() local
206 tclass = transport->dscp & SCTP_DSCP_VAL_MASK; in sctp_v6_xmit()
208 if (INET_ECN_is_capable(tclass)) in sctp_v6_xmit()
218 tclass, sk->sk_priority); in sctp_v6_xmit()
793 inet6_sk(sk)->tclass |= INET_ECN_ECT_0; in sctp_v6_ecn_capable()
/net/ipv6/netfilter/
Dnf_reject_ipv6.c70 const __u8 tclass = DEFAULT_TOS_VALUE; in nf_reject_ip6hdr_put() local
75 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.c138 inet6_sk(sk)->tclass) < 0) in inet_diag_msg_attrs_fill()
/net/core/
Dethtool.c3009 if (v6_m_spec->tclass) { in ethtool_rx_flow_rule_create()
3010 match->key.ip.tos = v6_spec->tclass; in ethtool_rx_flow_rule_create()
3011 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()
Dfilter.c4330 np->tclass = val; in BPF_CALL_5()
4455 *((int *)optval) = (int)np->tclass; in BPF_CALL_5()
/net/dccp/
Dipv6.c233 err = ip6_xmit(sk, skb, &fl6, sk->sk_mark, opt, np->tclass, in dccp_v6_send_response()