/net/ipv6/ |
D | addrlabel.c | 37 u32 label; member 83 u32 label; member 87 .label = 1, 91 .label = 5, 95 .label = 11, 99 .label = 2, 103 .label = 12, 107 .label = 6, 111 .label = 7, 115 .label = 4, [all …]
|
D | ip6_flowlabel.c | 74 static inline struct ip6_flowlabel *__fl_lookup(struct net *net, __be32 label) in __fl_lookup() argument 78 for_each_fl_rcu(FL_HASH(label), fl) { in __fl_lookup() 79 if (fl->label == label && net_eq(fl->fl_net, net)) in __fl_lookup() 85 static struct ip6_flowlabel *fl_lookup(struct net *net, __be32 label) in fl_lookup() argument 90 fl = __fl_lookup(net, label); in fl_lookup() 196 struct ip6_flowlabel *fl, __be32 label) in fl_intern() argument 200 fl->label = label & IPV6_FLOWLABEL_MASK; in fl_intern() 203 if (label == 0) { in fl_intern() 205 fl->label = htonl(prandom_u32())&IPV6_FLOWLABEL_MASK; in fl_intern() 206 if (fl->label) { in fl_intern() [all …]
|
D | ip6_udp_tunnel.c | 76 __u8 prio, __u8 ttl, __be32 label, in udp_tunnel6_xmit_skb() argument 98 ip6_flow_hdr(ip6h, prio, label); in udp_tunnel6_xmit_skb()
|
D | tcp_ipv6.c | 761 u8 tclass, __be32 label) in tcp_v6_send_response() argument 823 fl6.flowlabel = label; in tcp_v6_send_response() 935 __be32 label) in tcp_v6_send_ack() argument 938 tclass, label); in tcp_v6_send_ack()
|
D | ip6_tunnel.c | 1259 fl6.flowlabel = key->label; in ip4ip6_tnl_xmit() 1260 dsfield = ip6_tclass(key->label); in ip4ip6_tnl_xmit() 1328 fl6.flowlabel = key->label; in ip6ip6_tnl_xmit() 1329 dsfield = ip6_tclass(key->label); in ip6ip6_tnl_xmit()
|
D | addrconf.c | 1346 int label; member 1454 score->ifa->idev->dev->ifindex) == dst->label; in ipv6_get_saddr_eval() 1617 dst.label = ipv6_addr_label(net, daddr, dst_type, dst.ifindex); in ipv6_dev_get_saddr()
|
/net/mpls/ |
D | internal.h | 6 u32 label; member 93 static inline struct mpls_shim_hdr mpls_entry_encode(u32 label, unsigned ttl, unsigned tc, bool bos) in mpls_entry_encode() argument 97 cpu_to_be32((label << MPLS_LS_LABEL_SHIFT) | in mpls_entry_encode() 109 result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT; in mpls_entry_decode() 118 const u32 label[]); 120 u32 label[]);
|
D | mpls_iptunnel.c | 107 hdr[i] = mpls_entry_encode(tun_encap_info->label[i], in mpls_xmit() 156 &tun_encap_info->labels, tun_encap_info->label); in mpls_build_state() 182 tun_encap_info->label)) in mpls_fill_encap_info() 210 if (a_hdr->label[l] != b_hdr->label[l]) in mpls_encap_cmp()
|
D | af_mpls.c | 36 static void rtmsg_lfib(int event, u32 label, struct mpls_route *rt, 124 if (likely(dec.label >= MPLS_LABEL_FIRST_UNRESERVED)) { in mpls_multipath_hash() 125 hash = jhash_1word(dec.label, hash); in mpls_multipath_hash() 135 } else if (dec.label == MPLS_LABEL_ENTROPY) { in mpls_multipath_hash() 284 rt = mpls_route_input_rcu(net, dec.label); in mpls_forward() 1111 u8 labels, const u32 label[]) in nla_put_labels() argument 1124 nla_label[i] = mpls_entry_encode(label[i], 0, 0, bos); in nla_put_labels() 1133 u32 max_labels, u8 *labels, u32 label[]) in nla_get_labels() argument 1162 switch (dec.label) { in nla_get_labels() 1171 label[i] = dec.label; in nla_get_labels() [all …]
|
/net/netfilter/ |
D | xt_IDLETIMER.c | 173 struct idletimer_tg *__idletimer_tg_find_by_label(const char *label) in __idletimer_tg_find_by_label() argument 177 BUG_ON(!label); in __idletimer_tg_find_by_label() 180 if (!strcmp(label, entry->attr.attr.name)) in __idletimer_tg_find_by_label() 291 info->timer->attr.attr.name = kstrdup(info->label, GFP_KERNEL); in idletimer_tg_create() 387 info->label, info->timeout); in idletimer_tg_target() 396 info->label, info->timer->timer.expires, now); in idletimer_tg_target() 409 pr_debug("checkentry targinfo %s\n", info->label); in idletimer_tg_checkentry() 419 if (info->label[0] == '\0' || in idletimer_tg_checkentry() 420 strnlen(info->label, in idletimer_tg_checkentry() 428 info->timer = __idletimer_tg_find_by_label(info->label); in idletimer_tg_checkentry() [all …]
|
D | Kconfig | 784 resets the timer associated with label specified when the rule is
|
/net/sctp/ |
D | objcnt.c | 85 seq_printf(seq, "%s: %d", sctp_dbg_objcnt[i].label, in sctp_objcnt_seq_show()
|
/net/openvswitch/ |
D | flow.h | 113 __be32 label; /* IPv6 flow label. */ member
|
D | flow.c | 275 key->ipv6.label = *(__be32 *)nh & htonl(IPV6_FLOWINFO_FLOWLABEL); in parse_ipv6hdr()
|
D | flow_netlink.c | 1155 SW_FLOW_KEY_PUT(match, ipv6.label, in ovs_key_from_nlattrs() 1634 ipv6_key->ipv6_label = output->ipv6.label; in __ovs_nla_put_key()
|
D | actions.c | 525 flow_key->ipv6.label = in set_ipv6()
|
/net/core/ |
D | filter.c | 2307 to->tunnel_label = be32_to_cpu(info->key.label); in BPF_CALL_4() 2416 info->key.label = cpu_to_be32(from->tunnel_label) & in BPF_CALL_4()
|