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()
317 if (r->tclass && r->tclass != ip6_tclass(fl6->flowlabel)) in fib6_rule_match()
367 rule6->tclass = frh->tos; in fib6_rule_configure()
400 if (frh->tos && (rule6->tclass != frh->tos)) in fib6_rule_compare()
421 frh->tos = rule6->tclass; in fib6_rule_fill()
Ddatagram.c53 fl6->flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in ip6_datagram_flow_key_init()
611 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()
Dipv6_sockglue.c349 np->tclass = val; in do_ipv6_setsockopt()
1102 int tclass = (int)ip6_tclass(np->rcv_flowinfo); in do_ipv6_getsockopt() local
1104 put_cmsg(&msg, SOL_IPV6, IPV6_TCLASS, sizeof(tclass), &tclass); in do_ipv6_getsockopt()
1205 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()
Dtcp_ipv6.c267 fl6.flowlabel = ip6_make_flowinfo(np->tclass, np->flow_label); in tcp_v6_connect()
535 np->tclass, sk->sk_priority); in tcp_v6_send_synack()
826 u8 tclass, __be32 label, u32 priority) in tcp_v6_send_response() argument
930 ip6_xmit(ctl_sk, buff, &fl6, fl6.flowi6_mark, NULL, tclass, in tcp_v6_send_response()
1037 struct tcp_md5sig_key *key, u8 tclass, in tcp_v6_send_ack() argument
1041 tclass, label, priority); in tcp_v6_send_ack()
Dip6_output.c269 __u32 mark, struct ipv6_txoptions *opt, int tclass, u32 priority) in ip6_xmit() argument
323 ip6_flow_hdr(hdr, tclass, ip6_make_flowlabel(net, skb, fl6->flowlabel, in ip6_xmit()
1364 v6_cork->tclass = ipc6->tclass; in ip6_setup_cork()
1847 ip6_flow_hdr(hdr, v6_cork->tclass, in __ip6_make_skb()
Dudp.c1460 if (ipc6.tclass < 0) in udpv6_sendmsg()
1461 ipc6.tclass = np->tclass; in udpv6_sendmsg()
1463 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in udpv6_sendmsg()
Dping.c118 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in ping_v6_sendmsg()
Dicmp.c564 fl6.flowlabel = ip6_make_flowinfo(ipc6.tclass, fl6.flowlabel); in icmp6_send()
759 ipc6.tclass = ipv6_get_dsfield(ipv6_hdr(skb)); in icmpv6_echo_reply()
Dndisc.c447 unsigned tclass; in ip6_nd_hdr() local
451 tclass = idev ? idev->cnf.ndisc_tclass : 0; in ip6_nd_hdr()
458 ip6_flow_hdr(hdr, tclass, 0); in ip6_nd_hdr()
/net/l2tp/
Dl2tp_ip6.c625 if (ipc6.tclass < 0) in l2tp_ip6_sendmsg()
626 ipc6.tclass = np->tclass; in l2tp_ip6_sendmsg()
628 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()
806 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.c134 inet6_sk(sk)->tclass) < 0) in inet_diag_msg_attrs_fill()
/net/core/
Dethtool.c3011 if (v6_m_spec->tclass) { in ethtool_rx_flow_rule_create()
3012 match->key.ip.tos = v6_spec->tclass; in ethtool_rx_flow_rule_create()
3013 match->mask.ip.tos = v6_m_spec->tclass; in ethtool_rx_flow_rule_create()
Dfilter.c4362 np->tclass = val; in BPF_CALL_5()
4487 *((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()