Home
last modified time | relevance | path

Searched refs:flowlabel (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/net/ipv6/
Ddatagram.c49 struct ip6_flowlabel *flowlabel = NULL; in ip6_datagram_connect() local
69 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in ip6_datagram_connect()
70 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in ip6_datagram_connect()
71 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in ip6_datagram_connect()
72 if (flowlabel == NULL) in ip6_datagram_connect()
74 usin->sin6_addr = flowlabel->dst; in ip6_datagram_connect()
147 np->flow_label = fl6.flowlabel; in ip6_datagram_connect()
169 opt = flowlabel ? flowlabel->opt : np->opt; in ip6_datagram_connect()
202 fl6_sock_release(flowlabel); in ip6_datagram_connect()
683 if (fl6->flowlabel&IPV6_FLOWINFO_MASK) { in datagram_send_ctl()
[all …]
Draw.c735 struct ip6_flowlabel *flowlabel = NULL; in rawv6_sendmsg() local
782 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in rawv6_sendmsg()
783 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in rawv6_sendmsg()
784 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
785 if (flowlabel == NULL) in rawv6_sendmsg()
787 daddr = &flowlabel->dst; in rawv6_sendmsg()
809 fl6.flowlabel = np->flow_label; in rawv6_sendmsg()
823 fl6_sock_release(flowlabel); in rawv6_sendmsg()
826 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in rawv6_sendmsg()
827 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in rawv6_sendmsg()
[all …]
Dudp.c960 struct ip6_flowlabel *flowlabel = NULL; in udpv6_sendmsg() local
1054 fl6.flowlabel = sin6->sin6_flowinfo&IPV6_FLOWINFO_MASK; in udpv6_sendmsg()
1055 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in udpv6_sendmsg()
1056 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
1057 if (flowlabel == NULL) in udpv6_sendmsg()
1059 daddr = &flowlabel->dst; in udpv6_sendmsg()
1081 fl6.flowlabel = np->flow_label; in udpv6_sendmsg()
1101 fl6_sock_release(flowlabel); in udpv6_sendmsg()
1104 if ((fl6.flowlabel&IPV6_FLOWLABEL_MASK) && !flowlabel) { in udpv6_sendmsg()
1105 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in udpv6_sendmsg()
[all …]
Dinet6_connection_sock.c220 fl6.flowlabel = np->flow_label; in inet6_csk_xmit()
221 IP6_ECN_flow_xmit(sk, fl6.flowlabel); in inet6_csk_xmit()
Dip6_tunnel.c978 *(__be32*)ipv6h = fl6->flowlabel | htonl(0x60000000); in ip6_tnl_xmit2()
1033 fl6.flowlabel |= htonl((__u32)iph->tos << IPV6_TCLASS_SHIFT) in ip4ip6_tnl_xmit()
1084 fl6.flowlabel |= (*(__be32 *) ipv6h & IPV6_TCLASS_MASK); in ip6ip6_tnl_xmit()
1086 fl6.flowlabel |= (*(__be32 *) ipv6h & IPV6_FLOWLABEL_MASK); in ip6ip6_tnl_xmit()
1162 fl6->flowlabel = 0; in ip6_tnl_link_config()
1165 fl6->flowlabel |= IPV6_TCLASS_MASK & p->flowinfo; in ip6_tnl_link_config()
1167 fl6->flowlabel |= IPV6_FLOWLABEL_MASK & p->flowinfo; in ip6_tnl_link_config()
Dtcp_ipv6.c150 fl6.flowlabel = usin->sin6_flowinfo&IPV6_FLOWINFO_MASK; in tcp_v6_connect()
151 IP6_ECN_flow_init(fl6.flowlabel); in tcp_v6_connect()
152 if (fl6.flowlabel&IPV6_FLOWLABEL_MASK) { in tcp_v6_connect()
153 struct ip6_flowlabel *flowlabel; in tcp_v6_connect() local
154 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in tcp_v6_connect()
155 if (flowlabel == NULL) in tcp_v6_connect()
157 usin->sin6_addr = flowlabel->dst; in tcp_v6_connect()
158 fl6_sock_release(flowlabel); in tcp_v6_connect()
200 np->flow_label = fl6.flowlabel; in tcp_v6_connect()
494 fl6.flowlabel = 0; in tcp_v6_send_synack()
Dfib6_rules.c139 if (r->tclass && r->tclass != ((ntohl(fl6->flowlabel) >> 20) & 0xff)) in fib6_rule_match()
Dip6_output.c235 *(__be32 *)hdr = htonl(0x60000000 | (tclass << 20)) | fl6->flowlabel; in ip6_xmit()
1643 *(__be32*)hdr = fl6->flowlabel | in ip6_push_pending_frames()
Daf_inet6.c665 fl6.flowlabel = np->flow_label; in inet6_sk_rebuild_header()
Droute.c922 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in ip6_route_input()
/linux-3.4.99/net/ipv6/netfilter/
Dip6table_mangle.c39 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
58 flowlabel = *((u_int32_t *)ipv6_hdr(skb)); in ip6t_mangle_out()
68 flowlabel != *((u_int32_t *)ipv6_hdr(skb)))) in ip6t_mangle_out()
Dip6t_rpfilter.c36 .flowlabel = (* (__be32 *) iph) & IPV6_FLOWINFO_MASK, in rpfilter_lookup_reverse6()
/linux-3.4.99/net/dccp/
Dipv6.c250 fl6.flowlabel = 0; in dccp_v6_send_response()
876 fl6.flowlabel = usin->sin6_flowinfo & IPV6_FLOWINFO_MASK; in dccp_v6_connect()
877 IP6_ECN_flow_init(fl6.flowlabel); in dccp_v6_connect()
878 if (fl6.flowlabel & IPV6_FLOWLABEL_MASK) { in dccp_v6_connect()
879 struct ip6_flowlabel *flowlabel; in dccp_v6_connect() local
880 flowlabel = fl6_sock_lookup(sk, fl6.flowlabel); in dccp_v6_connect()
881 if (flowlabel == NULL) in dccp_v6_connect()
883 usin->sin6_addr = flowlabel->dst; in dccp_v6_connect()
884 fl6_sock_release(flowlabel); in dccp_v6_connect()
917 np->flow_label = fl6.flowlabel; in dccp_v6_connect()
/linux-3.4.99/include/net/
Dflow.h120 __be32 flowlabel; member
/linux-3.4.99/net/netfilter/
Dxt_TEE.c152 fl6.flowlabel = ((iph->flow_lbl[0] & 0xF) << 16) | in tee_tg_route6()
/linux-3.4.99/net/sctp/
Dipv6.c218 IP6_ECN_flow_xmit(sk, fl6->flowlabel); in sctp_v6_xmit()