Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 5118) sorted by relevance

12345678910>>...205

/external/libnl/lib/route/
Dlink.c85 static struct rtnl_link_af_ops *af_lookup_and_alloc(struct rtnl_link *link, in af_lookup_and_alloc() argument
94 if (!rtnl_link_af_alloc(link, af_ops)) { in af_lookup_and_alloc()
102 static int af_free(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_free() argument
106 ops->ao_free(link, data); in af_free()
124 static int af_clone(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_clone() argument
136 static int af_fill(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill() argument
150 if ((err = ops->ao_fill_af(link, arg, data)) < 0) in af_fill()
159 static int af_fill_pi(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_fill_pi() argument
175 if ((err = ops->ao_fill_pi(link, arg, data)) < 0) in af_fill_pi()
183 static int af_dump_line(struct rtnl_link *link, struct rtnl_link_af_ops *ops, in af_dump_line() argument
[all …]
/external/libnl/tests/
Dcksuite-all-netns.c93 struct rtnl_link *link; in START_TEST() local
95 link = _nltst_cache_get_link(link_cache, links[i].ifname); in START_TEST()
96 ck_assert_ptr_nonnull(link); in START_TEST()
98 ck_assert_str_eq(rtnl_link_get_name(link), links[i].ifname); in START_TEST()
101 ck_assert_int_eq(rtnl_link_get_ifindex(link), 1); in START_TEST()
103 ck_assert_int_gt(rtnl_link_get_ifindex(link), 1); in START_TEST()
106 (struct nl_object *)link); in START_TEST()
109 _nltst_object_identical(link, link_clone); in START_TEST()
114 struct rtnl_link *link = (struct rtnl_link *)links_all[i]; in START_TEST() local
118 (struct nl_object *)link); in START_TEST()
[all …]
/external/libnl/lib/route/link/
Dipgre.c50 uint32_t link; member
71 static int ipgre_alloc(struct rtnl_link *link) in ipgre_alloc() argument
75 if (link->l_info) in ipgre_alloc()
76 memset(link->l_info, 0, sizeof(*ipgre)); in ipgre_alloc()
82 link->l_info = ipgre; in ipgre_alloc()
88 static int ipgre_parse(struct rtnl_link *link, struct nlattr *data, in ipgre_parse() argument
101 err = ipgre_alloc(link); in ipgre_parse()
105 ipgre = link->l_info; in ipgre_parse()
108 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse()
168 static int ipgre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipgre_put_attrs() argument
[all …]
Dip6tnl.c48 uint32_t link; member
69 static int ip6_tnl_alloc(struct rtnl_link *link) in ip6_tnl_alloc() argument
73 if (link->l_info) in ip6_tnl_alloc()
74 memset(link->l_info, 0, sizeof(*ip6_tnl)); in ip6_tnl_alloc()
80 link->l_info = ip6_tnl; in ip6_tnl_alloc()
86 static int ip6_tnl_parse(struct rtnl_link *link, struct nlattr *data, in ip6_tnl_parse() argument
99 err = ip6_tnl_alloc(link); in ip6_tnl_parse()
103 ip6_tnl = link->l_info; in ip6_tnl_parse()
106 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse()
161 static int ip6_tnl_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6_tnl_put_attrs() argument
[all …]
Dipip.c42 uint32_t link; member
59 static int ipip_alloc(struct rtnl_link *link) in ipip_alloc() argument
63 if (link->l_info) in ipip_alloc()
64 memset(link->l_info, 0, sizeof(*ipip)); in ipip_alloc()
70 link->l_info = ipip; in ipip_alloc()
76 static int ipip_parse(struct rtnl_link *link, struct nlattr *data, in ipip_parse() argument
89 err = ipip_alloc(link); in ipip_parse()
93 ipip = link->l_info; in ipip_parse()
96 ipip->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ipip_parse()
136 static int ipip_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipip_put_attrs() argument
[all …]
Dipvti.c38 uint32_t link; member
56 static int ipvti_alloc(struct rtnl_link *link) in ipvti_alloc() argument
60 if (link->l_info) in ipvti_alloc()
61 memset(link->l_info, 0, sizeof(*ipvti)); in ipvti_alloc()
67 link->l_info = ipvti; in ipvti_alloc()
73 static int ipvti_parse(struct rtnl_link *link, struct nlattr *data, in ipvti_parse() argument
86 err = ipvti_alloc(link); in ipvti_parse()
90 ipvti = link->l_info; in ipvti_parse()
93 ipvti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ipvti_parse()
128 static int ipvti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ipvti_put_attrs() argument
[all …]
Dip6vti.c35 uint32_t link; member
53 static int ip6vti_alloc(struct rtnl_link *link) in ip6vti_alloc() argument
57 if (link->l_info) in ip6vti_alloc()
58 memset(link->l_info, 0, sizeof(*ip6vti)); in ip6vti_alloc()
64 link->l_info = ip6vti; in ip6vti_alloc()
70 static int ip6vti_parse(struct rtnl_link *link, struct nlattr *data, in ip6vti_parse() argument
83 err = ip6vti_alloc(link); in ip6vti_parse()
87 ip6vti = link->l_info; in ip6vti_parse()
90 ip6vti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ip6vti_parse()
125 static int ip6vti_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6vti_put_attrs() argument
[all …]
Dip6gre.c47 uint32_t link; member
71 static int ip6gre_alloc(struct rtnl_link *link) in ip6gre_alloc() argument
75 if (link->l_info) in ip6gre_alloc()
76 memset(link->l_info, 0, sizeof(*ip6gre)); in ip6gre_alloc()
82 link->l_info = ip6gre; in ip6gre_alloc()
88 static int ip6gre_parse(struct rtnl_link *link, struct nlattr *data, in ip6gre_parse() argument
101 err = ip6gre_alloc(link); in ip6gre_parse()
105 ip6gre = link->l_info; in ip6gre_parse()
108 ip6gre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ip6gre_parse()
173 static int ip6gre_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in ip6gre_put_attrs() argument
[all …]
Dxfrmi.c36 uint32_t link; member
46 static int xfrmi_alloc(struct rtnl_link *link) in xfrmi_alloc() argument
50 if (link->l_info) in xfrmi_alloc()
51 memset(link->l_info, 0, sizeof(*xfrmi)); in xfrmi_alloc()
57 link->l_info = xfrmi; in xfrmi_alloc()
63 static int xfrmi_parse(struct rtnl_link *link, struct nlattr *data, in xfrmi_parse() argument
76 err = xfrmi_alloc(link); in xfrmi_parse()
80 xfrmi = link->l_info; in xfrmi_parse()
83 xfrmi->link = nla_get_u32(tb[IFLA_XFRM_LINK]); in xfrmi_parse()
95 static int xfrmi_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in xfrmi_put_attrs() argument
[all …]
Dsit.c50 uint32_t link; member
77 static int sit_alloc(struct rtnl_link *link) in sit_alloc() argument
81 if (link->l_info) in sit_alloc()
82 memset(link->l_info, 0, sizeof(*sit)); in sit_alloc()
88 link->l_info = sit; in sit_alloc()
94 static int sit_parse(struct rtnl_link *link, struct nlattr *data, in sit_parse() argument
107 err = sit_alloc(link); in sit_parse()
111 sit = link->l_info; in sit_parse()
114 sit->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in sit_parse()
185 static int sit_put_attrs(struct nl_msg *msg, struct rtnl_link *link) in sit_put_attrs() argument
[all …]
Dgeneve.c72 static int geneve_alloc(struct rtnl_link *link) in geneve_alloc() argument
76 if (link->l_info) in geneve_alloc()
77 memset(link->l_info, 0, sizeof(*geneve)); in geneve_alloc()
81 link->l_info = geneve; in geneve_alloc()
87 static int geneve_parse(struct rtnl_link *link, struct nlattr *data, in geneve_parse() argument
100 err = geneve_alloc(link); in geneve_parse()
104 geneve = link->l_info; in geneve_parse()
165 static void geneve_free(struct rtnl_link *link) in geneve_free() argument
167 struct geneve_info *geneve = link->l_info; in geneve_free()
170 link->l_info = NULL; in geneve_free()
[all …]
Dvxlan.c119 static int vxlan_alloc(struct rtnl_link *link) in vxlan_alloc() argument
123 if (link->l_info) in vxlan_alloc()
124 memset(link->l_info, 0, sizeof(*vxi)); in vxlan_alloc()
129 link->l_info = vxi; in vxlan_alloc()
135 static int vxlan_parse(struct rtnl_link *link, struct nlattr *data, in vxlan_parse() argument
147 if ((err = vxlan_alloc(link)) < 0) in vxlan_parse()
150 vxi = link->l_info; in vxlan_parse()
294 static void vxlan_free(struct rtnl_link *link) in vxlan_free() argument
296 struct vxlan_info *vxi = link->l_info; in vxlan_free()
299 link->l_info = NULL; in vxlan_free()
[all …]
Dmacsec.c91 static int macsec_alloc(struct rtnl_link *link) in macsec_alloc() argument
95 if (!link->l_info) { in macsec_alloc()
96 link->l_info = malloc(sizeof(struct macsec_info)); in macsec_alloc()
97 if (!link->l_info) in macsec_alloc()
101 memset(link->l_info, 0, sizeof(struct macsec_info)); in macsec_alloc()
102 info = link->l_info; in macsec_alloc()
111 static int macsec_parse(struct rtnl_link *link, struct nlattr *data, in macsec_parse() argument
123 if ((err = macsec_alloc(link)) < 0) in macsec_parse()
126 info = link->l_info; in macsec_parse()
198 static void macsec_free(struct rtnl_link *link) in macsec_free() argument
[all …]
Dcan.c74 static int can_alloc(struct rtnl_link *link) in can_alloc() argument
78 if (link->l_info) in can_alloc()
79 memset(link->l_info, 0, sizeof(*ci)); in can_alloc()
85 link->l_info = ci; in can_alloc()
91 static int can_parse(struct rtnl_link *link, struct nlattr *data, in can_parse() argument
103 if ((err = can_alloc(link)) < 0) in can_parse()
106 ci = link->l_info; in can_parse()
171 static void can_free(struct rtnl_link *link) in can_free() argument
173 struct can_info *ci = link->l_info; in can_free()
176 link->l_info = NULL; in can_free()
[all …]
Dmacvlan.c58 static int macvlan_alloc(struct rtnl_link *link) in macvlan_alloc() argument
63 if (link->l_info) { in macvlan_alloc()
64 mvi = link->l_info; in macvlan_alloc()
73 link->l_info = mvi; in macvlan_alloc()
80 static int macvlan_parse(struct rtnl_link *link, struct nlattr *data, in macvlan_parse() argument
89 NL_DBG(3, "Parsing %s link info", link->l_info_ops->io_name); in macvlan_parse()
94 if ((err = macvlan_alloc(link)) < 0) in macvlan_parse()
97 mvi = link->l_info; in macvlan_parse()
144 static void macvlan_free(struct rtnl_link *link) in macvlan_free() argument
149 mvi = link->l_info; in macvlan_free()
[all …]
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dq_in_q_veto.sh28 ip link set dev $swp1 up
29 ip link set dev $swp2 up
38 ip link set dev $swp2 down
39 ip link set dev $swp1 down
49 ip link add dev br0 type bridge vlan_filtering 1 \
52 ip link set dev br0 up
53 ip link set dev $swp1 master br0
55 ip link add name br0.100 link br0 type vlan \
59 ip link add name br0.100 link br0 type vlan \
66 ip link del dev br0
[all …]
Drtnetlink.sh49 ip link set dev $swp1 up
50 ip link set dev $swp2 up
57 ip link set dev $swp2 down
58 ip link set dev $swp1 down
67 ip link add name vrf-test type vrf table 10
68 ip link set dev $swp1 master vrf-test
77 ip link del dev vrf-test
91 ip link add name br1 up type bridge vlan_filtering 0
92 ip link set dev br1 addr $swp2_mac
93 ip link set dev $swp2 master br1
[all …]
Dextack.sh22 ip link set dev $swp1 up
23 ip link set dev $swp2 up
30 ip link set dev $swp2 down
31 ip link set dev $swp1 down
38 ip link add name br1 up type bridge vlan_filtering 0 mcast_snooping 0
39 ip link add name vx1 up type vxlan id 1000 \
43 ip link set dev vx1 master br1
46 ip link set dev $swp1 master br1
49 ip link add name br2 up type bridge vlan_filtering 0 mcast_snooping 0
50 ip link add name vx2 up type vxlan id 2000 \
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/docs/Status/
DCxx17Issues.csv2 "`2016 <https://wg21.link/LWG2016>`__","Allocators must be no-throw swappable","Urbana","|Complete|…
3 "`2118 <https://wg21.link/LWG2376>`__","``unique_ptr``\ for array does not support cv qualificatio…
4 "`2170 <https://wg21.link/LWG2170>`__","Aggregates cannot be ``DefaultConstructible``\ ","Urbana","…
5 "`2308 <https://wg21.link/LWG2308>`__","Clarify container destructor requirements w.r.t. ``std::arr…
6 "`2340 <https://wg21.link/LWG2340>`__","Replacement allocation functions declared as inline","Urban…
7 "`2354 <https://wg21.link/LWG2354>`__","Unnecessary copying when inserting into maps with braced-in…
8 "`2377 <https://wg21.link/LWG2377>`__","``std::align``\ requirements overly strict","Urbana","|Com…
9 "`2396 <https://wg21.link/LWG2396>`__","``underlying_type``\ doesn't say what to do for an incompl…
10 "`2399 <https://wg21.link/LWG2399>`__","``shared_ptr``\ 's constructor from ``unique_ptr``\ should…
11 "`2400 <https://wg21.link/LWG2400>`__","``shared_ptr``\ 's ``get_deleter()``\ should use ``address…
[all …]
DCxx2bIssues.csv2 "`2839 <https://wg21.link/LWG2839>`__","Self-move-assignment of library types, again","November 202…
3 "`3117 <https://wg21.link/LWG3117>`__","Missing ``packaged_task`` deduction guides","November 2020"…
4 "`3143 <https://wg21.link/LWG3143>`__","``monotonic_buffer_resource`` growth policy is unclear","No…
5 "`3195 <https://wg21.link/LWG3195>`__","What is the stored pointer value of an empty ``weak_ptr``?"…
6 "`3211 <https://wg21.link/LWG3211>`__","``std::tuple<>`` should be trivially constructible","Novemb…
7 "`3236 <https://wg21.link/LWG3236>`__","Random access iterator requirements lack limiting relationa…
8 …ps://wg21.link/LWG3265>`__","``move_iterator``'s conversions are more broken after P1207","Novembe…
9 "`3435 <https://wg21.link/LWG3435>`__","``three_way_comparable_with<reverse_iterator<int*>, reverse…
10 "`3432 <https://wg21.link/LWG3432>`__","Missing requirement for ``comparison_category``","November …
11 "`3447 <https://wg21.link/LWG3447>`__","Deduction guides for ``take_view`` and ``drop_view`` have d…
[all …]
DCxx14Issues.csv2 "`1214 <https://wg21.link/lwg1214>`__","Insufficient/inconsistent key immutability requirements for…
3 "`2009 <https://wg21.link/lwg2009>`__","Reporting out-of-bound values on numeric string conversions…
4 "`2010 <https://wg21.link/lwg2010>`__","``is_*``\ traits for binding operations can't be meaningfu…
5 "`2015 <https://wg21.link/lwg2015>`__","Incorrect pre-conditions for some type traits","Kona","|Com…
6 "`2021 <https://wg21.link/lwg2021>`__","Further incorrect usages of result_of","Kona","|Complete|"
7 "`2028 <https://wg21.link/lwg2028>`__","messages_base::catalog overspecified","Kona","|Complete|"
8 "`2033 <https://wg21.link/lwg2033>`__","Preconditions of reserve, shrink_to_fit, and resize functio…
9 "`2039 <https://wg21.link/lwg2039>`__","Issues with std::reverse and std::copy_if","Kona","|Complet…
10 "`2044 <https://wg21.link/lwg2044>`__","No definition of ""Stable"" for copy algorithms","Kona","|C…
11 "`2045 <https://wg21.link/lwg2045>`__","forward_list::merge and forward_list::splice_after with une…
[all …]
DCxx20Issues.csv2 …/wg21.link/LWG2070>`__","``allocate_shared``\ should use ``allocator_traits<A>::construct``\ ","T…
3 "`2444 <https://wg21.link/LWG2444>`__","Inconsistent complexity for ``std::sort_heap``\ ","Toronto"…
4 "`2593 <https://wg21.link/LWG2593>`__","Moved-from state of Allocators","Toronto","",""
5 "`2597 <https://wg21.link/LWG2597>`__","``std::log``\ misspecified for complex numbers","Toronto",…
6 "`2783 <https://wg21.link/LWG2783>`__","``stack::emplace()``\ and ``queue::emplace()``\ should re…
7 "`2932 <https://wg21.link/LWG2932>`__","Constraints on parallel algorithm implementations are under…
8 "`2937 <https://wg21.link/LWG2937>`__","Is ``equivalent(""existing_thing"", ""not_existing_thing"")…
9 "`2940 <https://wg21.link/LWG2940>`__","``result_of``\ specification also needs a little cleanup",…
10 "`2942 <https://wg21.link/LWG2942>`__","LWG 2873's resolution missed ``weak_ptr::owner_before``\ ",…
11 "`2954 <https://wg21.link/LWG2954>`__","Specialization of the convenience variable templates should…
[all …]
DCxx2bPapers.csv2 "`P0881R7 <https://wg21.link/P0881R7>`__","LWG","A Proposal to add stacktrace library","Autumn 2020…
3 "`P0943R6 <https://wg21.link/P0943R6>`__","LWG","Support C atomics in C++","Autumn 2020","|Complete…
4 "`P1048R1 <https://wg21.link/P1048R1>`__","LWG","A proposal for a type trait to detect scoped enume…
5 "`P1679R3 <https://wg21.link/P1679R3>`__","LWG","string contains function","Autumn 2020","|Complete…
7 "`P1682R3 <https://wg21.link/P1682R3>`__","LWG","std::to_underlying for enumerations","February 202…
8 "`P2017R1 <https://wg21.link/P2017R1>`__","LWG","Conditionally borrowed ranges","February 2021","",…
9 "`P2160R1 <https://wg21.link/P2160R1>`__","LWG","Locks lock lockables","February 2021","",""
10 "`P2162R2 <https://wg21.link/P2162R2>`__","LWG","Inheriting from std::variant","February 2021","|Co…
11 "`P2212R2 <https://wg21.link/P2212R2>`__","LWG","Relax Requirements for time_point::clock","Februar…
12 "`P2259R1 <https://wg21.link/P2259R1>`__","LWG","Repairing input range adaptors and counted_iterato…
[all …]
DCxx20Papers.csv2 "`P0463R1 <https://wg21.link/P0463R1>`__","LWG","Endian just Endian","Toronto","|Complete|","7.0"
3 "`P0674R1 <https://wg21.link/P0674R1>`__","LWG","Extending make_shared to Support Arrays","Toronto"…
5 "`P0020R6 <https://wg21.link/P0020R6>`__","LWG","Floating Point Atomic","Albuquerque","",""
6 "`P0053R7 <https://wg21.link/P0053R7>`__","LWG","C++ Synchronized Buffered Ostream","Albuquerque","…
7 "`P0202R3 <https://wg21.link/P0202R3>`__","LWG","Add constexpr modifiers to functions in <algorithm…
8 "`P0415R1 <https://wg21.link/P0415R1>`__","LWG","Constexpr for ``std::complex``\ ","Albuquerque","|…
9 "`P0439R0 <https://wg21.link/P0439R0>`__","LWG","Make ``std::memory_order``\ a scoped enumeration"…
10 "`P0457R2 <https://wg21.link/P0457R2>`__","LWG","String Prefix and Suffix Checking","Albuquerque","…
11 "`P0550R2 <https://wg21.link/P0550R2>`__","LWG","Transformation Trait ``remove_cvref``\ ","Albuquer…
12 "`P0600R1 <https://wg21.link/P0600R1>`__","LWG","nodiscard in the Library","Albuquerque","|Complete…
[all …]
/external/libnl/include/netlink/route/link/
Dsit.h19 extern int rtnl_link_is_sit(struct rtnl_link *link);
21 extern int rtnl_link_sit_set_link(struct rtnl_link *link, uint32_t index);
22 extern uint32_t rtnl_link_sit_get_link(struct rtnl_link *link);
24 extern int rtnl_link_sit_set_local(struct rtnl_link *link, uint32_t addr);
25 extern uint32_t rtnl_link_sit_get_local(struct rtnl_link *link);
27 extern int rtnl_link_sit_set_remote(struct rtnl_link *link, uint32_t addr);
28 extern uint32_t rtnl_link_sit_get_remote(struct rtnl_link *link);
30 extern int rtnl_link_sit_set_ttl(struct rtnl_link *link, uint8_t ttl);
31 extern uint8_t rtnl_link_sit_get_ttl(struct rtnl_link *link);
33 extern int rtnl_link_sit_set_tos(struct rtnl_link *link, uint8_t tos);
[all …]

12345678910>>...205