| /net/shaper/ |
| A D | shaper.c | 116 if (handle->scope == NET_SHAPER_SCOPE_UNSPEC) in net_shaper_fill_handle() 124 (handle->scope >= NET_SHAPER_SCOPE_QUEUE && in net_shaper_fill_handle() 229 switch (handle->scope) { in net_shaper_default_parent() 233 parent->scope = NET_SHAPER_SCOPE_UNSPEC; in net_shaper_default_parent() 238 parent->scope = NET_SHAPER_SCOPE_NETDEV; in net_shaper_default_parent() 577 shaper->handle.scope); in net_shaper_validate_nesting() 1294 enum net_shaper_scope scope; in net_shaper_nl_cap_get_doit() local 1305 ops->capabilities(binding, scope, &flags); in net_shaper_nl_cap_get_doit() 1333 enum net_shaper_scope scope; in net_shaper_nl_cap_get_dumpit() local 1338 for (scope = 0; scope <= NET_SHAPER_SCOPE_MAX; ++scope) { in net_shaper_nl_cap_get_dumpit() [all …]
|
| /net/sctp/ |
| A D | bind_addr.c | 34 union sctp_addr *addr, enum sctp_scope scope, 45 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy() argument 56 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy() 460 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument 466 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr() 467 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr() 506 enum sctp_scope scope) in sctp_in_scope() argument 528 if (addr_scope <= scope) in sctp_in_scope() 532 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope() 536 if (addr_scope <= scope || SCTP_SCOPE_LINK == addr_scope) in sctp_in_scope() [all …]
|
| A D | associola.c | 55 enum sctp_scope scope, gfp_t gfp) in sctp_association_init() argument 288 enum sctp_scope scope, gfp_t gfp) in sctp_association_new() argument 296 if (!sctp_association_init(asoc, ep, sk, scope, gfp)) in sctp_association_new() 1555 enum sctp_scope scope, gfp_t gfp) in sctp_assoc_set_bind_addr_from_ep() argument 1574 scope, gfp, flags); in sctp_assoc_set_bind_addr_from_ep()
|
| A D | ipv6.c | 286 enum sctp_scope scope; in sctp_v6_get_dst() local 335 scope = sctp_scope(daddr); in sctp_v6_get_dst() 379 scope > sctp_scope(&laddr->a)) in sctp_v6_get_dst() 1149 .scope = sctp_v6_scope,
|
| A D | sm_make_chunk.c | 1625 enum sctp_scope scope; in sctp_make_temp_asoc() local 1629 scope = sctp_scope(sctp_source(chunk)); in sctp_make_temp_asoc() 1630 asoc = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_make_temp_asoc() 1744 enum sctp_scope scope; in sctp_unpack_cookie() local 1852 scope = sctp_scope(sctp_source(chunk)); in sctp_unpack_cookie() 1853 retval = sctp_association_new(ep, ep->base.sk, scope, gfp); in sctp_unpack_cookie() 2541 enum sctp_scope scope; in sctp_process_param() local 2566 scope = sctp_scope(peer_addr); in sctp_process_param() 2567 if (sctp_in_scope(net, &addr, scope)) in sctp_process_param()
|
| /net/netfilter/ |
| A D | nf_nat_redirect.c | 83 static bool nf_nat_redirect_ipv6_usable(const struct inet6_ifaddr *ifa, unsigned int scope) in nf_nat_redirect_ipv6_usable() argument 93 if (scope) { in nf_nat_redirect_ipv6_usable() 96 if (!(scope & ifa_scope)) in nf_nat_redirect_ipv6_usable() 112 unsigned int scope = ipv6_addr_scope(&ipv6_hdr(skb)->daddr); in nf_nat_redirect_ipv6() local 122 if (!nf_nat_redirect_ipv6_usable(ifa, scope)) in nf_nat_redirect_ipv6()
|
| /net/tipc/ |
| A D | addr.h | 53 signed char scope; member 64 static inline void tipc_uaddr(struct tipc_uaddr *ua, u32 atype, u32 scope, in tipc_uaddr() argument 69 ua->scope = scope; in tipc_uaddr()
|
| A D | name_table.c | 240 p->scope = ua->scope; in tipc_publ_create() 652 if (p->scope != ua->scope) in tipc_nametbl_lookup_group() 681 u8 scope = ua->scope; in tipc_nametbl_lookup_mcast_sockets() local 691 if (scope == p->scope || scope == TIPC_ANY_SCOPE) in tipc_nametbl_lookup_mcast_sockets() 747 if (p->scope != ua->scope) in tipc_nametbl_build_group() 1001 if (nla_put_u32(msg->skb, TIPC_NLA_PUBL_SCOPE, p->scope)) in __tipc_nl_add_nametable_publ()
|
| A D | group.c | 90 u32 scope; member 168 bool global = mreq->scope != TIPC_NODE_SCOPE; in tipc_group_create() 184 grp->scope = mreq->scope; in tipc_group_create() 364 int *scope) in tipc_group_self() argument 369 *scope = grp->scope; in tipc_group_self() 753 if (grp->scope == TIPC_NODE_SCOPE && node != tipc_own_addr(grp->net)) in tipc_group_proto_rcv() 941 if (grp->scope == TIPC_NODE_SCOPE) in tipc_group_fill_sock_diag() 945 if (grp->scope == TIPC_CLUSTER_SCOPE) in tipc_group_fill_sock_diag()
|
| A D | socket.c | 687 if (ua->scope < 0) { in __tipc_bind() 689 ua->scope = -ua->scope; in __tipc_bind() 693 ua->scope = TIPC_CLUSTER_SCOPE; in __tipc_bind() 765 addr->scope = 0; in tipc_getname() 1218 ua.scope = TIPC_ANY_SCOPE; in tipc_sk_mcast_rcv() 1703 srcaddr->sock.scope = 0; in tipc_sk_set_orig_addr() 1715 srcaddr->member.scope = 0; in tipc_sk_set_orig_addr() 2940 if (p->scope != ua->scope) in tipc_sk_withdraw() 3111 int scope; in tipc_sk_leave() local 3117 ua.scope = scope; in tipc_sk_leave() [all …]
|
| A D | subscr.c | 97 if (filter & TIPC_SUB_CLUSTER_SCOPE && p->scope == TIPC_NODE_SCOPE) in tipc_sub_report_overlap() 99 if (filter & TIPC_SUB_NODE_SCOPE && p->scope != TIPC_NODE_SCOPE) in tipc_sub_report_overlap()
|
| A D | name_distr.c | 94 if (p->scope == TIPC_NODE_SCOPE) { in tipc_named_publish() 127 if (p->scope == TIPC_NODE_SCOPE) in tipc_named_withdraw() 241 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, p->scope, p->sr.type, in tipc_publ_purge()
|
| A D | group.h | 55 int *scope);
|
| A D | name_table.h | 80 u16 scope; member
|
| A D | msg.c | 704 u32 scope = msg_lookup_scope(msg); in tipc_msg_lookup_dest() local 722 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, scope, in tipc_msg_lookup_dest() 724 sk.node = tipc_scope2node(net, scope); in tipc_msg_lookup_dest()
|
| /net/ipv4/ |
| A D | fib_semantics.c | 91 .scope = RT_SCOPE_NOWHERE, 95 .scope = RT_SCOPE_UNIVERSE, 99 .scope = RT_SCOPE_HOST, 103 .scope = RT_SCOPE_LINK, 107 .scope = RT_SCOPE_LINK, 111 .scope = RT_SCOPE_UNIVERSE, 115 .scope = RT_SCOPE_UNIVERSE, 131 .scope = RT_SCOPE_NOWHERE, 135 .scope = RT_SCOPE_NOWHERE, 1289 unsigned char scope) in fib_info_update_nhc_saddr() argument [all …]
|
| A D | arp.c | 399 int scope; in arp_ignore() local 406 scope = RT_SCOPE_HOST; in arp_ignore() 412 scope = RT_SCOPE_HOST; in arp_ignore() 416 scope = RT_SCOPE_LINK; in arp_ignore() 429 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore() 435 int scope = RT_SCOPE_LINK; in arp_accept() local 446 return !!inet_confirm_addr(net, in_dev, sip, 0, scope); in arp_accept()
|
| A D | devinet.c | 1345 int scope) in in_dev_select_addr() argument 1353 ifa->ifa_scope <= scope) in in_dev_select_addr() 1381 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr() 1404 addr = in_dev_select_addr(in_dev, scope); in inet_select_addr() 1421 addr = in_dev_select_addr(in_dev, scope); in inet_select_addr() 1432 __be32 local, int scope) in confirm_addr_indev() argument 1447 min_scope <= scope) { in confirm_addr_indev() 1462 if (min_scope <= scope) { in confirm_addr_indev() 1484 __be32 dst, __be32 local, int scope) in inet_confirm_addr() argument 1490 return confirm_addr_indev(in_dev, dst, local, scope); in inet_confirm_addr() [all …]
|
| A D | fib_frontend.c | 278 int scope; in fib_compute_spec_dst() local 289 scope = RT_SCOPE_UNIVERSE; in fib_compute_spec_dst() 297 .flowi4_scope = scope, in fib_compute_spec_dst() 303 scope = RT_SCOPE_LINK; in fib_compute_spec_dst() 306 return inet_select_addr(dev, ip_hdr(skb)->saddr, scope); in fib_compute_spec_dst() 1395 frn->scope = res.scope; in nl_fib_lookup()
|
| A D | fib_lookup.h | 58 u8 scope; member
|
| /net/ipv6/ |
| A D | addrconf_core.c | 20 #define IPV6_ADDR_SCOPE_TYPE(scope) ((scope) << 16) argument 22 static inline unsigned int ipv6_addr_scope2type(unsigned int scope) in ipv6_addr_scope2type() argument 24 switch (scope) { in ipv6_addr_scope2type() 35 return IPV6_ADDR_SCOPE_TYPE(scope); in ipv6_addr_scope2type()
|
| A D | addrconf.c | 1142 ifa->scope = cfg->scope; in ipv6_add_addr() 1538 int scope; member 1638 if (ret >= dst->scope) in ipv6_get_saddr_eval() 2189 .scope = ifp->scope, in addrconf_dad_failure() 3197 .scope = scope, in add_addr() 3218 int scope, plen; in add_v4_addrs() local 3235 scope = IFA_LINK; in add_v4_addrs() 3250 int flag = scope; in add_v4_addrs() 3299 .scope = IFA_LINK, in addrconf_add_linklocal() 4490 ifp->scope, in if6_seq_show() [all …]
|
| /net/core/ |
| A D | netdev-genl.c | 807 netdev_nl_qstats_get_dump_one(struct net_device *netdev, unsigned int scope, in netdev_nl_qstats_get_dump_one() argument 814 switch (scope) { in netdev_nl_qstats_get_dump_one() 832 unsigned int scope; in netdev_nl_qstats_get_dumpit() local 835 scope = 0; in netdev_nl_qstats_get_dumpit() 837 scope = nla_get_uint(info->attrs[NETDEV_A_QSTATS_SCOPE]); in netdev_nl_qstats_get_dumpit() 851 err = netdev_nl_qstats_get_dump_one(netdev, scope, skb, in netdev_nl_qstats_get_dumpit() 863 err = netdev_nl_qstats_get_dump_one(netdev, scope, skb, in netdev_nl_qstats_get_dumpit()
|
| /net/ |
| A D | Kconfig.debug | 38 mutex in every RTNL scope and slows down the operations.
|
| /net/x25/ |
| A D | Kconfig | 9 X.25 is a set of standardized network protocols, similar in scope to
|